diff --git a/package.json b/package.json index 0ae44ed..a95197f 100644 --- a/package.json +++ b/package.json @@ -10,8 +10,7 @@ "main": "src/index.ts", "scripts": { "dev": "bun --watch --env-file=.dev.env --env-file=.env run src/action.ts", - "test:pypi": "bun run test-pypi-bigquery.ts", - "test:pypi-detailed": "bun run test-pypi-detailed.ts" + "build": "tsc -p tsconfig.build.json" }, "devDependencies": { "@types/bun": "latest", diff --git a/tsconfig.build.json b/tsconfig.build.json new file mode 100644 index 0000000..a57d191 --- /dev/null +++ b/tsconfig.build.json @@ -0,0 +1,21 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "noEmit": false, + "outDir": "dist", + "declaration": false, + "sourceMap": false, + "module": "CommonJS", + "target": "ES2020", + "moduleResolution": "Node", + "lib": ["ES2020"], + "types": ["node"] + }, + "include": [ + "src/action.ts", + "src/collectors/**/*.ts", + "src/summaries/**/*.ts", + "src/utils.ts", + "src/clients/**/*.ts" + ] +}