feat: initialize TypeScript configuration and Vitest setup
- Add pnpm workspace configuration to specify built dependencies. - Create tsconfig.json for TypeScript compiler options and module resolution. - Add tsconfig.build.json for build-specific TypeScript settings. - Set up Vitest configuration with path aliasing for testing.
This commit is contained in:
15
package.json
15
package.json
@@ -4,10 +4,19 @@
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
"build": "rimraf ./dist && tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json",
|
||||
"prepare": "pnpm build"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"packageManager": "pnpm@10.30.1"
|
||||
"license": "MIT",
|
||||
"packageManager": "pnpm@10.30.1",
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "2.4.3",
|
||||
"@types/node": "25.3.0",
|
||||
"rimraf": "6.1.3",
|
||||
"tsc-alias": "1.8.16",
|
||||
"tsx": "4.21.0",
|
||||
"vitest": "4.0.18"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user