yoaquim / front-end-skeleton

Frontend skeleton base app to quickly get up and running

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#Frontend Skeleton

Skeleton app for building frontend apps.

Incudes karma, browserify, watchify, lessify and gulp.

Installing

Setup

npm run setup will install gulp and install all dependencies.

npm start spins up a dummy page loaded with dist.js.

Building

Navigate to the build directory and run gulp to run karma tests and build.

Output file, dist.js, will be under the dist directory.

Gulp commands

  • gulp: runs tests and builds

  • gulp build: builds

  • gulp server: starts a test server that loads up a dummy page, which loads the built script dist.js (under dist dir)

  • gulp test: runs tests

  • gulp test -w: runs tests and watches for any changes to re-run tests (no rebuild)

  • gulp watch: spins up a test server, builds and watches for any changes; if changes, runs tests, rebuilds and reloads webpage. this is what npm start runs

About

Frontend skeleton base app to quickly get up and running


Languages

Language:JavaScript 97.1%Language:HTML 2.9%