mirror of
https://github.com/cloudflare/wrangler-action.git
synced 2024-11-24 19:04:46 +01:00
2962e94ac8
This fixes the issue where running the unit tests invoked the entire action since index.ts calls `main()` at the top-level scope.
20 lines
457 B
JSON
20 lines
457 B
JSON
{
|
|
"files": ["./src/index.ts"],
|
|
"compilerOptions": {
|
|
"strict": true,
|
|
"composite": true,
|
|
"incremental": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"isolatedModules": true,
|
|
"target": "ESNext",
|
|
"module": "ESNext",
|
|
"moduleResolution": "Bundler",
|
|
"rootDir": "./src",
|
|
"outDir": "./dist",
|
|
"lib": ["ESNext"],
|
|
"types": ["node", "@cloudflare/workers-types"]
|
|
},
|
|
"exclude": ["node_modules", "**/*.test.ts"],
|
|
"include": ["src"]
|
|
}
|