diff --git a/tsconfig-esm.json b/tsconfig-esm.json new file mode 100644 index 0000000..89e09eb --- /dev/null +++ b/tsconfig-esm.json @@ -0,0 +1,15 @@ +{ + "compilerOptions": { + "module": "Node16", + "target": "ES2022", + "lib": ["ES2022"], + "sourceMap": true, + "declaration": true, + "moduleResolution": "Node16", + "alwaysStrict": true, + "noUnusedLocals": true + }, + "ts-node": { + "esm": true + } +} diff --git a/tsconfig-strict-esm.json b/tsconfig-strict-esm.json new file mode 100644 index 0000000..d91ea6c --- /dev/null +++ b/tsconfig-strict-esm.json @@ -0,0 +1,6 @@ +{ + "extends": "./tsconfig-esm", + "compilerOptions": { + "strict": true + } +} diff --git a/tsconfig-test-esm.json b/tsconfig-test-esm.json new file mode 100644 index 0000000..8cba75e --- /dev/null +++ b/tsconfig-test-esm.json @@ -0,0 +1,6 @@ +{ + "extends": "./tsconfig-esm", + "compilerOptions": { + "noEmit": true + } +} diff --git a/tsconfig-test-strict-esm.json b/tsconfig-test-strict-esm.json new file mode 100644 index 0000000..a4a4a96 --- /dev/null +++ b/tsconfig-test-strict-esm.json @@ -0,0 +1,6 @@ +{ + "extends": "./tsconfig-strict-esm", + "compilerOptions": { + "noEmit": true + } +}