Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Commit

Permalink
fix(package.json): add entry point to builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Waryen committed Nov 25, 2022
1 parent 3ff753f commit 38ba6d5
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
"name": "dimevh",
"version": "0.2.1",
"description": "A simple wizard for React 🧙‍♂️",
"main": "dist/index.js",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"scripts": {
"lint": "eslint --fix \"{**/*,*}.{js,ts,jsx,tsx}\"",
"build": "npm run build:esm && npm run build:cjs",
Expand All @@ -11,6 +13,10 @@
"prepare": "npx husky install",
"release": "release-it"
},
"repository": {
"type": "git",
"url": "https://github.com/Waryen/dimevh"
},
"keywords": [
"javascript",
"typescript",
Expand All @@ -20,6 +26,10 @@
],
"author": "Waryen <[email protected]> (https://jonathangomand.be)",
"license": "MIT",
"bugs": {
"url": "https://github.com/Waryen/dimevh/issues"
},
"homepage": "https://github.com/Waryen/dimevh",
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
Expand All @@ -37,5 +47,9 @@
"husky": "^8.0.2",
"release-it": "^15.5.0",
"typescript": "^4.8.2"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
}
}

0 comments on commit 38ba6d5

Please sign in to comment.