Skip to content

smashingpat/prototype-starter-kit

Repository files navigation

prototype-starter-kit

A quick boilerplate for prototyping javascript using Browserify, Gulp, Browser-sync and Sass + Postcss.

Usage

# install dependencies
npm install

# start development server and open in default browser
npm run open

# or just start the server
npm start

# bundle sass and javascript using browserify
npm run bundle

This starts a watch server and open localhost:1337 in your default browser. Changes made to all files with the extensions js, sass, scss, yml and yaml will build into the app folder with an automatic refresh of the server.

  • js files will transpile into javascript, direct files within the source folder will be seperated bundles and those within underlying folders can be imported
  • scss & sass will be compiled to CSS, partials (starts with an underscore) won't be compiled
  • yml & yaml will be compiled to JSON

Tasks

npm run start   # start dev server
npm run open    # start dev server and open in default browser
npm run bundle  # build compressed files
npm run deploy  # build compressed files and copies contents app folder to subtree gh-pages

About

a starter kit with SASS, Gulp and Budo for quick prototyping

Resources

License

Stars

Watchers

Forks

Packages

No packages published