Enable cache for ESLint.

This commit is contained in:
XhmikosR 2019-01-06 10:58:43 +02:00
parent cdece35bde
commit 1213d06b2f
3 changed files with 5 additions and 5 deletions

View File

@ -2,3 +2,5 @@
**/dist/
**/vendor/
/_gh_pages/
/js/coverage/
/package.js

View File

@ -1,9 +1,7 @@
// package metadata file for Meteor.js
/* eslint-env meteor */
Package.describe({
name: 'twbs:bootstrap', // https://atmospherejs.com/twbs/bootstrap
name: 'twbs:bootstrap', // https://atmospherejs.com/twbs/bootstrap
summary: 'The most popular front-end framework for developing responsive, mobile first projects on the web.',
version: '4.2.1',
git: 'https://github.com/twbs/bootstrap.git'

View File

@ -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",