From 97580e857377902ba60f1254030ee92d9a849207 Mon Sep 17 00:00:00 2001 From: "Wouter M. van Vliet wouter@interpotential.com" Date: Mon, 23 Jul 2018 14:56:12 +0200 Subject: [PATCH] bugfix: Oops, postinstall was not meant for users of the package --- package.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 1b9838b..c7f3648 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "scripts": { "clean": "rimraf ./docs/dist ./lib", "lint": "eslint . --fix && echo \"eslint: no lint errors\"", - "test": "npm run lint && npm run test:unit && npm run test:3 && npm run flow", + "test": "(cd ./test/webpack3; yarn install) && npm run lint && npm run test:unit && npm run test:3 && npm run flow", "test:unit": "NODE_ENV=test mocha src/{,**/}*.spec.js", "test:watch": "NODE_ENV=test mocha src/{,**/}*.spec.js -w", "test:3": "NODE_ENV=test mocha test/webpack3/index.js", @@ -20,8 +20,7 @@ "build": "babel src --out-dir lib", "version": "yarn build && pkgfiles", "docs:development": "babel-node ./node_modules/.bin/webpack-dev-server --mode=development --config=docs/webpack/developmentConfig.js --progress", - "docs:production": "npm run clean && NODE_ENV=docs-browser-production babel-node ./node_modules/.bin/webpack --mode=production --config=docs/webpack/productionConfig.js --progress", - "postinstall": "(cd ./test/webpack3; yarn install)" + "docs:production": "npm run clean && NODE_ENV=docs-browser-production babel-node ./node_modules/.bin/webpack --mode=production --config=docs/webpack/productionConfig.js --progress" }, "repository": { "type": "git",