Skip to content

Commit

Permalink
Fix exports
Browse files Browse the repository at this point in the history
- fix sonar warnings
  • Loading branch information
gilbarbara committed Sep 19, 2023
1 parent ff6e8f2 commit 79ab22d
Show file tree
Hide file tree
Showing 4 changed files with 4,194 additions and 1,449 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"exports": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"files": [
"dist",
Expand Down Expand Up @@ -60,6 +60,7 @@
"@types/react": "^18.2.22",
"@types/react-dom": "^18.2.7",
"del-cli": "^5.1.0",
"fix-tsup-cjs": "^1.2.0",
"husky": "^8.0.3",
"is-ci-cli": "^2.2.0",
"jest": "^29.7.0",
Expand All @@ -78,7 +79,7 @@
"typescript": "^5.2.2"
},
"scripts": {
"build": "npm run clean && tsup",
"build": "npm run clean && tsup && fix-tsup-cjs",
"clean": "del dist/*",
"watch": "tsup --watch",
"test": "is-ci \"test:coverage\" \"test:watch\"",
Expand Down
Loading

0 comments on commit 79ab22d

Please sign in to comment.