Fix npm scripts

This commit is contained in:
Nicolas Gallagher
2015-09-20 15:25:03 -07:00
parent ef4de789ae
commit b3beea9bb3
2 changed files with 5 additions and 5 deletions

View File

@@ -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:

View File

@@ -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": {