Based on angular-generator and angular-systemjs-seed project.
- ES6 Syntax via Babel with source maps
- ES6 Modules via SystemJS
- Simple Gulpfile
- Component based file structure
- Test located with components
- ControllerAs syntax
- Install using NPM and JSPM
- Karma / Jasmine unit tests
- Bundle builds via SystemJS Builder
- Angular Framework
- Bootstrap Theme
If you are not familiar it would be worthwhile to read up on jspm, and SystemJS.
If you don't already have jspm or gulp you should install them globally.
npm install jspm -g
npm install gulp -g
git clone https://github.com/Hypercubed/angular-systemjs-starter.git
cd angular-systemjs-starter
npm install # jspm install is run postinstall by npm
gulp watch
gulp watch
, run development server and watch for file changesgulp test
, run karma testsgulp build
, build distribution directorygulp serve:dist
, run distribution server for testinggulp deploy
, push to gh-pagesgulp run
, run development server, karma tests and watch for file changes
/root
+- package.json
+- gulpfile.js
+- karma.conf.js
+- app/
+- jspm_packages/
+- components/ # includes tests
+- system.config.js
+- index.html
+- dist/ # build goes here