fix: pkg
Added unit test cmd
This commit is contained in:
parent
0170c6666a
commit
718073ec51
2 changed files with 3 additions and 1 deletions
|
|
@ -38,6 +38,7 @@
|
|||
"build:dev": "cd packages/library && bun run build ",
|
||||
"build": "cd packages/library && bun run build && cd ../playground && bun run build",
|
||||
"preview": "cd packages/playground && bun run preview",
|
||||
"test:unit": "cd packages/library && bun run test:unit",
|
||||
"type-check": "vue-tsc --build",
|
||||
"lint": "eslint packages/*/src --fix",
|
||||
"format": "prettier --write --experimental-cli packages/*/src",
|
||||
|
|
|
|||
|
|
@ -27,7 +27,8 @@
|
|||
],
|
||||
"scripts": {
|
||||
"build": "vite build",
|
||||
"test:unit": "vitest"
|
||||
"test:unit": "vitest run",
|
||||
"test:unit:watch": "vitest"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"vue": "^3.5.0",
|
||||
|
|
|
|||
Loading…
Reference in a new issue