Skip to content

Commit 22fcd05

Browse files
committed
(chore) run test before build
1 parent 45444b5 commit 22fcd05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"clean:lib": "rimraf dist",
3535
"build:lib": "vue-cli-service build --target lib --no-clean --name vue-advanced-chat ./src/lib/index.js",
3636
"build:wc": "vue-cli-service build --target wc --no-clean --name vue-advanced-chat ./src/lib/ChatWindow.vue",
37-
"prepublish": "npm run lint && npm run build",
37+
"prepublish": "npm run lint && npm run test && npm run build",
3838
"publish-beta": "npm publish --tag beta",
3939
"lint": "vue-cli-service lint",
4040
"test": "jest",

0 commit comments

Comments
 (0)