|
17 | 17 | },
|
18 | 18 | "scripts": {
|
19 | 19 | "commitmsg": "conventional-changelog-lint -e",
|
| 20 | + "postpublish": "conventional-changelog -i changelog.md -s -r 0 && git commit -am \"chore(changelog): Update changelog\"", |
| 21 | + "patch": "np patch --any-branch", |
| 22 | + "minor": "np minor --any-branch", |
| 23 | + "major": "np major --any-branch", |
| 24 | + "clean": "rm -rf lib && mkdir lib", |
| 25 | + "build": "npm run clean && babel src/ -d lib/", |
| 26 | + "prepublish": "npm run build", |
20 | 27 | "lintjs": "eslint ./src/*.js ./test/*.js",
|
21 | 28 | "lintmd": "eslint --ext md --rule indent: [error, 4] .",
|
22 | 29 | "pretest": "clinton && npm run lintjs && npm run lintmd",
|
23 | 30 | "test": "nyc ava",
|
24 |
| - "clean": "rm -rf lib && mkdir lib", |
25 |
| - "build": "npm run clean && babel src/ -d lib/", |
26 |
| - "prepublish": "npm run build", |
27 |
| - "update": "updtr && ava-codemods --force", |
28 |
| - "testen": "testen -n -- ava" |
| 31 | + "update": "updtr" |
29 | 32 | },
|
30 | 33 | "files": [
|
31 | 34 | "lib/"
|
|
69 | 72 | "eslint-plugin-require-path-exists": "^1.1.5",
|
70 | 73 | "eslint-plugin-xo": "^1.0.0",
|
71 | 74 | "husky": "^0.11.9",
|
| 75 | + "np": "^2.10.1", |
72 | 76 | "nyc": "^10.0.0",
|
73 | 77 | "testen": "^1.8.2",
|
74 | 78 | "updtr": "^0.2.1"
|
|
0 commit comments