aw-front-helpers 2.5.15 → 2.5.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,6 @@
1
+ import BootstraperMaps from './maps'
2
+ import BootstraperYoutube from './youtube'
3
+
1
4
  module.exports = {
2
- bootstraperMaps: require('./maps').default,
3
- bootstraperYoutube: require('./youtube').default,
4
- };
5
+ BootstraperMaps, BootstraperYoutube
6
+ }
package/classes/index.js CHANGED
@@ -1,4 +1,8 @@
1
- module.exports.GParallax = require('./globalParallax').default;
2
- module.exports.Nearby = require('./nearby').default;
3
- module.exports.FormControl = require('./formControl').default;
4
- module.exports.Sticky = require('./sticky').default;
1
+ import GParallax from './classes/globalParallax'
2
+ import Nearby from './classes/nearby'
3
+ import FormControl from './classes/formControl'
4
+ import Sticky from './classes/sticky'
5
+
6
+ module.exports = {
7
+ GParallax, Nearby, FormControl, Sticky,
8
+ }
package/index.js CHANGED
@@ -1,7 +1,11 @@
1
- export const GParallax = require('./classes/globalParallax').default;
2
- export const Nearby = require('./classes/nearby').default;
3
- export const FormControl = require('./classes/formControl').default;
4
- export const Sticky = require('./classes/sticky').default;
5
- export const BootstraperMaps = require('./bootstraper/maps').default;
6
- export const BootstraperYoutube = require('./bootstraper/youtube').default;
7
- export const utils = require('./utils');
1
+ import GParallax from './classes/globalParallax'
2
+ import Nearby from './classes/nearby'
3
+ import FormControl from './classes/formControl'
4
+ import Sticky from './classes/sticky'
5
+ import BootstraperMaps from './bootstraper/maps'
6
+ import BootstraperYoutube from './bootstraper/youtube'
7
+ import utils from './utils'
8
+
9
+ module.exports = {
10
+ GParallax, Nearby, FormControl, Sticky, BootstraperMaps, BootstraperYoutube, utils
11
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aw-front-helpers",
3
- "version": "2.5.15",
3
+ "version": "2.5.16",
4
4
  "description": "Assets helpers for projects",
5
5
  "author": "Yoann Le Poupon",
6
6
  "license": "ISC",
@@ -12,6 +12,7 @@
12
12
  "dependencies": {
13
13
  "es6-symbol": "^3.1.3",
14
14
  "exif-js": "^2.3.0",
15
+ "debounce": "^2.1.0",
15
16
  "gsap": "^3.12.3"
16
17
  }
17
18
  }
package/utils/index.js CHANGED
@@ -1,7 +1,10 @@
1
- module.exports.array = require('./array');
2
- module.exports.dom = require('./dom');
3
- module.exports.func = require('./func');
4
- module.exports.math = require('./math');
5
- module.exports.media = require('./media');
6
- module.exports.regex = require('./regex');
7
- module.exports.image = require('./image');
1
+ import array from './array'
2
+ import dom from './dom'
3
+ import func from './func'
4
+ import math from './math'
5
+ import regex from './regex'
6
+ import image from './image'
7
+
8
+ module.exports = {
9
+ array, dom, func, math, regex, image
10
+ }