From 1213d06b2f185feafaca00706e9d64bf01a206a6 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sun, 6 Jan 2019 10:58:43 +0200 Subject: Enable cache for ESLint. --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package.json') diff --git a/package.json b/package.json index e41612567..c80e33aaa 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", -- cgit v1.2.3