https://github.com/jgodi/angular-library-starter
Angular starter library that is AOT/code-splitting ready
https://github.com/jgodi/angular-library-starter
angular library starter-kit
Last synced: 2 days ago
JSON representation
Angular starter library that is AOT/code-splitting ready
- Host: GitHub
- URL: https://github.com/jgodi/angular-library-starter
- Owner: jgodi
- Created: 2017-04-03T17:23:08.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-17T14:40:11.000Z (about 9 years ago)
- Last Synced: 2025-08-13T07:52:01.493Z (9 months ago)
- Topics: angular, library, starter-kit
- Language: JavaScript
- Homepage: https://jgodi.github.io/angular-library-starter
- Size: 368 KB
- Stars: 3
- Watchers: 0
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# ng-starter-library [](http://badge.fury.io/js/ng-starter-library) [](https://npmjs.org/ng-starter-library)
[](https://angular.io/styleguide)
[](https://travis-ci.org/jgodi/angular-library-starter)
[](https://codecov.io/gh/jgodi/angular-library-starter)
[](https://david-dm.org/jgodi/angular-library-starter)
[](https://npmjs.org/ng-starter-library)
[](https://npmjs.org/ng-starter-library)
## Table of contents
1. [Getting Started](#getting-started)
2. [Installation instructions](#installation-instructions)
3. [Usage & Demo](#usage--demo)
4. [API](#api)
5. [Troubleshooting](#troubleshooting)
6. [Contributing](#contribution)
7. [License](#license)
# Getting Started
```bash
# clone the repository
git clone git@github.com:jgodi/angular-library-starter.git
# install dependencies
npm install # yarn
# build the src
npm run build
# link the library to demo
npm run link
# start the demo
npm start
# to live-watch the library, in a second terminal run
npm run build:watch
```
# Installation instructions
Install `ng-library-starter` from `npm`
```bash
npm install ng-library-starter --save
```
## How to use it with:
- `angular-cli` please refer to [getting-started-with-ng-cli](https://github.com/jgodi/angular-library-starter/blob/master/docs/getting-started/ng-cli.md)
- `angular-seed` please refer to [getting-started-with-angular-seed](https://github.com/jgodi/angular-library-starter/blob/master/docs/getting-started/angular-seed.md)
- `AoT using ngc and rollup` please refer to [ng-library-starter-with-aot](https://github.com/jgodi/angular-library-starter/blob/master/docs/getting-started/aot.md)
# Usage & Demo
Main source of API documentation and usage scenarious available here:
[http://jgodi.github.io/angular-library-starter/](http://jgodi.github.io/angular-library-starter/)
## Credits
Huge thanks to [Valor Software](https://github.com/valor-software) for their great angular component libraries which this was lifted from as a starter!