Skip to content

Instantly share code, notes, and snippets.

@jongravois
Last active November 19, 2015 13:53
Show Gist options
  • Save jongravois/8e6aca5e096be269c312 to your computer and use it in GitHub Desktop.
Save jongravois/8e6aca5e096be269c312 to your computer and use it in GitHub Desktop.
will create a bootstrapped app named framework (change name in step one (line 3))
mkdir framework && cd $_
nano .bowerrc and add the following:
{
"directory": "/lib/"
}
bower init
npm init --yes
npm install --save-dev gulp gulp-concat gulp-angular-filesort gulp-strip-line gulp-sass gulp-angular-templatecache del yargs gulp-if gulp-jscs gulp-jshint gulp-sourcemaps gulp-uglify gulp-minify-css gulp-notify gulp-util gulp-shell gulp-plumber gulp-task-listing gulp-livereload gulp-jasmine run-sequence
bower install jquery lodash moment angular angular-animate angular-bootstrap angular-gravatar angular-messages angular-resource angular-sanitize angular-toastr angular-ui-mask angular-ui-router angular-utils bootstrap bootstrap-sass bootstrap-select font-awesome satellizer api-check --save
bower install --save-dev angular-mocks bardjs sinon
touch .jscrc (and paste in https://gist.github.com/jongravois/d3c99fc9d232e8cecfe7)
touch .jshintrc (and paste in https://gist.github.com/jongravois/c170e0d7b1c327b22e58)
touch gulpfile.js (and paste in https://gist.github.com/jongravois/e3f0715aa2a9ecbb92fe)
touch gulp.config.js (and paste in https://gist.github.com/jongravois/ca9b266661b64420a556)
nano bower.json and add the following after homepage{}
"install" : {
"path”: "js"
}
bower-installer
mkdir _modules && mkdir app && mkdir css && mkdir fonts && mkdir images && mkdir js && mkdir json && mkdir sass && mkdir scripts && mkdir specs
touch index.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment