Skip to content

Commit a906093

Browse files
committedDec 2, 2016
chore(package): add np
1 parent a3e354e commit a906093

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed
 

‎package.json

+9-5
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,18 @@
1717
},
1818
"scripts": {
1919
"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",
2027
"lintjs": "eslint ./src/*.js ./test/*.js",
2128
"lintmd": "eslint --ext md --rule indent: [error, 4] .",
2229
"pretest": "clinton && npm run lintjs && npm run lintmd",
2330
"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"
2932
},
3033
"files": [
3134
"lib/"
@@ -69,6 +72,7 @@
6972
"eslint-plugin-require-path-exists": "^1.1.5",
7073
"eslint-plugin-xo": "^1.0.0",
7174
"husky": "^0.11.9",
75+
"np": "^2.10.1",
7276
"nyc": "^10.0.0",
7377
"testen": "^1.8.2",
7478
"updtr": "^0.2.1"

0 commit comments

Comments
 (0)
Please sign in to comment.