aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorMichaƂ Wolny <FreexD@users.noreply.github.com>2021-04-10 16:14:40 +0200
committerGitHub <noreply@github.com>2021-04-10 16:14:40 +0200
commit7568a13676ac818088e28753c110f2152f3e8377 (patch)
treeea4ed680e931dd25e5b61d6c52a5c4af64306091 /package.json
parentUpdate README.md (diff)
parentFix build config (diff)
downloadtabler-icons-7568a13676ac818088e28753c110f2152f3e8377.tar.xz
Merge pull request #116 from adambrgmn/build-update
Update package exports and peer dependencies
Diffstat (limited to 'package.json')
-rw-r--r--package.json8
1 files changed, 5 insertions, 3 deletions
diff --git a/package.json b/package.json
index 56f9c6cf..1f1fa7fa 100644
--- a/package.json
+++ b/package.json
@@ -6,8 +6,10 @@
"url": "git+https://github.com/tabler/tabler-icons.git"
},
"main": "./icons-react/dist/index.cjs.js",
+ "exports": "./icons-react/dist/index.esm.js",
"module": "./icons-react/dist/index.esm.js",
- "browser": "./icons-react/dist/index.umd.js",
+ "unpkg": "./icons-react/dist/index.umd.js",
+ "umd:main": "./icons-react/dist/index.umd.js",
"types": "./icons-react/index.d.ts",
"sideEffects": false,
"author": "codecalm",
@@ -97,7 +99,7 @@
}
},
"peerDependencies": {
- "react": "^16.13.1",
- "react-dom": "^16.13.1"
+ "react": "^16.x || 17.x",
+ "react-dom": "^16.x || 17.x"
}
}