diff options
author | 2023-09-21 12:55:27 -0700 | |
---|---|---|
committer | 2023-09-21 12:55:27 -0700 | |
commit | b011f94250030858c28cc4338f18b46d3ae26dc9 (patch) | |
tree | 944e0d577273d6011464c0fbc3595d010fcadd20 | |
parent | 66cdb077ad1ecfa4ba6b8e79640110a4822b6d28 (diff) | |
download | bun-b011f94250030858c28cc4338f18b46d3ae26dc9.tar.gz bun-b011f94250030858c28cc4338f18b46d3ae26dc9.tar.zst bun-b011f94250030858c28cc4338f18b46d3ae26dc9.zip |
Update test script
-rw-r--r-- | packages/bun-types/package.json | 2 | ||||
-rw-r--r-- | packages/bun-types/tsconfig.json | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/packages/bun-types/package.json b/packages/bun-types/package.json index 059ab0bfc..4e0cc4f91 100644 --- a/packages/bun-types/package.json +++ b/packages/bun-types/package.json @@ -12,7 +12,7 @@ "prebuild": "echo $(pwd)", "build": "rm -rf ./dist && bun run bundle && bun run fmt", "bundle": "bun scripts/bundle.ts ./dist", - "test": "tsd", + "test": "tsc", "fmt": "echo $(which prettier) && prettier --write './**/*.{ts,tsx,js,jsx}'" }, "tsd": { diff --git a/packages/bun-types/tsconfig.json b/packages/bun-types/tsconfig.json index ad946c2e0..ed37def14 100644 --- a/packages/bun-types/tsconfig.json +++ b/packages/bun-types/tsconfig.json @@ -9,7 +9,9 @@ "allowSyntheticDefaultImports": true, "disableSolutionSearching": true, "noUnusedLocals": true, - "outDir": "build" + "outDir": "build", + "noEmit": true, + "resolveJsonModule": true }, "exclude": [ "dist", |