Skip to content

Instantly share code, notes, and snippets.

@yhsiang
Last active August 29, 2015 14:03
Show Gist options
  • Save yhsiang/7e402bc237454fbe1241 to your computer and use it in GitHub Desktop.
Save yhsiang/7e402bc237454fbe1241 to your computer and use it in GitHub Desktop.
{
"dependencies": {
"semantic-ui": "0.10.2",
"ckeditor": "~4.4.2",
"angular": "1.2.12",
"angular-animate": "1.2.12",
"angular-route": "1.2.12",
"firebase": "1.0.17",
"angularfire": "0.7.1",
"firebase-simple-login": "1.6.1",
"ng-fire-alarm": "~0.4.6",
"angular-easyfb": "~1.0.1",
"jquery": "2.1.0"
},
"resolutions": {
"firebase-simple-login": "1.6.1",
"angular": "1.2.12"
},
"overrides": {
"jquery": {
"main": "dist/jquery.min.js"
},
"angular": {
"main": "angular.min.js"
},
"angular-animate": {
"main": "angular-animate.min.js"
},
"angular-route": {
"main": "angular-route.min.js"
},
"angular-easyfb": {
"main": "angular-easyfb.min.js"
},
"angularfire": {
"main": "angularfire.min.js"
},
"ng-fire-alarm": {
"main": "ng-fire-alarm.min.js"
},
"semantic-ui": {
"main": [
"build/packaged/css/semantic.min.css",
"build/packaged/fonts/*",
"build/packaged/images/*",
"build/packaged/javascript/semantic.min.js"
]
}
}
}
require! <[ gulp gulp-util gulp-clean gulp-filter ]>
gulp.task 'clean' ->
gulp.src 'public'
.pipe gulp-clean!
gulp.task 'bower' <[ clean ]> ->
require! <[ gulp-bower ]>
gulp-bower!
gulp.task 'js:vendor' <[ clean bower ]> ->
bower = gulp-bower-files!
.pipe gulp-filter -> it.path is /\.js$/
.pipe gulp.src 'vendor/scripts/*.js'
#.pipe gulp-concat 'vendor.js'
.pipe gulp.dest 'public/js'
{
"gulp": "^3.8.5",
"gulp-util": "^2.2.19",
"gulp-clean": "^0.3.1",
"gulp-filter": "^0.5.0",
"gulp-bower": "^0.0.6",
"gulp-bower-files": "^0.2.5"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment