Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/madhusudhand/angular2-cli
Command Line Interface for developing Angular 2 apps
https://github.com/madhusudhand/angular2-cli
Last synced: about 1 month ago
JSON representation
Command Line Interface for developing Angular 2 apps
- Host: GitHub
- URL: https://github.com/madhusudhand/angular2-cli
- Owner: madhusudhand
- License: mit
- Created: 2016-03-21T10:24:19.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-10-03T08:44:42.000Z (about 8 years ago)
- Last Synced: 2024-09-27T17:40:55.337Z (about 2 months ago)
- Language: JavaScript
- Homepage:
- Size: 430 KB
- Stars: 7
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/madhusudhand/angular2-cli.svg?branch=master)](https://travis-ci.org/madhusudhand/angular2-cli)
* [Angular 2][angular] with [Typescript][ts]
* [Pug] (was Jade)
* [SASS]/[LESS]**Note**
This is very much a work in progress.
Currently it is supported for Mac and Linux.
## Setup
> Install [Node.js].
(Requires **Node 4 or greater** and **NPM 3**)```sh
$ npm install -g angular2-cli
```#### Creating your angular2 app
```sh
$ ng2 create [options]
```#### Running your app
```sh
$ cd
$ ng2 init
$ ng2 serve
```#### Running tests
```sh
$ ng2 test
```#### Lint
```sh
$ npm run lint
```#### Dev and Production builds
```sh
$ ng2 build --dev
$ ng2 build --prod$ ng2 serve --dev
$ ng2 serve --prod
```## Help
```sh
$ ng2 --help
$ ng2 --help
```#### placeholder for API references
Add environment specific **api** service urls `src/app/environments/environment.[dev/prod].ts`
import `src/app/environments/environment.ts` to your component and use the service variables for your HTTP requests.
#### Copy files/folders to build folder
If you need any files/folders (such as `CNAME`) needs to be copied to build folder
add those entries to `build-config.js` which is located in the project folder.
## License
----[MIT]
[angular]:
[ut]:
[ts]:
[pug]:
[SASS]:
[LESS]:
[node.js]:
[MIT]: