Skip to content

Commit 3398dc9

Browse files
committed
chore: update package.json scripts for type generation and type checking
1 parent 0e9f93c commit 3398dc9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

epicshop/epic-me/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@
1010
},
1111
"scripts": {
1212
"build": "react-router build",
13-
"cf-typegen": "wrangler types ./types/worker-configuration.d.ts",
1413
"deploy": "npm run build && wrangler deploy",
1514
"dev": "react-router dev",
1615
"format": "prettier --write .",
1716
"lint": "eslint .",
18-
"postinstall": "npm run cf-typegen",
17+
"postinstall": "npm run typegen || exit 0",
1918
"preview": "npm run build && vite preview",
20-
"typecheck": "npm run cf-typegen && react-router typegen && tsc -b"
19+
"typegen": "wrangler types ./types/worker-configuration.d.ts && react-router typegen",
20+
"pretypecheck": "npm run typegen",
21+
"typecheck": "tsc -b"
2122
},
2223
"dependencies": {
2324
"@modelcontextprotocol/sdk": "^1.18.2",

0 commit comments

Comments
 (0)