Skip to content

Commit 7cfbd33

Browse files
committed
build: harden npm package metadata and validation
1 parent 45b43b5 commit 7cfbd33

1 file changed

Lines changed: 19 additions & 2 deletions

File tree

package.json

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
{
22
"name": "beforecode",
33
"version": "0.1.0",
4-
"description": "Spec-first project planning toolkit for humans and AI coding agents.",
4+
"description": "Spec-first project planning toolkit and CLI for humans and AI coding agents.",
55
"type": "module",
66
"bin": {
77
"beforecode": "./bin/beforecode.js"
88
},
99
"scripts": {
1010
"cli": "node ./bin/beforecode.js",
1111
"test": "node --test",
12-
"test:cli": "node ./bin/beforecode.js help && node ./bin/beforecode.js list"
12+
"test:cli": "node ./bin/beforecode.js help && node ./bin/beforecode.js list",
13+
"pack:check": "npm pack --dry-run",
14+
"verify:package": "node ./scripts/verify-package.js",
15+
"prepublishOnly": "npm test && npm run verify:package"
1316
},
1417
"files": [
1518
"bin",
@@ -27,12 +30,26 @@
2730
"project-planning",
2831
"software-architecture",
2932
"ai-coding",
33+
"spec-driven-development",
34+
"requirements",
3035
"qa",
3136
"cli"
3237
],
3338
"author": "Mohit Kumar",
3439
"license": "MIT",
40+
"repository": {
41+
"type": "git",
42+
"url": "git+https://github.com/BAKUGOS1/beforecode.git"
43+
},
44+
"homepage": "https://github.com/BAKUGOS1/beforecode#readme",
45+
"bugs": {
46+
"url": "https://github.com/BAKUGOS1/beforecode/issues"
47+
},
3548
"engines": {
3649
"node": ">=18.0.0"
50+
},
51+
"publishConfig": {
52+
"access": "public",
53+
"provenance": true
3754
}
3855
}

0 commit comments

Comments
 (0)