Front-end starter kit based on NodeJS and Make.
./src
- application./src/js
- scripts./src/umd
- UMD scripts./src/css
- stylesheets (scss files are compiled to application css bundle)./src/css/main.scss
- main application stylesheet./src/css/vendor.scss
- main vendor stylesheet./src/css/_materialize.scss
- MaterializeCSS variables
./src/img
- images
./build
- temporary build files./dist
- bundled application./tests
- unit tests./config
- configuration./make
- makefiles
git clone --recursive https://github.com/dead-beef/node-make-starter.git
cd node-make-starter
make
# single run
make
# continuous
make watch
# single run, minify
make min
# continuous, minify
make min-watch
# rebuild
make rebuild
# rebuild, minify
make rebuild-min
# unit, single run
make test
# unit, continuous
make test-watch
# test application bundle
TEST_BUNDLE=1 make test
# select browsers (default: Chromium)
TEST_BROWSERS="Firefox Chrome" make test
make lint
# start/restart
make start
# set ip and port
make SERVER_IP=127.0.0.1 SERVER_PORT=1080 start
# stop
make stop