diff --git a/package-lock.json b/package-lock.json index 760f982..98ded33 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,6 +5,7 @@ "requires": true, "packages": { "": { + "name": "theorangeone.net", "version": "1.0.0", "dependencies": { "@fortawesome/fontawesome-free": "5.15.3", @@ -14,7 +15,7 @@ "lg-thumbnail": "1.2.1", "lightgallery": "1.10.0", "lunr": "2.3.9", - "shareon": "1.6.2" + "shareon": "2.0.0" }, "devDependencies": { "broken-link-checker-local": "0.2.1", @@ -6284,9 +6285,14 @@ } }, "node_modules/shareon": { - "version": "1.6.2", - "resolved": "https://registry.npmjs.org/shareon/-/shareon-1.6.2.tgz", - "integrity": "sha512-MLvXj3pI+MkixWKWJ0lp0hcq4ep9A3HotIpM/HRRd1j1BedCuTDMxYCf9iHCMA5Dar6UGVgDi6mpeaNJlSxmPg==" + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shareon/-/shareon-2.0.0.tgz", + "integrity": "sha512-vwNQFAruIFjN/TOoDeMm8x7TZ1KC/1hPFnIwQpoX6vu+cYjzAmaP9KCmcZaIu/cvBFp2X24+0OrUcbR3uKk7Bw==", + "funding": [ + "https://github.com/sponsors/kytta/", + "https://liberapay.com/kytta", + "https://www.paypal.com/paypalme/NickKaramoff" + ] }, "node_modules/shebang-command": { "version": "1.2.0", @@ -12869,9 +12875,9 @@ } }, "shareon": { - "version": "1.6.2", - "resolved": "https://registry.npmjs.org/shareon/-/shareon-1.6.2.tgz", - "integrity": "sha512-MLvXj3pI+MkixWKWJ0lp0hcq4ep9A3HotIpM/HRRd1j1BedCuTDMxYCf9iHCMA5Dar6UGVgDi6mpeaNJlSxmPg==" + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shareon/-/shareon-2.0.0.tgz", + "integrity": "sha512-vwNQFAruIFjN/TOoDeMm8x7TZ1KC/1hPFnIwQpoX6vu+cYjzAmaP9KCmcZaIu/cvBFp2X24+0OrUcbR3uKk7Bw==" }, "shebang-command": { "version": "1.2.0", diff --git a/package.json b/package.json index bf73594..c6bfae8 100644 --- a/package.json +++ b/package.json @@ -20,6 +20,6 @@ "lg-thumbnail": "1.2.1", "lightgallery": "1.10.0", "lunr": "2.3.9", - "shareon": "1.6.2" + "shareon": "2.0.0" } } diff --git a/scripts/build.sh b/scripts/build.sh index 349fb63..2dd815f 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -20,7 +20,7 @@ cp $BASEDIR/node_modules/shareon/dist/shareon.min.css $STATIC_BUILD/css/shareon. cp -r $STATIC_SRC/js/ $STATIC_BUILD/js/ cp $BASEDIR/node_modules/jquery/dist/jquery.min.js $STATIC_BUILD/js/jquery.min.js -cp $BASEDIR/node_modules/shareon/dist/shareon.min.js $STATIC_BUILD/js/shareon.js +cp $BASEDIR/node_modules/shareon/dist/shareon.iife.js $STATIC_BUILD/js/shareon.js cp $BASEDIR/node_modules/lightgallery/dist/js/lightgallery-all.min.js $STATIC_BUILD/js/lightgallery.min.js cp $BASEDIR/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js $STATIC_BUILD/js/bootstrap.min.js cp $BASEDIR/node_modules/elevator.js/demo/music/*.mp3 $STATIC_BUILD/audio/