Skip to content

Commit

Permalink
refactor(project): move @alifd/next and antd dependencies to peerDepe…
Browse files Browse the repository at this point in the history
…ndencies
  • Loading branch information
janryWang committed Apr 28, 2019
1 parent a98c247 commit 201a53d
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 12 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
使用 Ant Design:

```bash
npm install --save @uform/antd
npm install --save antd @uform/antd
```

使用 Fusion Design:

```bash
npm install --save @uform/next
npm install --save @alifd/next @uform/next
```

## 文档
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"lint": "eslint \"packages/!(docs)/**/*.js\" \"scripts/**/*.js\""
},
"devDependencies": {
"@alifd/next": "^1.13.10",
"@alifd/next": "^1.14.1",
"@babel/cli": "^7.2.0",
"@babel/core": "^7.3.3",
"@babel/plugin-proposal-class-properties": "^7.2.3",
Expand All @@ -42,7 +42,7 @@
"@babel/register": "^7.0.0",
"@babel/runtime-corejs3": "^7.2.0",
"all-contributors-cli": "^6.1.2",
"antd": "^3.16.1",
"antd": "^3.16.6",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.1.0",
"babel-loader": "^8.0.4",
Expand Down
4 changes: 2 additions & 2 deletions packages/antd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
"react-dom": ">=16.8.0",
"antd": "^3.14.1"
},
"dependencies": {
"@uform/react": "0.1.7",
"@uform/utils": "0.1.3",
"antd": "^3.14.1",
"classnames": "^2.2.6",
"moveto": "^1.7.4",
"react-stikky": "^0.1.15",
Expand Down
4 changes: 2 additions & 2 deletions packages/builder-next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
"react-dom": ">=16.8.0",
"@alifd/next": "^1.13.1"
},
"dependencies": {
"@alifd/next": "^1.13.1",
"@uform/builder": "0.1.7"
},
"publishConfig": {
Expand Down
3 changes: 1 addition & 2 deletions packages/builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,11 @@
"npm": ">=3.0.0"
},
"peerDependencies": {
"@alife/next": "^0.x",
"@alifd/next": "^1.13.1",
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"dependencies": {
"@alifd/next": "^1.13.1",
"@uform/react": "0.1.7",
"@uform/utils": "0.1.3",
"@uform/validator": "0.1.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
"react-dom": ">=16.8.0",
"@alifd/next": "^1.13.1"
},
"dependencies": {
"@alifd/next": "^1.13.1",
"@uform/react": "0.1.7",
"@uform/utils": "0.1.3",
"classnames": "^2.2.6",
Expand Down

0 comments on commit 201a53d

Please sign in to comment.