diff --git a/package-overrides/github/carhartl/jquery-cookie@1.4.0.json b/package-overrides/github/carhartl/jquery-cookie@1.4.0.json new file mode 100644 index 0000000..a4fc955 --- /dev/null +++ b/package-overrides/github/carhartl/jquery-cookie@1.4.0.json @@ -0,0 +1,7 @@ +{ + "main": "jquery.cookie", + "files": ["jquery.cookie.js"], + "buildConfig": { + "uglify": true + } +} diff --git a/package-overrides/github/harvesthq/chosen@1.0.0.json b/package-overrides/github/harvesthq/chosen@1.0.0.json index 2310324..1f52ae8 100644 --- a/package-overrides/github/harvesthq/chosen@1.0.0.json +++ b/package-overrides/github/harvesthq/chosen@1.0.0.json @@ -2,7 +2,7 @@ "main": "chosen.jquery.js", "files": ["chosen.jquery.js", "chosen.css", "chosen-sprite.png", "chosen-sprite@2x.png"], "shim": { - "chosen.jquery": ["./chosen.css!", "jquery@2.0"] + "chosen.jquery": ["./chosen.css!", "jquery"] }, "buildConfig": { "uglify": true } -} \ No newline at end of file +} diff --git a/package-overrides/github/jashkenas/backbone@1.1.0.json b/package-overrides/github/jashkenas/backbone@1.1.0.json deleted file mode 100644 index 9a1a86c..0000000 --- a/package-overrides/github/jashkenas/backbone@1.1.0.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "main": "backbone", - "files": ["backbone.js"], - "dependencyMap": { - "jquery": "jquery@2.0", - "underscore": "underscore@1.5" - }, - "shim": { - "backbone": ["jquery", "underscore"] - }, - "buildConfig": { - "uglify": "true" - } -} diff --git a/package-overrides/github/moment/moment@2.4.0.json b/package-overrides/github/moment/moment@2.4.0.json new file mode 100644 index 0000000..a8cdd8a --- /dev/null +++ b/package-overrides/github/moment/moment@2.4.0.json @@ -0,0 +1,6 @@ +{ + "files": ["moment.js"], + "buildConfig": { + "uglify": true + } +} diff --git a/package-overrides/github/twbs/bootstrap@3.0.2.json b/package-overrides/github/twbs/bootstrap@3.0.2.json index 1b7e9ab..24faf31 100644 --- a/package-overrides/github/twbs/bootstrap@3.0.2.json +++ b/package-overrides/github/twbs/bootstrap@3.0.2.json @@ -1,7 +1,13 @@ { "main": "js/bootstrap", + "directories": { + "lib": "dist" + }, "shim": { - "js/bootstrap": ["jquery@2.0"] + "js/bootstrap": { + "imports": "jquery", + "exports": "$" + } }, "buildConfig": { "uglify": true diff --git a/package-overrides/github/zurb/bower-foundation@5.0.2.json b/package-overrides/github/zurb/bower-foundation@5.0.2.json new file mode 100644 index 0000000..d9ec719 --- /dev/null +++ b/package-overrides/github/zurb/bower-foundation@5.0.2.json @@ -0,0 +1,40 @@ +{ + "main": "foundation", + "entrypoints": [ + "abide", + "accordion", + "alert", + "clearing", + "dropdown", + "interchange", + "joyride", + "magellan", + "offcanvas", + "orbit", + "reveal", + "tab", + "tooltip", + "topbar" + ], + "map": { + "*": "js/foundation/foundation.*", + "foundation": "js/foundation/foundation" + }, + "shim": { + "js/foundation/foundation.*": "./foundation", + "js/foundation/foundation": ["jquery", "../vendor/custom.modernizr"] + }, + "ignore": [ + "js/foundation.min.js", + "scss", + "js/vendor/jquery.cookie.js", + "js/vendor/jquery.js", + "js/vendor/fastclick.js", + "js/vendor/jquery.autocomplete.js", + "js/vendor/placeholder.js" + ], + "css": ["css/normalize.css", "css/foundation.css"], + "buildConfig": { + "uglify": true + } +} diff --git a/package-overrides/npm/d3@3.3.10.json b/package-overrides/npm/d3@3.3.10.json index b729a63..7f9ce2f 100644 --- a/package-overrides/npm/d3@3.3.10.json +++ b/package-overrides/npm/d3@3.3.10.json @@ -2,7 +2,9 @@ "main": "d3.js", "files": ["d3.js"], "shim": { - "exports": "d3" + "d3": { + "exports": "d3" + } }, "buildConfig": { "uglify": true diff --git a/registry.json b/registry.json index 268946b..463835a 100644 --- a/registry.json +++ b/registry.json @@ -8,17 +8,20 @@ "angular": "cdnjs:angular.js", "angular-ui": "cdnjs:angular-ui/angular-ui", "angularFire": "github:firebase/angularFire", - "backbone": "github:jashkenas/backbone", + "backbone": "npm:backbone", "backbone.babysitter": "github:marionettejs/backbone.babysitter", "backbone.wreqr": "github:marionettejs/backbone.wreqr", "bootstrap": "github:twbs/bootstrap", "chosen": "github:harvesthq/chosen", - "d3": "npm:mbostock/d3", + "d3": "npm:d3", "font-awesome": "npm:font-awesome", + "foundation": "github:zurb/bower-foundation", "jquery": "github:components/jquery", "jquery-file-upload": "github:blueimp/jQuery-File-Upload", + "jquery.cookie": "github:carhartl/jquery-cookie", "kickstrap": "github:ajkochanowicz/Kickstrap", "marionette": "github:marionettejs/backbone.marionette", + "moment": "github:moment/moment", "tinygrowl": "github:ajkochanowicz/tinygrowl", "three.js": "cdnjs:three.js", "underscore": "npm:underscore",