Fully-functional, minimal seed project for Angular 1.x using TypeScript.
Features a Gulp-based build process that automates the development as much as possible.
- TypeScript for Angular 1.x development
- Unit Tests using Jasmine.
- Support for building in Test, Debug or Production modes.
- Support for minifying using UglifyJS.
- Support for retrieving type definitions using DefinitelyTyped TSD
- Runs unit tests automatically using Karma.
- Gulp-based build with support for multiple build configurations and rebuilding on file changes - based on Dan Wahlin's TypeScript Workflow
- Angular UI Router.
- Support for bundling all CSS and JavaScript files into separate "dist" directory for running on production servers using gulp-useref
- Cache-busting support for bundled resources using gulp-rev-all
- Clone to your local machine.
- Run following commands from cloned directory (assumes you already have npm/NodeJS and Bower installed globally):
- cd app
- npm install
- bower install
- gulp <"test" | "debug" | "production">
- No arguments to put into "test" (development) mode (auto-watch + unit tests enabled)
- "debug" to create build intended for debugging (no minification, etc)
- "production" to create build intended for production.