Skip to content

Commit

Permalink
fix(build): NONE-000 simplify tsconfig, remove files array from package
Browse files Browse the repository at this point in the history
  • Loading branch information
noticeeverything committed Aug 30, 2021
1 parent c0be1b4 commit db04fcf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 25 deletions.
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@
"engines": {
"node": ">=12"
},
"files": [
"dist"
],
"keywords": [],
"license": "MIT",
"main": "index.js",
Expand Down
33 changes: 11 additions & 22 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,20 @@
{
"compilerOptions": {
"lib": ["es2019", "es2020.promise", "es2020.bigint", "es2020.string"], // Node.js 12
"target": "es2019", // Node.js 12
"lib": ["ES2020"],
"module": "commonjs",
"target": "ES2018",
"moduleResolution": "node",
"resolveJsonModule": true,
"jsx": "react",
"declaration": true,
"pretty": true,
"newLine": "lf",
"checkJs": true,
"allowJs": true,
"esModuleInterop": true,
"removeComments": true,
"stripInternal": true,
"allowJs": true,
"checkJs": true,
"importHelpers": true,
"jsx": "react",
"strict": true,
"noImplicitReturns": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
"noEmitOnError": true,
"useDefineForClassFields": false,
"forceConsistentCasingInFileNames": true,
"pretty": true,
"sourceMap": true,
"declaration": true,
"skipLibCheck": true,
"outDir": "./dist"
"outDir": "dist"
},
"include": ["src"],
"exclude": ["__fixtures__", "**/*.test.ts", "**/*.spec.ts", "**/*.test.js", "**/*.spec.js"]
"include": ["src/**/*"]
}

0 comments on commit db04fcf

Please sign in to comment.