2017-09-13 14:56:46 +00:00
|
|
|
/**
|
|
|
|
* A hand-built index of paths in npm packages that use globals. The index is
|
|
|
|
* not meant to contain *all* the global paths that a given package publishes,
|
|
|
|
* but rather those that are probably most useful for someone who wants to put
|
|
|
|
* a library on a page quickly in development.
|
|
|
|
*
|
|
|
|
* Each entry in the index is keyed by package name and contains a list of
|
|
|
|
* [ versionRange, ...paths ] for that package. The list is traversed in order,
|
|
|
|
* so version ranges that come sooner will match before those that come later.
|
|
|
|
* The range `null` is a catch-all.
|
|
|
|
*/
|
|
|
|
module.exports = {
|
2017-11-08 16:57:15 +00:00
|
|
|
angular: [['>=1.2.27', '/angular.min.js'], [null, '/lib/angular.min.js']],
|
2017-09-13 14:56:46 +00:00
|
|
|
|
2017-11-08 16:57:15 +00:00
|
|
|
'angular-animate': [[null, '/angular-animate.min.js']],
|
2017-09-13 17:57:49 +00:00
|
|
|
|
2017-11-08 16:57:15 +00:00
|
|
|
'angular-cookies': [[null, '/angular-cookies.min.js']],
|
2017-09-13 17:57:49 +00:00
|
|
|
|
2017-11-08 16:57:15 +00:00
|
|
|
'angular-resource': [[null, '/angular-resource.min.js']],
|
2017-09-13 17:57:49 +00:00
|
|
|
|
2017-11-08 16:57:15 +00:00
|
|
|
'angular-sanitize': [[null, '/angular-sanitize.min.js']],
|
2017-09-13 17:57:49 +00:00
|
|
|
|
2017-11-08 16:57:15 +00:00
|
|
|
'angular-ui-bootstrap': [[null, '/dist/ui-bootstrap.js']],
|
2017-09-13 17:57:49 +00:00
|
|
|
|
2017-11-08 16:57:15 +00:00
|
|
|
'animate.css': [[null, '/animate.min.css']],
|
2017-09-13 14:56:46 +00:00
|
|
|
|
2017-11-08 16:57:15 +00:00
|
|
|
'babel-standalone': [[null, '/babel.min.js']],
|
2017-09-13 14:56:46 +00:00
|
|
|
|
2017-11-08 16:57:15 +00:00
|
|
|
backbone: [[null, '/backbone-min.js']],
|
2017-09-13 14:56:46 +00:00
|
|
|
|
2017-11-08 16:57:15 +00:00
|
|
|
bootstrap: [
|
|
|
|
[null, '/dist/css/bootstrap.min.css', '/dist/js/bootstrap.min.js']
|
2017-09-13 14:56:46 +00:00
|
|
|
],
|
|
|
|
|
2017-11-08 16:57:15 +00:00
|
|
|
'bootstrap-sass': [[null, '/assets/javascripts/bootstrap.min.js']],
|
2017-09-13 17:57:49 +00:00
|
|
|
|
2017-11-08 16:57:15 +00:00
|
|
|
bulma: [[null, '/css/bulma.css']],
|
2017-09-13 14:56:46 +00:00
|
|
|
|
2017-11-08 16:57:15 +00:00
|
|
|
'core.js': [[null, '/dist/core.min.js']],
|
2017-09-13 14:56:46 +00:00
|
|
|
|
2017-11-08 16:57:15 +00:00
|
|
|
'create-react-class': [[null, '/create-react-class.min.js']],
|
2017-09-13 17:57:49 +00:00
|
|
|
|
2017-11-08 16:57:15 +00:00
|
|
|
d3: [[null, '/build/d3.min.js']],
|
2017-09-13 14:56:46 +00:00
|
|
|
|
2017-11-08 16:57:15 +00:00
|
|
|
'ember-source': [[null, '/dist/ember.min.js']],
|
2017-09-13 14:56:46 +00:00
|
|
|
|
|
|
|
'foundation-sites': [
|
2017-11-08 16:57:15 +00:00
|
|
|
[null, '/dist/css/foundation.min.css', '/dist/js/foundation.min.js']
|
2017-09-13 14:56:46 +00:00
|
|
|
],
|
|
|
|
|
2017-11-08 16:57:15 +00:00
|
|
|
gsap: [[null, '/TweenMax.js']],
|
2017-09-13 14:56:46 +00:00
|
|
|
|
2017-11-08 16:57:15 +00:00
|
|
|
handlebars: [[null, '/dist/handlebars.min.js']],
|
2017-09-13 14:56:46 +00:00
|
|
|
|
2017-11-08 16:57:15 +00:00
|
|
|
jquery: [[null, '/dist/jquery.min.js']],
|
2017-09-13 14:56:46 +00:00
|
|
|
|
2017-11-08 16:57:15 +00:00
|
|
|
fastclick: [[null, '/lib/fastclick.js']],
|
2017-09-13 14:56:46 +00:00
|
|
|
|
2017-11-08 16:57:15 +00:00
|
|
|
lodash: [['<3', '/dist/lodash.min.js'], [null, '/lodash.min.js']],
|
2017-09-13 14:56:46 +00:00
|
|
|
|
2017-11-08 16:57:15 +00:00
|
|
|
'masonry-layout': [[null, '/dist/masonry.pkgd.min.js']],
|
2017-09-13 14:56:46 +00:00
|
|
|
|
2017-11-08 16:57:15 +00:00
|
|
|
'materialize-css': [[null, '/dist/css/materialize.min.css']],
|
2017-09-13 14:56:46 +00:00
|
|
|
|
2017-11-08 16:57:15 +00:00
|
|
|
'ngx-bootstrap': [[null, '/bundles/ngx-bootstrap.umd.js']],
|
2017-09-13 17:57:49 +00:00
|
|
|
|
2017-11-08 16:57:15 +00:00
|
|
|
react: [
|
|
|
|
['>=16.0.0-alpha.7', '/umd/react.production.min.js'],
|
|
|
|
[null, '/dist/react.min.js']
|
2017-09-13 14:56:46 +00:00
|
|
|
],
|
|
|
|
|
2017-11-08 16:57:15 +00:00
|
|
|
'react-bootstrap': [[null, '/dist/react-bootstrap.min.js']],
|
2017-09-13 17:57:49 +00:00
|
|
|
|
2017-09-13 14:56:46 +00:00
|
|
|
'react-dom': [
|
2017-11-08 16:57:15 +00:00
|
|
|
['>=16.0.0-alpha.7', '/umd/react-dom.production.min.js'],
|
|
|
|
[null, '/dist/react-dom.min.js']
|
2017-09-13 14:56:46 +00:00
|
|
|
],
|
|
|
|
|
|
|
|
'react-router': [
|
2017-11-08 16:57:15 +00:00
|
|
|
['>=4.0.0', '/umd/react-router.min.js'],
|
|
|
|
[null, '/umd/ReactRouter.min.js']
|
2017-09-13 14:56:46 +00:00
|
|
|
],
|
|
|
|
|
2017-11-08 16:57:15 +00:00
|
|
|
redux: [[null, '/dist/redux.min.js']],
|
2017-09-13 14:56:46 +00:00
|
|
|
|
2017-11-08 16:57:15 +00:00
|
|
|
'redux-saga': [[null, '/dist/redux-saga.min.js']],
|
2017-09-13 14:56:46 +00:00
|
|
|
|
2017-11-08 16:57:15 +00:00
|
|
|
'redux-thunk': [[null, '/dist/redux-thunk.min.js']],
|
2017-09-13 14:56:46 +00:00
|
|
|
|
2017-11-08 16:57:15 +00:00
|
|
|
snapsvg: [[null, '/snap.svg-min.js']],
|
2017-09-13 14:56:46 +00:00
|
|
|
|
2017-11-08 16:57:15 +00:00
|
|
|
systemjs: [[null, '/dist/system.js']],
|
2017-09-13 14:56:46 +00:00
|
|
|
|
2017-11-08 16:57:15 +00:00
|
|
|
three: [['<=0.77.0', '/three.min.js'], [null, '/build/three.min.js']],
|
2017-09-13 14:56:46 +00:00
|
|
|
|
2017-11-08 16:57:15 +00:00
|
|
|
underscore: [[null, '/underscore-min.js']],
|
2017-09-13 14:56:46 +00:00
|
|
|
|
2017-11-08 16:57:15 +00:00
|
|
|
vue: [[null, '/dist/vue.min.js']],
|
2017-09-13 14:56:46 +00:00
|
|
|
|
2017-11-08 16:57:15 +00:00
|
|
|
zepto: [[null, '/dist/zepto.min.js']],
|
2017-09-13 14:56:46 +00:00
|
|
|
|
2017-11-08 16:57:15 +00:00
|
|
|
zingchart: [[null, '/client/zingchart.min.js']],
|
2017-09-13 14:56:46 +00:00
|
|
|
|
2017-11-08 16:57:15 +00:00
|
|
|
'zone.js': [[null, '/dist/zone.js']]
|
2017-09-13 14:56:46 +00:00
|
|
|
}
|