Fix npm audit errors

This commit is contained in:
Sandor Sergiu 2018-12-14 13:47:09 +02:00
parent f57ca7bcf4
commit 8be9c70c82
3 changed files with 2243 additions and 909 deletions

View file

@ -33,7 +33,7 @@ A smooth 3D tilt javascript library forked from [Tilt.js (jQuery version)](https
glare: false // if it should have a "glare" effect
"max-glare": 1, // the maximum "glare" opacity (1 = 100%, 0.5 = 50%)
"glare-prerender": false, // false = VanillaTilt creates the glare elements for you, otherwise
// you need to add .js-tilt-glare>.js-tilt-glare-inner by yourself
// you need to add .js-tilt-glare>.js-tilt-glare-inner by yourself
"mouse-event-element": null // css-selector or link to HTML-element what will be listen mouse events
}
```
@ -58,6 +58,10 @@ element.vanillaTilt.getValues();
// Reset instance
element.vanillaTilt.reset();
// It also supports NodeList
const elements = document.querySelectorAll(".js-tilt");
VanillaTilt.init(elements);
```
### Install

3144
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -18,7 +18,7 @@
"release": "release"
},
"devDependencies": {
"babel-cli": "^6.22.2",
"babel-cli": "^6.26.0",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-transform-class-properties": "^6.22.0",