0.0.2 • Published 10 years ago

dk-seed v0.0.2

Weekly downloads
1
License
MIT
Repository
-
Last release
10 years ago

Seed

Seed files for a client-side web app. Jquery, Backbone and Underscore included. Uses LESS for CSS. Handlebars for JS templating.

Installation

  1. Grab this code (choose one)
  2. npm install
  3. gulp build

Gulp

  • gulp build

    • browserify js and put it in 'build' dir - index.js
    • process less files and put in 'build' dir - index.css
    • minify images and copy to 'build' dir
    • minify html and copy to 'build' dir
    • copy fonts to 'build' dir
  • gulp watch

    • watch src/js then browserify on changes
    • watch src/less then less on changes
    • watch src/templates then browserify on changes
    • watch src/images then imagemin on changes
    • watch src/.html then htmlmin on changes
    • watch src/fonts then fontcopy on changes

  • gulp browserify
    • browserify js and put it in 'build' dir - index.js

  • gulp less
    • process less files and put in 'build' dir - index.css

  • gulp imagemin

    • minify images and copy to 'build' dir
  • gulp htmlmin

    • minify html and copy to 'build' dir

  • gulp fontcopy
    • copy fonts to 'build' dir

  • gulp deploy
    • deploy 'build' dir to AWS S3 bucket

      Reads aws.json file from root and deploys to S3 bucket. Important: will overwrite what's in your bucket

          {
              "key": "", // aws key
              "secret": "", // aws secret
              "bucket": "" // aws bucket to deploy to
          }
0.0.2

10 years ago

0.0.1

10 years ago