Skip to content

Commit 0146b6e

Browse files
committed
[script]: added predeploy and deploy script;
1 parent 18c42df commit 0146b6e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
"dev": "vite",
88
"build": "tsc -b && vite build",
99
"lint": "eslint .",
10-
"preview": "vite preview"
10+
"preview": "vite preview",
11+
"predeploy": "pnpm build",
12+
"deploy": "gh-pages -d dist"
1113
},
1214
"dependencies": {
1315
"react": "^19.1.1",

0 commit comments

Comments
 (0)