Starting point for a new AngularJS 1.x application using angularjs-scripts
- Clone this repository
- Change the
name
field withinpackage.json
- Update the git remote url:
git remote origin set-url <url>
- Run
npm install
AngularJS Starter includes ESLint and it follows the Todd Motto AngularJS Styleguide
If you need to learn ES2015/ES6 JavaScript syntax, reference the resources below:
- Learn ES6 (ECMAScript 2015) (egghead.io video course)
- How to Learn ES6
- ES6 Overview in 350 Bullet Points
Start local development server:
npm run serve
Build assets for deployment:
npm run build
Run unit testing framework (Karma & Jasmine):
npm run test
View all available commands:
npm run
Any variables defined in .env
within the project's root directory will be read by webpack and converted to their corresponding value within the compiled bundle. This will allow you to specify any environment specific configuration, such as, an API URL.