Skip to content

Commit

Permalink
Merge pull request #315 from neighborhood999/chore/v3
Browse files Browse the repository at this point in the history
  • Loading branch information
neighborhood999 authored Jul 16, 2021
2 parents 619eb81 + 059cde4 commit ad26ad3
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 39 deletions.
13 changes: 1 addition & 12 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,5 @@ module.exports = {
es6: true
},
extends: ['prettier', 'plugin:vue/recommended'],
plugins: ['prettier', 'vue'],
rules: {
'prettier/prettier': [
'error',
{
bracketSpacing: true,
singleQuote: true,
trailingComma: 'none',
arrowParens: 'avoid'
}
]
}
plugins: ['prettier', 'vue']
};
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

## Installation

*If you are still using Vue 2, please install **2.0.4** version, for Vue 3 you can install the **latest publish version**.*

```sh
$ yarn add vue-signature-pad
```
Expand Down
8 changes: 6 additions & 2 deletions dev/serve.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,12 @@ export default defineComponent({
height="500px"
/>
<div id="buttons">
<button @click="save">Save</button>
<button @click="undo">Undo</button>
<button @click="save">
Save
</button>
<button @click="undo">
Undo
</button>
</div>
</div>
</template>
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@
"devDependencies": {
"@babel/core": "7.14.6",
"@babel/preset-env": "7.14.7",
"@rollup/plugin-alias": "3.1.2",
"@rollup/plugin-alias": "3.1.3",
"@rollup/plugin-babel": "5.3.0",
"@rollup/plugin-commonjs": "19.0.0",
"@rollup/plugin-node-resolve": "13.0.0",
"@rollup/plugin-commonjs": "19.0.1",
"@rollup/plugin-node-resolve": "13.0.2",
"@rollup/plugin-replace": "2.4.2",
"@vue/cli-plugin-babel": "4.5.13",
"@vue/cli-service": "4.5.13",
Expand All @@ -92,13 +92,13 @@
"husky": "7.0.1",
"jest": "26.6.3",
"jest-canvas-mock": "2.3.1",
"lint-staged": "11.0.0",
"lint-staged": "11.0.1",
"minimist": "1.2.5",
"npm-run-all": "4.1.5",
"postcss": "8.3.5",
"prettier": "2.3.2",
"rimraf": "3.0.2",
"rollup": "2.53.0",
"rollup": "2.53.2",
"rollup-plugin-postcss": "4.0.0",
"rollup-plugin-size-snapshot": "0.12.0",
"rollup-plugin-terser": "7.0.2",
Expand Down
40 changes: 20 additions & 20 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1440,10 +1440,10 @@
resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-1.1.3.tgz#2b5a3ab3f918cca48a8c754c08168e3f03eba61b"
integrity sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw==

"@rollup/plugin-alias@3.1.2":
version "3.1.2"
resolved "https://registry.yarnpkg.com/@rollup/plugin-alias/-/plugin-alias-3.1.2.tgz#c585b05be4a7782d269c69d13def56f44e417772"
integrity sha512-wzDnQ6v7CcoRzS0qVwFPrFdYA4Qlr+ookA217Y2Z3DPZE1R8jrFNM3jvGgOf6o6DMjbnQIn5lCIJgHPe1Bt3uw==
"@rollup/plugin-alias@3.1.3":
version "3.1.3"
resolved "https://registry.yarnpkg.com/@rollup/plugin-alias/-/plugin-alias-3.1.3.tgz#86787ab317cdc31e205c2ae380f66673054988bc"
integrity sha512-Z0rIFDnNQTVd9pveh+Jnfy3odYRu/UXY4yA9TN8+jHUqpMHEKSwhtTbG439obYOd6YkMnD6EjdW7dW3pe97JeQ==
dependencies:
slash "^3.0.0"

Expand All @@ -1455,10 +1455,10 @@
"@babel/helper-module-imports" "^7.10.4"
"@rollup/pluginutils" "^3.1.0"

"@rollup/plugin-commonjs@19.0.0":
version "19.0.0"
resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-19.0.0.tgz#8c3e71f9a66908e60d70cc1be205834ef3e45f71"
integrity sha512-adTpD6ATGbehdaQoZQ6ipDFhdjqsTgpOAhFiPwl+dzre4pPshsecptDPyEFb61JMJ1+mGljktaC4jI8ARMSNyw==
"@rollup/plugin-commonjs@19.0.1":
version "19.0.1"
resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-19.0.1.tgz#94a2c103d675523d3ab1c60bfbec567b3eb70410"
integrity sha512-bRrPTIAsWw2LmEspEMvV9f+7N7CEQgZCj2Zi1F0e0P3+/tbjQaSNNVVRSRWVhuDagp8yjK5kbIut8KTPsseRhg==
dependencies:
"@rollup/pluginutils" "^3.1.0"
commondir "^1.0.1"
Expand All @@ -1468,10 +1468,10 @@
magic-string "^0.25.7"
resolve "^1.17.0"

"@rollup/plugin-node-resolve@13.0.0":
version "13.0.0"
resolved "https://registry.yarnpkg.com/@rollup/plugin-node-resolve/-/plugin-node-resolve-13.0.0.tgz#352f07e430ff377809ec8ec8a6fd636547162dc4"
integrity sha512-41X411HJ3oikIDivT5OKe9EZ6ud6DXudtfNrGbC4nniaxx2esiWjkLOzgnZsWq1IM8YIeL2rzRGLZLBjlhnZtQ==
"@rollup/plugin-node-resolve@13.0.2":
version "13.0.2"
resolved "https://registry.yarnpkg.com/@rollup/plugin-node-resolve/-/plugin-node-resolve-13.0.2.tgz#bfe58e9bfc7284ee0fabc6da7fabcb268f04e0a4"
integrity sha512-hv+eAMcA2hQ7qvPVcXbtIyc0dtue4jMyA2sCW4IMkrmh+SeDDEHg1MXTv65VPpKdtjvWzN3+4mHAEl4rT+zgzQ==
dependencies:
"@rollup/pluginutils" "^3.1.0"
"@types/resolve" "1.17.1"
Expand Down Expand Up @@ -7026,10 +7026,10 @@ lines-and-columns@^1.1.6:
resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.1.6.tgz#1c00c743b433cd0a4e80758f7b64a57440d9ff00"
integrity sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=

lint-staged@11.0.0:
version "11.0.0"
resolved "https://registry.yarnpkg.com/lint-staged/-/lint-staged-11.0.0.tgz#24d0a95aa316ba28e257f5c4613369a75a10c712"
integrity sha512-3rsRIoyaE8IphSUtO1RVTFl1e0SLBtxxUOPBtHxQgBHS5/i6nqvjcUfNioMa4BU9yGnPzbO+xkfLtXtxBpCzjw==
lint-staged@11.0.1:
version "11.0.1"
resolved "https://registry.yarnpkg.com/lint-staged/-/lint-staged-11.0.1.tgz#1b8ae8ed5a52ed87252db95fe008c2618c85f55a"
integrity sha512-RkTA1ulE6jAGFskxpGAwxfVRXjHp7D9gFg/+KMARUWMPiVFP0t28Em2u0gL8sA0w3/ck3TC57F2v2RNeQ5XPnw==
dependencies:
chalk "^4.1.1"
cli-truncate "^2.1.0"
Expand Down Expand Up @@ -9402,10 +9402,10 @@ rollup-pluginutils@^2.8.2:
dependencies:
estree-walker "^0.6.1"

rollup@2.53.0:
version "2.53.0"
resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.53.0.tgz#5b6bc7820a03f361d2ae3dcabdc99d269a754709"
integrity sha512-spgrY78Toh+m0+zaOoeaayJKuzFuWy6o1PdFIBMVwRcuxT0xCOX9A5rChyKe+2ruL4lePKWUMImS4mMW1QAkmQ==
rollup@2.53.2:
version "2.53.2"
resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.53.2.tgz#3279f9bfba1fe446585560802e418c5fbcaefa51"
integrity sha512-1CtEYuS5CRCzFZ7SNW5528SlDlk4VDXIRGwbm/2POQxA/G4+7/crIqJwkmnj8Q/74hGx4oVlNvh4E1CJQ5hZ6w==
optionalDependencies:
fsevents "~2.3.2"

Expand Down

0 comments on commit ad26ad3

Please sign in to comment.