Add CI & Deno Supported & Fix a lot of bugs & Webpack for building package

This commit is contained in:
2022-07-02 17:01:00 +00:00
committed by GitHub
parent b3552cb6a2
commit 057c9b9cb5
25 changed files with 2035 additions and 86 deletions

View File

@ -1,14 +1,9 @@
{
"compilerOptions": {
"target": "esnext",
"module": "commonjs",
"lib": [
"ESNext",
],
"types": [
"@cloudflare/workers-types",
"@types/node",
],
"module": "esnext",
"lib": ["ESNext"],
"types": ["@cloudflare/workers-types", "@types/node", "@types/jest"],
"skipLibCheck": true,
"sourceMap": true,
"outDir": "./dist",
@ -28,18 +23,12 @@
"experimentalDecorators": true,
"resolveJsonModule": true,
"baseUrl": ".",
"plugins": [
{
"transform": "@zerollup/ts-transform-paths",
}
],
"plugins": [{
"transform": "@zerollup/ts-transform-paths"
}],
"declaration": true
},
"exclude": [
"node_modules"
],
"include": [
"index.ts",
"src/**/*.ts",
"demo/**/*.ts",
],
"exclude": ["node_modules"],
"include": ["index.ts", "src/**/*.ts", "demo/**/*.ts", "types/deno.d.ts"],
// "esm": true
}