diff --git a/package.json b/package.json index 548e269dc0..1706b61e4f 100644 --- a/package.json +++ b/package.json @@ -15,8 +15,7 @@ "build": "webpack-cli --config ./webpack/node/core.webpack.config.js", "build-web": "webpack-cli --config ./webpack/web-experimental/core.webpack.config.js", "format": "prettier --write \"{lib,perf,test}/**/*.js\" && eslint --fix --ignore-path .gitignore .", - "prepublishOnly": "npm run test && npm run build && npm run test-build && cp npm-shrinkwrap.json npm-shrinkwrap.json.bak && rm -rf node_modules/web3-providers-ws/node_modules/websocket/.git && npm prune --production && npm shrinkwrap", - "postpublish": "rm npm-shrinkwrap.json && mv npm-shrinkwrap.json.bak npm-shrinkwrap.json && npm ci", + "prepublishOnly": "npm run test && npm run build && npm run test-build", "test": "npm run _lint && npm run _mocha", "test-smoke": "npm run _mocha ./test/smoke", "test-build": "cross-env TEST_BUILD=node npm run _mocha",