dsebastien / angularjs-webpack-starter

An AngularJS Webpack Starter kit
https://github.com/dsebastien/angularjs-webpack-starter
MIT License
30 stars 11 forks source link
angular angularjs starter-kit template templates

AngularJS Webpack Starter

Dependency Status devDependency Status License

About

A Webpack Starter kit featuring:

A complete build based on Webpack/npm scripts and tons of features:

Check out the change log

Angular 2

As you might know, Angular 2 is right around the corner. Be aware that this starter kit will soon be deprecated.

Note that this starter kit is derived from the Angular 2 Starter Kit: https://github.com/AngularClass/angular2-webpack-starter

Status and roadmap

Check out the issues/labels & milestones to get an idea of what's next. For existing features, refer to the previous section.

Installation

First of all, make sure that you have installed NodeJS & npm: https://nodejs.org/en/.

Two approaches:

Now you can download all the necessary dependencies using the setup script: npm run setup.

Finally, you can start the development server using npm start.

Check out the scripts section below for more information about the available commands.

Upgrade

Check out the upgrade page

Scripts

Frequently Asked Questions (FAQ)

Proxy

If you are behind a corporate proxy, you should ensure that your configuration allows you to work correctly.

First, you should be able to configure the HTTP_PROXY and HTTPS_PROXY in your environment so that all CLI tools (e.g., git, typings, ...) can go through the proxy.

Don't forget to also define the NO_PROXY variable to avoid going through the proxy for local resources (e.g., localhost, local domains, etc).

Note that the .typingsrc file is there to avoid issues caused by SSL termination that is often done in corporate environments. Note that the configuration we provide is INSECURE as it just disables certificate checks. Rather, you should adapt the .typingsrc configuration file so that it continues to check the certificate chain but accepts self-signed certificates generated by your company. Refer to the documentation of typings for more details about the possibilities: https://github.com/typings/typings

If the above does not work in your case, then check to make sure that the user agents are allowed through the proxy. Some corporate environments filter Web access to specific user agents (e.g., IE). The following user agents should be allowed through:

Production server

The production server that you can start via npm run server:prod uses Superstatic (https://github.com/firebase/superstatic). It is configured via superstatic.json to enable support for push-state (HTML 5 mode)

Links

Contributing

Releasing a version

TODO

See the project issues

License

This project and all associated source code is licensed under the terms of the MIT License.