diff --git a/README.md b/README.md
index 7f8686b..8bbaeff 100644
--- a/README.md
+++ b/README.md
@@ -33,7 +33,7 @@ Image viewer component for vue, supports rotation, scale, zoom and so on, based
Install from NPM
```bash
-npm install v-viewer@next viewerjs
+npm install v-viewer viewerjs
```
## Usage
@@ -113,9 +113,9 @@ app.mount('#app')
```html
-
+
-
+
diff --git a/package.json b/package.json
index 98ba0ab..dd58557 100644
--- a/package.json
+++ b/package.json
@@ -39,14 +39,15 @@
"preview:build": "vite build example --config example/vite.config.ts",
"preview:serve": "vite preview example --config example/vite.config.ts",
"release": "standard-version",
+ "publish": "npm run build && npm publish",
"publish:next": "npm run build && npm publish --tag next"
},
"peerDependencies": {
- "vue": "^3.0.0"
+ "vue": "^3.0.0",
+ "viewerjs": "^1.11.0"
},
"dependencies": {
- "lodash": "^4.17.21",
- "viewerjs": "^1.11.0"
+ "lodash": "^4.17.21"
},
"devDependencies": {
"@antfu/eslint-config": "^0.27.0",