There was an error while loading. Please reload this page.
2 parents 4ca9daa + 8de938e commit 70cbcd0Copy full SHA for 70cbcd0
1 file changed
package.json
@@ -11,7 +11,9 @@
11
},
12
"types": "ts-built/index.d.ts",
13
"scripts": {
14
- "postinstall": "npm run build",
+ "prepare": "npm run build",
15
+ "postinstall": "npm run postinstall:build",
16
+ "postinstall:build": "if [ ! -f ts-built/index.js ]; then npm run build; fi",
17
"build": "rollup -c",
18
"test": "NODE_OPTIONS=--experimental-vm-modules jest ./lib/* ./tests/*",
19
"lint": "eslint . --ext .ts",
0 commit comments