Use postshrinkwrap instead of postinstall
`postinstall` is executed before package-lock.json is written to disk. https://github.com/npm/npm/issues/18798
This commit is contained in:
parent
165ca8d3fc
commit
b3dab3200f
@ -8,7 +8,7 @@
|
||||
},
|
||||
"scripts": {
|
||||
"install-all": "./scripts/every-app.sh \"npm install\"",
|
||||
"postinstall": "node scripts/fix-package-lock.js &>/dev/null || true",
|
||||
"postshrinkwrap": "node scripts/fix-package-lock.js &>/dev/null || true",
|
||||
"build-json": "npm run compile-contracts && node ./scripts/build-json.js",
|
||||
"repl": "truffle exec scripts/repl.js",
|
||||
"seeds": "truffle exec scripts/seeds.js",
|
||||
|
Loading…
x
Reference in New Issue
Block a user