A starter kit for standalone Angular 1 application based on NodeJS and Make.
./src
- application./src/umd
- UMD scripts./src/components
- viewless components./src/views
- view components./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/img
- images
./build
- temporary build files./dist
- bundled application./tests
- unit tests./e2e-tests
- end to end tests./config
- configuration./config/os.mk
- shell commands./config/app.mk
- variables./config/deps.mk
- custom targets/dependencies./config/override.js
- override dependency package.json
git clone https://github.com/dead-beef/ng1-make-starter.git
cd ng1-make-starter
make install
# single run
make
# continuous
make watch
# single run, minify
make min
# continuous, minify
make min-watch
# unit, single run
make test
# unit, continuous
make test-watch
# end to end, single run
make test-e2e
# all, single run
make test-all
# test application bundle
TEST_BUNDLE=1 make test
# select browsers (default: Firefox)
TEST_BROWSERS="Firefox Chrome" make test
make lint
make start
make SERVER_IP=192.168.1.10 SERVER_PORT=1080 start
make stop