Skip to content

Commit 5b4e2f0

Browse files
add unit tests to test cmd
1 parent 62484a8 commit 5b4e2f0

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
@@ -11,8 +11,9 @@
1111
"scripts": {
1212
"pub": "script/publish.sh",
1313
"build": "npm run clean && npm run build --workspaces --if-present && tsc",
14-
"test": "script/test",
15-
"test:cli": "vitest",
14+
"test": "script/test && npm run test:cli",
15+
"test:cli": "vitest run",
16+
"test:dev": "vitest dev",
1617
"start": "script/watch",
1718
"clean": "rm -rf dist *~ packages/*/{dist,out}",
1819
"debug": "node --inspect-brk --max-old-space-size=4096 ./dist/index.js",

0 commit comments

Comments
 (0)