Skip to content

Commit

Permalink
updating package config and tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
nktnet committed Oct 20, 2023
1 parent 2fc7636 commit 3852227
Show file tree
Hide file tree
Showing 3 changed files with 105 additions and 5 deletions.
99 changes: 95 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,15 @@
"files": [
"dist"
],
"type": "module",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"exports": {
".": {
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js"
}
},
"scripts": {
"test": "jest",
"tc": "jest --coverage",
Expand Down Expand Up @@ -44,12 +51,13 @@
"devDependencies": {
"@types/esm": "^3.2.0",
"@types/jest": "^29.5.5",
"@types/node": "^20.8.6",
"@types/node": "^20.8.7",
"@typescript-eslint/eslint-plugin": "^6.8.0",
"@typescript-eslint/parser": "^6.8.0",
"eslint": "^8.51.0",
"eslint-plugin-jest": "^27.4.2",
"jest": "^29.7.0",
"node-fetch": "^3.3.2",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"esModuleInterop": true,
"lib": ["es5", "es2015", "esnext", "dom"],
"types": ["node", "jest"],
"module": "ESNext",
"moduleResolution": "node",
"noImplicitAny": true,
"noUnusedLocals": true,
Expand Down

0 comments on commit 3852227

Please sign in to comment.