https://github.com/katallaxie/angular-preboot
:metal: A teeny tiny Angular (4 :tada:) seed to get your next great project booted. It is powered by great ideas and Webpack. It does AutoDLL, AoT, PostCss, Autoprefixer, and some other cool things.
https://github.com/katallaxie/angular-preboot
angular angular2 angular4 aot boilerplate dll jasmine javascript karma protractor tslint typescript webpack webpack2
Last synced: 9 months ago
JSON representation
:metal: A teeny tiny Angular (4 :tada:) seed to get your next great project booted. It is powered by great ideas and Webpack. It does AutoDLL, AoT, PostCss, Autoprefixer, and some other cool things.
- Host: GitHub
- URL: https://github.com/katallaxie/angular-preboot
- Owner: katallaxie
- License: mit
- Created: 2017-02-28T07:49:08.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2020-06-02T13:45:00.000Z (over 5 years ago)
- Last Synced: 2025-03-25T08:03:34.269Z (9 months ago)
- Topics: angular, angular2, angular4, aot, boilerplate, dll, jasmine, javascript, karma, protractor, tslint, typescript, webpack, webpack2
- Language: TypeScript
- Homepage:
- Size: 658 KB
- Stars: 11
- Watchers: 2
- Forks: 1
- Open Issues: 97
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Angular Preboot
[](https://github.com/mgechev/angular2-style-guide)
[](https://twitter.com/SwiftOnSecurity)
[](https://github.com/auchenberg/volkswagen)
[](https://travis-ci.org/katallaxie/angular-preboot)
[](https://greenkeeper.io/)
[](http://opensource.org/licenses/MIT)
[](https://stackshare.io/katallaxie/katallaxie)
> An [Angular](https://angular.io) boilerplate, that has a lot of features and is driven by great spirit.
## Features
> This boilerplate is opinionated, it does not want to achieve all things possible
* [Webpack 2](http://webpack.github.io/) + DLL Support
* [TypeScript](http://www.typescriptlang.org/)
* [@types](https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=3&cad=rja&uact=8&ved=0ahUKEwjgjdrR7u_NAhUQ7GMKHXgpC4EQFggnMAI&url=https%3A%2F%2Fwww.npmjs.com%2F~types&usg=AFQjCNG2PFhwEo88JKo12mrw_4d0w1oNiA&sig2=N69zbO0yN8ET7v4KVCUOKA)
* [TsLint](http://palantir.github.io/tslint/)
* [PostCss](https://github.com/postcss/postcss) + [Autoprefixer](https://github.com/postcss/autoprefixer)
* [Codelyzer](https://github.com/mgechev/codelyzer)
* [Istanbul](https://github.com/gotwarlost/istanbul)
* [Jest](https://facebook.github.io/jest)
* [Protractor](https://angular.github.io/protractor/)
* [Jasmine](https://github.com/jasmine/jasmine)
* [E2E](https://angular.github.io/protractor/#/faq#what-s-the-difference-between-karma-and-protractor-when-do-i-use-which-)
* [Docker](https://docker.io)
* [Lighthouse](https://github.com/GoogleChrome/lighthouse)
* [Prettier](https://github.com/prettier/prettier)
## Quick Start
> We support Node.js `>= 6.9.1`, NPM `>= 3.x` [Yarn](https://yarnpkg.com)
> If you downgrade to `protractor@4.9.x` you could run the boilerplate in Node `> 4.7.x`
> We recommend and support [Visual Studio Code](https://code.visualstudio.com/)
> We recommend to use [NVM](https://github.com/creationix/nvm) to manage your Node.js version and dependencies
> We highly recommend to use
```
# clone the repo
# --depth 1 removes all but one .git commit history
git clone --depth 1 https://github.com/katallaxie/angular-preboot.git
# change to repo folder
cd angular-preboot
# install the repo with npm, or yarn
npm install
# start the webpack-dev-server
npm start
# if you're in China use cnpm
# https://github.com/cnpm/cnpm
```
> You can run `npm run help` to see all available scripts
Open [http://0.0.0.0:3000](http://0.0.0.0:3000) or [http://localhost:3000](http://localhost:3000) in your favorite Browser.
### Build and deploy your great project
> We have `npm run fmt` with `.clang-format` in place to format your code
> We have a [Firebase](https://firebase.google.com/) config in the repo
```
# build the AoT version of your project
npm run build:prod
# build a ready to ship Docker for your project
npm run build:docker
```
### Testing is import for quality products
> We have [Jest](https://facebook.github.io/jest) and [Protractor](http://www.protractortest.org/) in place
```
# run your unit tests
npm run tests
# or develop with unit tests in the loop
npm run watch:test
# run your e2e tests
npm run e2e
```
### Prettify your code
> We have [Prettier](https://github.com/prettier/prettier) in place for your
> we also recommend [Prettier for VSCode](https://github.com/prettier/prettier)
```
npm run fmt
```
# License
[MIT](/LICENSE)