|
34 | 34 | "@oclif/dev-cli": "^1", |
35 | 35 | "@oclif/plugin-help": "^2", |
36 | 36 | "@oclif/test": "^1", |
| 37 | + "auto-changelog": "^1.12.0", |
37 | 38 | "chai": "^4", |
| 39 | + "dependency-check": "^3.3.0", |
38 | 40 | "eslint": "^5.5", |
39 | 41 | "eslint-config-oclif": "^3.1", |
40 | 42 | "eslint-config-prettier": "^4.1.0", |
41 | 43 | "eslint-plugin-prettier": "^3.0.1", |
| 44 | + "gh-release": "^3.5.0", |
42 | 45 | "globby": "^8", |
43 | 46 | "mocha": "^5", |
| 47 | + "npm-run-all": "^4.1.5", |
44 | 48 | "nyc": "^13", |
45 | 49 | "prettier": "^1.16.4" |
46 | 50 | }, |
|
70 | 74 | "postpack": "rm -f oclif.manifest.json", |
71 | 75 | "posttest": "eslint .", |
72 | 76 | "prepack": "oclif-dev manifest && oclif-dev readme", |
73 | | - "test": "nyc mocha --forbid-only \"test/**/*.test.js\"", |
| 77 | + "test": "run-s test:*", |
| 78 | + "test:mocha": "nyc mocha --forbid-only \"test/**/*.test.js\"", |
| 79 | + "test:deps": "dependency-check ./package.json --entry \"src/commands/**/!(*.test).js\" --unused --missing --no-dev --no-peer -i @oclif/plugin-not-found -i @oclif/config -i @oclif/plugin-help -i @oclif/plugin-plugins", |
74 | 80 | "format": "npm run format:prettier -- --write", |
75 | 81 | "format:prettier": "prettier \"{{src,test}/**/,}*.js\"", |
76 | | - "version": "oclif-dev readme && git add README.md" |
| 82 | + "version": "oclif-dev readme && auto-changelog -p --template keepachangelog && git add README.md CHANGELOG.md", |
| 83 | + "prepublishOnly": "git push && git push --tags && gh-release" |
77 | 84 | } |
78 | 85 | } |
0 commit comments