angular2-webpack-seed
This is a minimalistic Angular 2+ seed project, featuring:
- Angular 4.3
- TypeScript 2.4
- Bootstrap 4 (Beta)
- Ahead-of-Time Compilation
- Tree Shaking and Compression — Tiny production files
🐁 - Sass
- ng-bootstrap
- ngx-translate
- webpack 3
- @ngtools/webpack — Makes AOT + Sass possible
🎉 - Karma
- Jasmine
- TSLint
- Codelyzer
This seed follows the Angular Style Guide.
How to use
Install dependencies
npm install
# or
yarnDevelopment server
Use the following command to start a local development server which will display the application at http://localhost:3000.
npm start
# or
yarn startTest your code
The following command will run your unit tests with Karma.
npm test
# or
yarn testAnalyze your code with TSLint
Run TSLint with rules based on the Angular Style Guide with this command.
npm run lint
# or
yarn lintBuild for production
Production files are located in dist.
This project uses Ahead-of-Time Compilation and Tree Shaking for much smaller production files. Files over a threshold of 1KB are also gzipped, which results in approximately 150KB for all JS/HTML/CSS in this project.
npm run build
# or
yarn build
Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
