Skip to content

Commit 9c6871a

Browse files
committed
add a workaround of a strange npx bug on postinstall, fix #551
1 parent db3c19e commit 9c6871a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"promises-tests": "promises-aplus-tests tests/promises-aplus/adapter",
3939
"observables-tests": "node tests/observables/adapter && node tests/observables/adapter-library",
4040
"test": "npm run grunt clean copy && npm run lint && npm run grunt livescript client karma:default && npm run grunt library karma:library && npm run promises-tests && npm run observables-tests && lsc tests/commonjs",
41-
"postinstall": "node scripts/postinstall"
41+
"postinstall": "node -e \"try { require('./scripts/postinstall'); } catch (e) { /* empty */ }\""
4242
},
4343
"license": "MIT",
4444
"keywords": [

0 commit comments

Comments
 (0)