Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/frontainer/angular-frontplate
[WIP]angular2 starter kit with frontplate-cli
https://github.com/frontainer/angular-frontplate
Last synced: about 7 hours ago
JSON representation
[WIP]angular2 starter kit with frontplate-cli
- Host: GitHub
- URL: https://github.com/frontainer/angular-frontplate
- Owner: frontainer
- License: mit
- Created: 2016-10-10T11:45:27.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-01-10T01:41:50.000Z (about 8 years ago)
- Last Synced: 2025-01-18T01:35:21.342Z (19 days ago)
- Language: CSS
- Homepage:
- Size: 146 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# frontplate
angular2 starter kit with frontplate-cli
This template is still beta.
## Dependence
* [NodeJS](https://nodejs.org/) 5.0以上
* [frontplate-cli](https://www.npmjs.com/package/frontplate-cli)## Get Started
### 準備
## Get Started
frontplate-cliをインストールします。
```
npm i frontplate-cli -g
``````
npm i
npm start
```### 全体をビルド
すべてのファイルをビルドします。開発を始める前に必ず一度はビルドしましょう。
```
npm run build
```### ファイル監視の実行 & サーバー起動
以下のコマンドを実行するとブラウザで開発中のページが開きます。この状態でCSSやJSを修正するとユニットテストやLintも同時に実行され、ブラウザが自動的に更新されます。
```
# srcディレクトリを監視
npm run serve
```### リリースファイル作成
ひと通りの開発が完了した時点で、リリース用のファイルを作成します。
productionタスクではJSとCSSのソースマップが出力されなくなり、高度に圧縮されます。
```
npm run production
```productionモードでサーバーを起動して確認するためには上のコマンド実行後に次のコマンドを実行します。
```
npm run serve:prod
```### 依存関係の表示
```
npm run map
```## ToDo
- カバレッジを取る仕組み
## Dependencies documentation
このテンプレートは[frontplate-cli](https://github.com/frontainer/frontplate-cli)がベースになっています。
詳細なドキュメントはCLIのドキュメントを参照してください。
[frontplate-cli](https://github.com/frontainer/frontplate-cli)