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",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepublish": "pnpm format && pnpm test",
|
"prepublish": "pnpm format && pnpm test",
|
||||||
"build": "tsc",
|
"build": "rm -rf prod && tsc",
|
||||||
"format": "pnpm build && eslint src test --max-warnings 0 --fix",
|
"format": "pnpm build && eslint src test --max-warnings 0 --fix",
|
||||||
"lint": "pnpm build && eslint src test --max-warnings 0",
|
"lint": "pnpm build && eslint src test --max-warnings 0",
|
||||||
"test": "vitest run",
|
"test": "vitest run",
|
||||||
|
@ -17,7 +17,9 @@
|
|||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"forceConsistentCasingInFileNames": true,
|
"forceConsistentCasingInFileNames": true,
|
||||||
"rootDir": "src",
|
"rootDir": "src",
|
||||||
"outDir": "prod"
|
"outDir": "prod",
|
||||||
|
"sourceMap": true,
|
||||||
|
"declaration": true,
|
||||||
},
|
},
|
||||||
"exclude": ["./test", "vitest.config.ts"]
|
"exclude": ["./test", "vitest.config.ts"]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user