Skip to content

Commit 4bfa8d6

Browse files
committed
chore: release script
1 parent eb8c638 commit 4bfa8d6

File tree

2 files changed

+207
-88
lines changed

2 files changed

+207
-88
lines changed

package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
"module": "dist/promised.mjs",
77
"types": "dist/index.d.ts",
88
"scripts": {
9-
"prebuild": "npm test",
10-
"build": "rollup -c",
9+
"build": "npm run build",
1110
"test": "jest",
1211
"coveralls": "coveralls",
12+
"release": "standard-version -a",
1313
"prepublishOnly": "npm run build",
14-
"version": "conventional-changelog -p angular -r 2 -i CHANGELOG.md -s && git add CHANGELOG.md",
15-
"postversion": "git push && git push --tags"
14+
"pre:build": "npm test",
15+
":build": "rollup -c"
1616
},
1717
"repository": "https://github.com/znck/promised",
1818
"keywords": [
@@ -32,11 +32,11 @@
3232
"devDependencies": {
3333
"@types/jest": "^23.3.12",
3434
"@types/node": "^10.12.18",
35-
"conventional-changelog": "^3.0.5",
3635
"coveralls": "^3.0.2",
3736
"jest": "^23.6.0",
3837
"rollup": "^1.1.0",
3938
"rollup-plugin-typescript2": "^0.18.1",
39+
"standard-version": "^4.4.0",
4040
"ts-jest": "^23.10.5",
4141
"typescript": "^3.2.2"
4242
}

0 commit comments

Comments
 (0)