diff options
| author | Johann-S <[email protected]> | 2017-06-16 10:50:31 +0200 |
|---|---|---|
| committer | Johann-S <[email protected]> | 2017-06-16 10:57:13 +0200 |
| commit | 11a5ca8ff3b943ba5655400971415ff29f6896a8 (patch) | |
| tree | 6ff02420cc2517f84691b64ba1eed240f464677c | |
| parent | ae6440a48057807abf2ac80233a2fc9758ca3161 (diff) | |
| download | bootstrap-11a5ca8ff3b943ba5655400971415ff29f6896a8.tar.xz bootstrap-11a5ca8ff3b943ba5655400971415ff29f6896a8.zip | |
Add back js-lint when we try to build our js
| -rw-r--r-- | package.json | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package.json b/package.json index bedd027e1..b29d1067b 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "css-prefix-docs": "postcss --config build/ --no-map --replace assets/css/docs.min.css", "css-minify": "cleancss --level 1 --source-map --output dist/css/bootstrap.min.css dist/css/bootstrap.css && cleancss --level 1 --source-map --output dist/css/bootstrap-grid.min.css dist/css/bootstrap-grid.css && cleancss --level 1 --source-map --output dist/css/bootstrap-reboot.min.css dist/css/bootstrap-reboot.css", "css-minify-docs": "cleancss --level 1 --source-map --output assets/css/docs.min.css assets/css/docs.min.css", - "js": "npm-run-all js-compile js-minify", + "js": "npm-run-all js-lint js-compile js-minify", "js-docs": "npm-run-all js-lint-docs js-minify-docs", "js-lint": "eslint js/ && eslint --config js/tests/.eslintrc.json --env node build/ Gruntfile.js", "js-lint-docs": "eslint --config js/tests/.eslintrc.json assets/js/", @@ -54,7 +54,7 @@ "dist": "npm-run-all --parallel css js", "test": "npm-run-all dist js-test docs", "watch-css": "nodemon --ignore js/ --ignore dist/ -e scss -x \"npm run css && npm run css-docs\"", - "watch-js": "nodemon --ignore scss/ --ignore js/dist/ --ignore dist/ -e js -x \"npm run js-compile\"", + "watch-js": "nodemon --ignore scss/ --ignore js/dist/ --ignore dist/ -e js -x \"npm run js-compile-plugins\"", "watch": "npm-run-all --parallel watch-css watch-js" }, "style": "dist/css/bootstrap.css", |
