Skip to content

Commit

Permalink
img-preview 依赖修改
Browse files Browse the repository at this point in the history
- peerDependencies -> dependencies
  • Loading branch information
listars committed Jan 19, 2019
1 parent d01cfb5 commit add548e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@
## install

```sh
# 需要同时安装预览组件
yarn add @femessage/img-preview @femessage/upload-to-ali
yarn add @femessage/upload-to-ali
```

**[⬆ Back to Top](#table-of-contents)**
Expand Down
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,10 @@
"precommit": "pretty-quick --staged"
},
"dependencies": {
"@femessage/img-preview": "^1.1.1",
"ali-oss": "^6.0.1",
"image-compressor.js": "^1.1.4"
},
"peerDependencies": {
"@femessage/img-preview": "^1.1.1"
},
"devDependencies": {
"@storybook/vue": "^3.4.10",
"@vue/test-utils": "^1.0.0-beta.16",
Expand Down
3 changes: 2 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@

"@femessage/img-preview@^1.1.1":
version "1.1.1"
resolved "https://registry.npmjs.org/@femessage/img-preview/-/img-preview-1.1.1.tgz#5a0a670ee52c6d55aefa8ad26787d13dee881997"
resolved "http://registry.npm.taobao.org/@femessage/img-preview/download/@femessage/img-preview-1.1.1.tgz#5a0a670ee52c6d55aefa8ad26787d13dee881997"
integrity sha1-WgpnDuUsbVWu+orSZ4fRPe6IGZc=

"@storybook/[email protected]":
version "3.4.10"
Expand Down

0 comments on commit add548e

Please sign in to comment.