Add postinstall lockfile fix

https://github.com/67P/kredits-contracts/pull/140
This commit is contained in:
Basti 2019-06-17 18:58:31 +02:00
parent 42ef48b34d
commit 165ca8d3fc
No known key found for this signature in database
GPG Key ID: BE4634D632D39B67

View File

@ -8,6 +8,7 @@
}, },
"scripts": { "scripts": {
"install-all": "./scripts/every-app.sh \"npm install\"", "install-all": "./scripts/every-app.sh \"npm install\"",
"postinstall": "node scripts/fix-package-lock.js &>/dev/null || true",
"build-json": "npm run compile-contracts && node ./scripts/build-json.js", "build-json": "npm run compile-contracts && node ./scripts/build-json.js",
"repl": "truffle exec scripts/repl.js", "repl": "truffle exec scripts/repl.js",
"seeds": "truffle exec scripts/seeds.js", "seeds": "truffle exec scripts/seeds.js",