|
11 | 11 | }, |
12 | 12 | "main": "index.js", |
13 | 13 | "scripts": { |
14 | | - "mocha": "NODE_ENV=test nyc --reporter=lcov --reporter text mocha test/**/*.spec.js", |
15 | | - "dependency-check": "JS_FILES=\"*.js test/*.js\" && dependency-check . $JS_FILES && dependency-check . $JS_FILES --unused --no-dev", |
16 | | - "test": "installed-check -e -i eslint && eslint . && npm run dependency-check && npm run mocha && documentation readme -s \"API Usage\" --no-markdown-toc --diff-only", |
17 | | - "build-docs": "documentation readme -s \"API Usage\" --no-markdown-toc" |
| 14 | + "check:dependency-check": "dependency-check *.js 'lib/**/*.js' 'test/**/*.js' --no-dev", |
| 15 | + "skip:check:docs": "documentation readme index.js -s \"API Usage\" --no-markdown-toc --diff-only", |
| 16 | + "check:installed-check": "installed-check -i eslint", |
| 17 | + "check:lint": "eslint .", |
| 18 | + "test:mocha": "NODE_ENV=test nyc --reporter=lcov --reporter text mocha test/**/*.spec.js", |
| 19 | + "test": "run-p check:* && run-p test:*", |
| 20 | + "build-docs": "documentation readme index.js -s \"API Usage\" --no-markdown-toc" |
18 | 21 | }, |
19 | 22 | "husky": { |
20 | 23 | "hooks": { |
|
27 | 30 | "devDependencies": { |
28 | 31 | "chai": "^4.2.0", |
29 | 32 | "coveralls": "^3.0.5", |
30 | | - "dependency-check": "^3.4.1", |
31 | | - "documentation": "^9.3.0", |
| 33 | + "dependency-check": "^4.1.0", |
| 34 | + "documentation": "^12.1.1", |
32 | 35 | "eslint": "^5.16.0", |
33 | 36 | "eslint-config-semistandard": "^13.0.0", |
34 | 37 | "eslint-config-standard": "^12.0.0", |
35 | 38 | "eslint-plugin-import": "^2.18.2", |
36 | 39 | "eslint-plugin-node": "^8.0.1", |
37 | 40 | "eslint-plugin-promise": "^4.2.1", |
38 | 41 | "eslint-plugin-standard": "^4.0.0", |
39 | | - "husky": "^1.3.1", |
40 | | - "installed-check": "^2.2.0", |
| 42 | + "husky": "^3.0.3", |
| 43 | + "installed-check": "^3.0.0", |
41 | 44 | "mocha": "^6.2.0", |
42 | | - "nyc": "^13.3.0" |
| 45 | + "npm-run-all": "^4.1.5", |
| 46 | + "nyc": "^14.1.1" |
43 | 47 | }, |
44 | 48 | "dependencies": { |
45 | 49 | "strftime": "^0.10.0", |
|
0 commit comments