Skip to content

Commit

Permalink
Configuring package
Browse files Browse the repository at this point in the history
  • Loading branch information
cohitre committed Feb 13, 2024
1 parent 96cbc70 commit f2bd9a2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
9 changes: 9 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.editorconfig
.envrc
.eslintignore
.eslintrc.json
.prettierrc
jest.config.ts
src
tests
tsconfig.json
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
"types": "dist/index.d.ts",
"target": "ES2022",
"files": [
"src"
"dist"
],
"scripts": {
"build": "npx tsc",
"prepublish": "./node_modules/.bin/tsc",
"test": "npx jest"
},
Expand Down
9 changes: 1 addition & 8 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,12 @@
"outDir": "dist",
"strict": true,
"sourceMap": true,
"noImplicitAny": true,
"forceConsistentCasingInFileNames": true,
"esModuleInterop": true,
"declarationMap": true,
"declaration": true,
"noImplicitThis": true,
"alwaysStrict": true,
"noUnusedLocals": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"inlineSources": true,
"strictPropertyInitialization": true,
"strictNullChecks": true
"noFallthroughCasesInSwitch": true
},
"include": ["src/**/*.ts", "src/**/*.tsx"],
"exclude": ["node_modules", "dist"]
Expand Down

0 comments on commit f2bd9a2

Please sign in to comment.