Skip to content

Instantly share code, notes, and snippets.

@hellonicolas
Created September 25, 2014 19:43
Show Gist options
  • Save hellonicolas/07c3b30c1a4f4032b1a6 to your computer and use it in GitHub Desktop.
Save hellonicolas/07c3b30c1a4f4032b1a6 to your computer and use it in GitHub Desktop.
{
"name": "skyscraper",
"version": "0.0.1",
"repository": "[email protected]:dagency/skyscraper.git",
"browser": {
"jquery": "./app/bower_components/jquery/jquery.min.js",
"bootstrap": "./app/js/vendor/bootstrap.min.js",
"krpano": "./app/js/vendor/krpano.js",
"parallax": "./app/bower_components/parallax/deploy/jquery.parallax.min.js",
"custom-scrollbar": "./app/bower_components/malihu-custom-scrollbar-plugin/jquery.mCustomScrollbar.concat.min.js",
"simrou": "./app/bower_components/simrou/build/simrou.min.js",
"owl.carousel": "./app/bower_components/owl.carousel/dist/owl.carousel.min.js",
"box-slider": "./app/js/vendor/box-slider.jquery.js",
"box-slider-effect": "./app/js/vendor/effects/box-slider-fx-scroll-3d.js",
"box-slider-fade": "./app/js/vendor/effects/box-slider-fx-fade.js",
"DDM": "./app/js/vendor/ddmapi.min.js",
"brightcove": "./app/js/vendor/brightcove-api.js",
"FitText.js": "./app/bower_components/FitText.js/jquery.fittext.js"
},
"browserify-shim": {
"jquery": "$",
"simrou": {
"exports": "Simrou",
"depends": [
"jquery"
]
},
"bootstrap": {
"depends": [
"jquery"
]
},
"parallax": {
"depends": [
"jquery"
]
},
"box-slider-effect": {
"depends": [
"jquery",
"box-slider"
]
},
"box-slider-fade": {
"depends": [
"jquery",
"box-slider"
]
},
"owl.carousel": {
"depends": [
"jquery"
]
},
"krpano": {
"exports": "krpano"
},
"twitter": "global:twttr",
"facebook": "global:FB",
"brightcove": "global:brightcove",
"DDM": {
"exports": "DDM",
"depends": [
"jquery"
]
},
"FitText.js": {
"depends": [
"jquery"
]
}
},
"browserify": {
"transform": [
"browserify-shim"
]
},
"dependencies": {},
"devDependencies": {
"browserify": "^4.2.3",
"browserify-shim": "^3.6.0",
"dalek-browser-chrome": "0.0.10",
"dalek-reporter-console": "0.0.6",
"dalek-reporter-html": "0.0.3",
"dalekjs": "0.0.8",
"grunt": "^0.4.5",
"grunt-autoprefixer": "^1.0.0",
"grunt-aws": "^0.3.0",
"grunt-browserify": "^2.1.4",
"grunt-concurrent": "^0.5.0",
"grunt-config": "^0.2.1",
"grunt-contrib-clean": "^0.6.0",
"grunt-contrib-concat": "^0.5.0",
"grunt-contrib-connect": "^0.8.0",
"grunt-contrib-copy": "^0.5.0",
"grunt-contrib-cssmin": "^0.10.0",
"grunt-contrib-htmlmin": "^0.3.0",
"grunt-contrib-imagemin": "^0.8.0",
"grunt-contrib-jshint": "^0.10.0",
"grunt-contrib-stylus": "^0.18.0",
"grunt-contrib-uglify": "^0.5.1",
"grunt-contrib-watch": "^0.6.1",
"grunt-dalek": "^0.2.0",
"grunt-gitcheck": "^0.1.0",
"grunt-mocha": "^0.4.11",
"grunt-rev": "^0.1.0",
"grunt-svgmin": "^0.4.0",
"grunt-swigtemplates": "0.1.1",
"grunt-uncss": "^0.3.6",
"grunt-usemin": "^2.3.0",
"i18next": "^1.7.4",
"imagesloaded": "~3.1.8",
"jshint-stylish": "^0.4.0",
"knockout": "^3.2.0",
"load-grunt-config": "^0.13.1",
"load-grunt-tasks": "^0.6.0",
"lodash": "^2.4.1",
"moment": "^2.8.1",
"moment-countdown": "0.0.1",
"orchestrator": "^0.3.7",
"q": "^1.0.1",
"sprintf-js": "0.0.7",
"tabletop": "^1.3.5",
"time-grunt": "^0.4.0",
"twix": "^0.5.1",
"velocity-animate": "^0.4.0"
},
"engines": {
"node": ">=0.10.0"
}
}
@blinkylights23
Copy link

The key name is arbitrary. You could use:

"fittext": "./app/bower_components/FitText.js/jquery.fittext.js"

...as long as you use the same key in browser and browserify-shim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment