Skip to content

Commit 6978a90

Browse files
committed
Fix package running the post script
1 parent 6c03dcd commit 6978a90

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@
3131
"test-single": "env-cmd -f ./my.test.env mocha --require ./tests/hooks.js --exit ./tests/$TEST.test.js",
3232
"test-ci": "env-cmd -f ./tests/ci.test.env nyc --reporter=lcov --reporter=text-summary mocha --require ./tests/hooks.js --exit ./tests/*.test.js",
3333
"env": "env",
34-
"postinstall": "webpack --mode production --config webpack/webpack.config.js && npm run-script generate-keys",
35-
"bundle": "webpack --mode production --config webpack/webpack.config.js && npm run-script generate-keys",
36-
"bundle-dev": "webpack --mode development --config webpack/webpack.config.js && npm run-script generate-keys",
34+
"postinstall": "webpack --mode production --config webpack/webpack.config.js && npm run-script post-generate-keys",
35+
"bundle": "webpack --mode production --config webpack/webpack.config.js && npm run-script post-generate-keys",
36+
"bundle-dev": "webpack --mode development --config webpack/webpack.config.js && npm run-script post-generate-keys",
3737
"bundle-analyzer": "webpack --mode development --config webpack/webpack.config.js --profile --json > stats.json && webpack-bundle-analyzer stats.json",
3838
"post-generate-keys": "node bin/generateRandomString.js >node_modules/.cache/_ns_cache/randomString",
3939
"coverage": "cat ./coverage/lcov.info | env-cmd -f ./tests/ci.test.env codacy-coverage || echo NO COVERAGE",

0 commit comments

Comments
 (0)