Skip to content

Commit e24020c

Browse files
committed
chore: simplify npm scripts with vite plus
1 parent 707dea8 commit e24020c

1 file changed

Lines changed: 4 additions & 9 deletions

File tree

package.json

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,17 @@
33
"private": true,
44
"type": "module",
55
"scripts": {
6-
"build": "vite build",
6+
"build": "vp build",
77
"check": "vp run lint && vp run typecheck",
8-
"dev": "vite dev",
8+
"dev": "vp dev",
99
"fmt": "vp fmt .",
1010
"fmt:check": "vp fmt . --check",
11-
"generate": "vite build",
11+
"generate": "vp build",
1212
"lint": "vp lint .",
13-
"preview": "vite preview --outDir dist/client",
13+
"preview": "vp preview --outDir dist/client",
1414
"test": "vp test run",
1515
"test:watch": "vp test",
1616
"typecheck": "vize check --servers 1 --tsconfig tsconfig.vize.json",
17-
"vp:check": "vp check",
18-
"vp:fmt": "vp fmt .",
19-
"vp:lint": "vp lint .",
20-
"vp:test": "vp test run",
21-
"vp:test:watch": "vp test",
2217
"prepare": "vp config"
2318
},
2419
"dependencies": {

0 commit comments

Comments
 (0)