|
84 | 84 | "schemas/" |
85 | 85 | ], |
86 | 86 | "scripts": { |
87 | | - "lint-file-standard": "eclint check lib/**/*.js hot/*.js bin/*.js benchmark/*.js test/*.js", |
88 | | - "pretest": "npm run lint-files && npm run lint-file-standard", |
89 | 87 | "test": "mocha --harmony --full-trace --check-leaks", |
90 | 88 | "travis": "npm run cover -- --report lcovonly", |
91 | 89 | "appveyor": "mocha --harmony --full-trace", |
| 90 | + "pretest": "npm run lint-files", |
| 91 | + "postcover": "npm run lint-files && npm run nsp", |
| 92 | + "lint-files": "npm run lint && npm run beautify-lint && npm run lint-file-standard", |
92 | 93 | "lint": "eslint lib bin hot", |
93 | | - "lint-files": "npm run lint && npm run beautify-lint", |
94 | | - "nsp": "nsp check --output summary", |
| 94 | + "lint-file-standard": "eclint check lib/**/*.js hot/*.js bin/*.js benchmark/*.js test/*.js", |
95 | 95 | "beautify-lint": "beautify-lint lib/**/*.js hot/**/*.js bin/**/*.js benchmark/*.js test/*.js", |
96 | | - "beautify": "beautify-rewrite lib/**/*.js hot/**/*.js bin/**/*.js benchmark/*.js test/*.js", |
97 | | - "postcover": "npm run lint && npm run beautify-lint && npm run nsp", |
| 96 | + "nsp": "nsp check --output summary", |
98 | 97 | "cover": "istanbul cover -x **/*.runtime.js node_modules/mocha/bin/_mocha", |
| 98 | + "beautify": "beautify-rewrite lib/**/*.js hot/**/*.js bin/**/*.js benchmark/*.js test/*.js", |
99 | 99 | "publish-patch": "npm run lint && npm run beautify-lint && mocha && npm version patch && git push && git push --tags && npm publish" |
100 | 100 | } |
101 | 101 | } |
0 commit comments