Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

Commit 27881f0

Browse files
committed
chore: use standard version
1 parent e19d910 commit 27881f0

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

package.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,18 @@
1818
"type": "git",
1919
"url": "git+https://github.com/znck/rollup-plugin-vue.git"
2020
},
21+
"standard-version": {
22+
"scripts": {
23+
"precommit": "yarn test && yarn docs && git add docs/"
24+
}
25+
},
2126
"scripts": {
22-
"prebuild": "npm run lint",
27+
"prebuild": "yarn lint && yarn test",
2328
"build": "tsc",
2429
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 1",
2530
"docs": "typedoc typings src/index.ts",
2631
"lint": "prettier --no-semi --single-quote --write **/*.js **/*.vue !test/target/** !dist/**",
27-
"preversion": "npm run build",
28-
"version": "yarn changelog && yarn build && git add docs/ CHANGELOG.md",
29-
"postversion": "npm publish && git push && git push --tags",
32+
"release": "standard-version -a",
3033
"test": "jest"
3134
},
3235
"files": [

0 commit comments

Comments
 (0)