34 lines
1001 B
JSON
34 lines
1001 B
JSON
{
|
|
"ts-node": {
|
|
// It is faster to skip typechecking.
|
|
// Remove if you want ts-node to do typechecking.
|
|
"transpileOnly": true,
|
|
"files": true,
|
|
"compilerOptions": {
|
|
// compilerOptions specified here will override those declared below,
|
|
// but *only* in ts-node. Useful if you want ts-node and tsc to use
|
|
// different options with a single tsconfig.json.
|
|
"module": "commonjs"
|
|
}
|
|
},
|
|
"compilerOptions": {
|
|
"target": "ES2019",
|
|
"lib": ["es2019", "dom"],
|
|
"module": "es2022",
|
|
"esModuleInterop": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"skipLibCheck": true,
|
|
"moduleResolution": "node",
|
|
"outDir": "dist",
|
|
"rootDir": "src",
|
|
"paths": {
|
|
"@switchboard-xyz/switchboard-v2": ["../switchboard-v2"],
|
|
"@solana/spl-token": ["./node_modules/@solana/spl-token"]
|
|
}
|
|
},
|
|
"include": ["src/**/*"],
|
|
"exclude": ["esbuild.js", "dist"],
|
|
"references": [{ "path": "../switchboard-v2" }],
|
|
"files": ["src/main.ts"]
|
|
}
|