Skip to content

Commit fe31480

Browse files
committed
npm: split build scripts
1 parent f97200f commit fe31480

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@
4141
"typescript": "^5.9.3"
4242
},
4343
"scripts": {
44-
"prepack": "rimraf ./dist && tsc --outDir dist --declaration --declarationDir dist",
44+
"build": "rimraf ./dist && npm run compile",
45+
"compile": "tsc --outDir dist --declaration --declarationDir dist",
46+
"prepack": "npm run build",
4547
"pretest": "prettier --check .",
4648
"test": "jest --ci",
4749
"test:watch": "jest --watch --notify",

0 commit comments

Comments
 (0)