Skip to content

Commit b7f08f6

Browse files
committed
chore: add release test script
1 parent 84fc410 commit b7f08f6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,14 @@
3434
"prettier": "prettier --config=.prettierrc --ignore-path=.prettierignore --write './src/**/*.{ts,js}' './examples/**/*.{ts,js}'",
3535
"lint": "eslint . --ext ts,vue --fix --cache",
3636
"prerelease": "npm run build",
37-
"release": "np"
37+
"release": "np",
38+
"test:release": "npm test && npm run lint && npm run prettier"
3839
},
3940
"np": {
4041
"yarn": false,
4142
"branch": "main",
4243
"message": "chore: release v%s",
43-
"testScript": "npm test && npm run lint"
44+
"testScript": "test:release"
4445
},
4546
"bugs": {
4647
"url": "https://github.com/vuesion/packages/issues"

0 commit comments

Comments
 (0)