Glide (https://glidejs.com) is an MIT-licensed library for rendering
carousels. Similar to how jQuery is installed for the catalog, the
additional dependency is specified in the AngularJS client's package.json
and webpack.config.js.
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
"build-prod": "webpack --env.prod"
},
"dependencies": {
+ "@glidejs/glide": "^3.3.0",
"angular": "~1.6.7",
"angular-animate": "~1.6.7",
"angular-cookies": "~1.6.7",
// jquery is copied to the common build location, up one directory.
{from: './node_modules/jquery/dist/jquery.min.js',
- to: __dirname + '/../common/build/js'}
+ to: __dirname + '/../common/build/js'},
+
+ // and likewise for glide
+ {from: './node_modules/@glidejs/glide/dist',
+ to: __dirname + '/../common/build/js/glide'}
];
CSS_FILES.forEach(file => directCopyFiles.push({from: file, to: './css'}));