Skip to content
This repository was archived by the owner on Nov 10, 2020. It is now read-only.

Commit d573702

Browse files
committed
Add jquery under dependencies
1 parent 87a2158 commit d573702

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Vue.js component for [jQuery Mask Plugin](https://github.com/igorescobar/jQuery-
1515
## Installation
1616
```bash
1717
# npm
18-
npm install vue-jquery-mask --save
18+
npm install vue-jquery-mask
1919

2020
# Yarn
2121
yarn add vue-jquery-mask
@@ -93,7 +93,7 @@ The component accepts these props:
9393
<script src="https://cdn.jsdelivr.net/npm/vue@2.6"></script>
9494
<!-- Lastly add this package -->
9595
<script src="https://cdn.jsdelivr.net/npm/vue-jquery-mask"></script>
96-
<!-- Install global component -->
96+
<!-- Register global component -->
9797
<script>
9898
Vue.use(VuejQueryMask)
9999
</script>

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232
"prepublishOnly": "yarn run build"
3333
},
3434
"dependencies": {
35-
"jquery-mask-plugin": "^1.14.15"
35+
"jquery-mask-plugin": "^1.14.15",
36+
"jquery": ">=1.7"
3637
},
3738
"devDependencies": {
3839
"@babel/core": "^7.2.2",
@@ -44,7 +45,6 @@
4445
"css-loader": "^2.1.0",
4546
"file-loader": "^3.0.1",
4647
"html-webpack-plugin": "^3.2.0",
47-
"jquery": "^3.3.1",
4848
"style-loader": "^0.23.1",
4949
"unminified-webpack-plugin": "^2.0.0",
5050
"vee-validate": "^2.1.7",

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2893,7 +2893,7 @@ jquery-mask-plugin@^1.14.15:
28932893
resolved "https://registry.yarnpkg.com/jquery-mask-plugin/-/jquery-mask-plugin-1.14.15.tgz#9daabb41024383cba2a793bacfa46ef8f87273a5"
28942894
integrity sha512-/mI1N5WG9E7JmjFWIQBIMuG/4QlZDAXuoNjHoqVWZSMah+go5hp/xKI/xC0Jud9Ly4HqqhFxY4AXLTUZT+J7Hg==
28952895

2896-
jquery@^3.3.1:
2896+
jquery@>=1.7:
28972897
version "3.3.1"
28982898
resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.3.1.tgz#958ce29e81c9790f31be7792df5d4d95fc57fbca"
28992899
integrity sha512-Ubldcmxp5np52/ENotGxlLe6aGMvmF4R8S6tZjsP6Knsaxd/xp3Zrh50cG93lR6nPXyUFwzN3ZSOQI0wRJNdGg==

0 commit comments

Comments
 (0)