diff options
author | XhmikosR <xhmikosr@gmail.com> | 2019-01-06 11:58:43 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2019-01-07 20:15:06 +0300 |
commit | 1213d06b2f185feafaca00706e9d64bf01a206a6 (patch) | |
tree | b879dc6035b47582407e9be6023327883aa1646c /package.json | |
parent | cdece35bdeb078f2d8e756de12eb1e3ea257561f (diff) |
Enable cache for ESLint.
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package.json b/package.json index e41612567b..c80e33aaaf 100644 --- a/package.json +++ b/package.json @@ -50,8 +50,8 @@ "js-compile-plugins": "node build/build-plugins.js", "js-compile-plugins-coverage": "cross-env NODE_ENV=test node build/build-plugins.js", "js-lint": "npm-run-all --parallel js-lint-*", - "js-lint-main": "eslint js/src js/tests build/", - "js-lint-docs": "eslint site/", + "js-lint-main": "eslint --cache --cache-location .cache/.eslintcache js/src js/tests build/", + "js-lint-docs": "eslint --cache --cache-location .cache/.eslintcache site/", "js-minify": "npm-run-all --parallel js-minify-main js-minify-docs", "js-minify-main": "npm-run-all js-minify-standalone js-minify-bundle", "js-minify-standalone": "uglifyjs --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/js/bootstrap.js.map,includeSources,url=bootstrap.min.js.map\" --output dist/js/bootstrap.min.js dist/js/bootstrap.js", |