Skip to content

Commit 66e52ed

Browse files
committed
use prepack to build packages
1 parent 43cdab3 commit 66e52ed

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@
1414
"access": "public"
1515
},
1616
"scripts": {
17-
"prepare": "npm run build",
18-
"postinstall": "npm run postinstall:build",
19-
"postinstall:build": "if [ ! -f ts-built/index.js ]; then npm run build; fi",
17+
"prepack": "npm run build",
2018
"build": "rollup -c",
2119
"test": "NODE_OPTIONS=--experimental-vm-modules jest ./lib/* ./tests/*",
2220
"lint": "eslint . --ext .ts",

0 commit comments

Comments
 (0)