Skip to content

Commit 64a2915

Browse files
author
Kenneth
committed
build: change package.json, update peer dependencies
1 parent 768713f commit 64a2915

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
11
{
22
"name": "1byte-react-design",
3-
"version": "1.6.6",
4-
"main": "dist/index.js",
5-
"module": "dist/index.js",
6-
"types": "dist/index.d.ts",
7-
"files": [
8-
"dist"
9-
],
3+
"version": "1.6.7",
4+
"description": "A simple React UI library",
5+
"main": "src/index.tsx",
6+
"module": "src/index.tsx",
7+
"types": "src/index.tsx",
108
"license": "MIT",
119
"scripts": {
1210
"build": "webpack --config webpack.config.js",
1311
"test": "yalc publish --push --no-scripts --files .",
1412
"tsc": "tsc -p tsconfig.json"
1513
},
14+
"peerDependencies": {
15+
"react": "^18.0.0",
16+
"react-dom": "^18.0.0"
17+
},
1618
"dependencies": {
1719
"@ant-design/cssinjs": "^1.24.0",
1820
"@ant-design/cssinjs-utils": "^1.1.3",
@@ -33,17 +35,15 @@
3335
"rc-slider": "^11.1.8",
3436
"rc-table": "^7.53.0",
3537
"rc-tree": "^5.13.1",
36-
"react": "^18.3.1",
37-
"react-dom": "^18.3.1",
3838
"react-hook-form": "^7.53.0",
3939
"react-router-dom": "^6.28.0"
4040
},
4141
"devDependencies": {
42+
"@types/react": "^18.3.10",
43+
"@types/react-dom": "^18.3.0",
4244
"@babel/core": "^7.25.2",
4345
"@babel/preset-env": "^7.25.4",
4446
"@babel/preset-react": "^7.24.7",
45-
"@types/react": "^18.3.10",
46-
"@types/react-dom": "^18.3.0",
4747
"babel-loader": "^9.2.1",
4848
"css-loader": "^7.1.2",
4949
"style-loader": "^4.0.0",

pnpm-lock.yaml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)