File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 18
18
"type" : " git" ,
19
19
"url" : " git+https://github.com/znck/rollup-plugin-vue.git"
20
20
},
21
+ "standard-version" : {
22
+ "scripts" : {
23
+ "precommit" : " yarn test && yarn docs && git add docs/"
24
+ }
25
+ },
21
26
"scripts" : {
22
- "prebuild" : " npm run lint" ,
27
+ "prebuild" : " yarn lint && yarn test " ,
23
28
"build" : " tsc" ,
24
29
"changelog" : " conventional-changelog -p angular -i CHANGELOG.md -s -r 1" ,
25
30
"docs" : " typedoc typings src/index.ts" ,
26
31
"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" ,
30
33
"test" : " jest"
31
34
},
32
35
"files" : [
You can’t perform that action at this time.
0 commit comments