Make the linting process faster. (#446)
Showing
| ... | @@ -23,12 +23,15 @@ | ... | @@ -23,12 +23,15 @@ |
| "html-report": "nyc report --temp-directory=./coverage --reporter=html", | "html-report": "nyc report --temp-directory=./coverage --reporter=html", | ||
| "jest": "jest --coverage", | "jest": "jest --coverage", | ||
| "coveralls": "nyc report --temp-directory=./coverage --reporter=text-lcov | coveralls", | "coveralls": "nyc report --temp-directory=./coverage --reporter=text-lcov | coveralls", | ||
| "lint": "standard && standard bin/*", | "lint": "standard 'bin/*' 'client/**/*.js' 'examples/**/*.js' 'lib/**/*.js' 'pages/**/*.js' 'server/**/*.js' 'test/**/*.js'", | ||
| "prepublish": "gulp release", | "prepublish": "gulp release", | ||
| "precommit": "npm run lint" | "precommit": "npm run lint" | ||
| }, | }, | ||
| "standard": { | "standard": { | ||
| "parser": "babel-eslint" | "parser": "babel-eslint", | ||
| "ignore": [ | |||
| "**/node_modules/**" | |||
| ] | |||
| }, | }, | ||
| "dependencies": { | "dependencies": { | ||
| "accepts": "1.3.3", | "accepts": "1.3.3", | ||
| ... | ... |
Please
register
or
sign in
to comment