mirror of https://github.com/buster-so/buster.git
A few additional typechecks to help reduce heap
This commit is contained in:
parent
4172a961d8
commit
aac29b0356
|
@ -4,6 +4,7 @@
|
|||
"type": "module",
|
||||
"version": "0.0.1",
|
||||
"scripts": {
|
||||
"prebuild": "[ \"$SKIP_ENV_CHECK\" = \"true\" ] || tsx scripts/validate-env.ts",
|
||||
"build": "cross-env NODE_OPTIONS=--max-old-space-size=8192 vite build -- --typecheck",
|
||||
"build:local": "cross-env NODE_OPTIONS=--max-old-space-size=8192 vite build -- --typecheck --local",
|
||||
"build:no-typecheck": "cross-env NODE_OPTIONS=--max-old-space-size=8192 vite build",
|
||||
|
@ -24,7 +25,7 @@
|
|||
"test:ui": "vitest --ui",
|
||||
"test:unit": "pnpm run test",
|
||||
"test:watch": "vitest --watch",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"typecheck": "cross-env NODE_OPTIONS=--max-old-space-size=8192 tsc --noEmit",
|
||||
"typecheck:watch": "tsc --noEmit --watch"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"$schema": "https://json.schemastore.org/tsconfig",
|
||||
"include": ["src/**/*.ts", "src/**/*.tsx", "scripts/validate-env.ts"],
|
||||
"exclude": ["node_modules", "dist"],
|
||||
"exclude": ["node_modules", "dist", "**/.tanstack/**", "**/.output/**", "**/.storybook/**"],
|
||||
"compilerOptions": {
|
||||
"target": "ES2022",
|
||||
"jsx": "react-jsx",
|
||||
|
|
Loading…
Reference in New Issue