-
Notifications
You must be signed in to change notification settings - Fork 52
Expand file tree
/
Copy pathpackage.json
More file actions
104 lines (104 loc) · 2.83 KB
/
Copy pathpackage.json
File metadata and controls
104 lines (104 loc) · 2.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"name": "geometric",
"version": "3.0.7",
"description": "A JavaScript library with geometric functions.",
"type": "module",
"main": "./build/geometric.cjs",
"module": "./build/geometric.js",
"unpkg": "./build/geometric.min.js",
"jsdelivr": "./build/geometric.min.js",
"types": "./build/index.d.ts",
"exports": {
".": {
"types": "./build/index.d.ts",
"import": "./build/geometric.js",
"require": "./build/geometric.cjs",
"default": "./build/geometric.js"
}
},
"files": [
"build/",
"img/logo.svg"
],
"pnpm": {
"overrides": {
"serialize-javascript": "^7.0.5"
}
},
"packageManager": "pnpm@10.18.3",
"scripts": {
"clean": "rm -rf build",
"generate:api": "node scripts/generate-api.js",
"build:api": "node scripts/generate-api.js --out build/api.generated.js",
"build:js": "rollup -c",
"build:types": "tsc -p tsconfig.build.json",
"build": "pnpm run clean && pnpm run build:js && pnpm run build:types && pnpm run build:api",
"format": "prettier . --write",
"format:check": "prettier . --check",
"lint": "eslint . --max-warnings=0",
"test:runtime": "mocha 'test/**/*-test.js'",
"test:types": "tsc -p test/tsconfig.json --noEmit",
"test": "pnpm run build && pnpm run test:runtime && pnpm run test:types",
"release": "semantic-release"
},
"devDependencies": {
"@eslint/js": "^9.36.0",
"@rollup/plugin-terser": "^1.0.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^11.0.1",
"@semantic-release/npm": "^12.0.2",
"eslint": "^9.36.0",
"globals": "^16.4.0",
"mocha": "^11.0.1",
"prettier": "^3.6.2",
"rollup": "^4.30.1",
"semantic-release": "^24.2.3",
"typescript": "^5.7.3"
},
"repository": {
"type": "git",
"url": "git+https://github.com/HarryStevens/geometric.git"
},
"keywords": [
"geometry"
],
"author": {
"name": "Harry Stevens",
"email": "harryjosephstevens@gmail.com",
"url": "http://harryjstevens.com/"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/HarryStevens/geometric/issues"
},
"homepage": "https://harryjstevens.com/geometric/",
"release": {
"branches": [
"main"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md"
}
],
"@semantic-release/npm",
"@semantic-release/github",
[
"@semantic-release/git",
{
"assets": [
"CHANGELOG.md",
"package.json",
"pnpm-lock.yaml"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\\n\\n${nextRelease.notes}"
}
]
]
}
}