Skip to content

Commit 4615a0c

Browse files
chore: enhance TypeScript configuration and build process
- Update tsconfig.json with stricter type checking and module resolution - Modify package.json scripts to include type checking and declaration generation - Update Vite configuration for better module and library bundling - Improve type definitions and utility functions - Add type-related scripts and configuration for better developer experience
1 parent 2cddffc commit 4615a0c

File tree

10 files changed

+480
-222
lines changed

10 files changed

+480
-222
lines changed

package.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,12 @@
2525
},
2626
"scripts": {
2727
"dev": "concurrently \"vite\" \"node ./dev/server.js\"",
28-
"build": "vite build",
29-
"lint": "eslint",
30-
"lint:errors": "eslint --quiet",
31-
"lint:fix": "eslint --fix"
28+
"build": "vite build && tsc --emitDeclarationOnly",
29+
"lint": "eslint ./src --ext .ts",
30+
"lint:errors": "eslint ./src --ext .ts --quiet",
31+
"lint:fix": "eslint ./src --ext .ts --fix",
32+
"type-check": "tsc --noEmit",
33+
"type-check:watch": "tsc --noEmit --watch"
3234
},
3335
"author": {
3436
"name": "CodeX",

0 commit comments

Comments
 (0)