Skip to content

Commit 7cfc04d

Browse files
committed
reordered package.json scripts
1 parent e6cbe80 commit 7cfc04d

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎package.json‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,18 +84,18 @@
8484
"schemas/"
8585
],
8686
"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",
8987
"test": "mocha --harmony --full-trace --check-leaks",
9088
"travis": "npm run cover -- --report lcovonly",
9189
"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",
9293
"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",
9595
"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",
9897
"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",
9999
"publish-patch": "npm run lint && npm run beautify-lint && mocha && npm version patch && git push && git push --tags && npm publish"
100100
}
101101
}

0 commit comments

Comments
 (0)