A quick boilerplate for prototyping javascript using Browserify, Gulp, Browser-sync and Sass + Postcss.
# 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 bundleThis 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.
jsfiles will transpile into javascript, direct files within thesourcefolder will be seperated bundles and those within underlying folders can be importedscss&sasswill be compiled to CSS, partials (starts with an underscore) won't be compiledyml&yamlwill be compiled to JSON
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