From b3beea9bb365ede118e901ac803ba5278dc3dcc4 Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Sun, 20 Sep 2015 15:25:03 -0700 Subject: [PATCH] Fix npm scripts --- CONTRIBUTING.md | 2 +- package.json | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a867ca02..2d8b8aa4 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -70,7 +70,7 @@ Development commands: * `npm run build` – build the library * `npm run dev` – start the dev server and develop against live examples * `npm run lint` – run the linter -* `npm run specs:watch` – run and watch the unit tests +* `npm run test:specs` – run and watch the unit tests Please follow this process for submitting a patch: diff --git a/package.json b/package.json index 5ca188fa..215d66f5 100644 --- a/package.json +++ b/package.json @@ -7,12 +7,12 @@ "dist" ], "scripts": { - "build": "rm -rf ./dist && NODE_ENV=publish webpack --config config/webpack.config.publish.js --sort-assets-by --progress", + "build": "rm -rf ./dist && webpack --config config/webpack.config.publish.js --sort-assets-by --progress", "dev": "webpack-dev-server --config config/webpack.config.example.js --inline --colors --quiet", "lint": "eslint config src", - "prepublish": "npm run build", - "specs": "NODE_ENV=test karma start config/karma.config.js", - "specs:watch": "npm run specs -- --no-single-run", + "prepublish": "NODE_ENV=publish npm run build", + "test:specs": "NODE_ENV=test karma start config/karma.config.js", + "test:specs:watch": "npm run test:specs -- --no-single-run", "test": "npm run specs && npm run lint" }, "dependencies": {