mirror of https://github.com/buster-so/buster.git
tsconfig and package fixes
This commit is contained in:
parent
b42f2b37a4
commit
1b26673c49
|
@ -7,18 +7,18 @@
|
||||||
"buster": "./dist/index.js"
|
"buster": "./dist/index.js"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prebuild": "[ \"$SKIP_ENV_CHECK\" = \"true\" ] || tsx scripts/validate-env.ts",
|
"prebuild": "[ \"$SKIP_ENV_CHECK\" = \"true\" ] || (tsx scripts/validate-env.ts && pnpm run typecheck)",
|
||||||
"build": "bun build src/index.tsx --outdir dist --target bun",
|
"build": "bun build src/index.tsx --outdir dist --target bun",
|
||||||
"build:dry-run": "tsc --noEmit",
|
"build:dry-run": "tsc --noEmit",
|
||||||
"build:standalone": "bun build src/index.tsx --compile --outfile dist/buster",
|
"build:standalone": "bun build src/index.tsx --compile --outfile dist/buster",
|
||||||
"start": "bun run dist/index.js",
|
"start": "bun run dist/index.js",
|
||||||
"typecheck": "tsc --noEmit",
|
"typecheck": "tsc --noEmit",
|
||||||
"lint": "biome check . --write",
|
"lint": "biome check --write",
|
||||||
"test": "vitest run",
|
"test": "vitest run",
|
||||||
"test:unit": "vitest run --exclude '**/*.int.test.ts' --exclude '**/*.integration.test.ts' --passWithNoTests",
|
"test:unit": "vitest run --exclude '**/*.int.test.ts' --exclude '**/*.integration.test.ts'",
|
||||||
"test:integration": "vitest run **/*.int.test.ts **/*.integration.test.ts",
|
"test:integration": "vitest run **/*.int.test.ts **/*.integration.test.ts",
|
||||||
"test:watch": "vitest watch",
|
"test:coverage": "vitest --coverage",
|
||||||
"test:coverage": "vitest run --coverage",
|
"test:watch": "vitest --watch",
|
||||||
"clean": "rm -rf dist"
|
"clean": "rm -rf dist"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -5,7 +5,8 @@
|
||||||
"rootDir": "src",
|
"rootDir": "src",
|
||||||
"tsBuildInfoFile": "dist/.cache/tsbuildinfo.json",
|
"tsBuildInfoFile": "dist/.cache/tsbuildinfo.json",
|
||||||
"jsx": "react-jsx",
|
"jsx": "react-jsx",
|
||||||
"types": ["bun", "node"]
|
"types": ["bun", "node"],
|
||||||
|
"lib": ["ES2021", "DOM"]
|
||||||
},
|
},
|
||||||
"include": ["src"],
|
"include": ["src"],
|
||||||
"exclude": ["node_modules", "dist"],
|
"exclude": ["node_modules", "dist"],
|
||||||
|
|
Loading…
Reference in New Issue