roxeteer / webpack-angular-template

Webpack + Angular.js application template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Webpack + Angular.js application template

Simple template for an Angular.js application. Uses Webpack and npm scripts.

Features:

  • Angular + ui-router + Restangular
  • ES6 (compiled with Babel)
  • SASS/SCSS + Autoprefixer
  • Unit testing with Karma/Jasmine/PhantomJS

Installation

$ npm install

Run in development

$ npm start

By default, the server runs at http://localhost:8080.

To use different port, run it with:

$ npm start -- --port 8081

Create deployment package

# $ rm -rf dist
$ npm run build

The files are created in the dist/ directory.

Running unit tests

$ npm test

About

Webpack + Angular.js application template


Languages

Language:JavaScript 95.0%Language:HTML 3.8%Language:CSS 1.2%