generated from nhcarrigan/template
feat: include types in build
All checks were successful
Node.js CI / Lint and Test (pull_request) Successful in 1m10s
All checks were successful
Node.js CI / Lint and Test (pull_request) Successful in 1m10s
This commit is contained in:
parent
f49a3971d7
commit
d2dc3754d2
@ -6,7 +6,7 @@
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"prepublish": "pnpm format && pnpm test",
|
||||
"build": "tsc",
|
||||
"build": "rm -rf prod && tsc",
|
||||
"format": "pnpm build && eslint src test --max-warnings 0 --fix",
|
||||
"lint": "pnpm build && eslint src test --max-warnings 0",
|
||||
"test": "vitest run",
|
||||
|
@ -17,7 +17,9 @@
|
||||
"skipLibCheck": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"rootDir": "src",
|
||||
"outDir": "prod"
|
||||
"outDir": "prod",
|
||||
"sourceMap": true,
|
||||
"declaration": true,
|
||||
},
|
||||
"exclude": ["./test", "vitest.config.ts"]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user