Skip to content

Commit

Permalink
latest angular cli version updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Nitin Kumar Mishra committed Jun 25, 2017
1 parent 88b9732 commit 7847639
Show file tree
Hide file tree
Showing 272 changed files with 18,612 additions and 270 deletions.
108 changes: 56 additions & 52 deletions .angular-cli.json
Original file line number Diff line number Diff line change
@@ -1,57 +1,61 @@
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"project": {
"name": "sb-admin-cli-update"
},
"apps": [
{
"root": "src",
"outDir": "dist",
"assets": [
"assets",
"favicon.ico"
],
"index": "index.html",
"main": "main.ts",
"polyfills": "polyfills.ts",
"test": "test.ts",
"tsconfig": "tsconfig.app.json",
"testTsconfig": "tsconfig.spec.json",
"prefix": "app",
"styles": [
"styles.css"
],
"scripts": [],
"environmentSource": "environments/environment.ts",
"environments": {
"dev": "environments/environment.ts",
"prod": "environments/environment.prod.ts"
}
}
],
"e2e": {
"protractor": {
"config": "./protractor.conf.js"
}
},
"lint": [
{
"project": "src/tsconfig.app.json"
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"project": {
"name": "sb-admin-angular4-bootstrap4"
},
{
"project": "src/tsconfig.spec.json"
"apps": [
{
"root": "src",
"outDir": "dist",
"assets": [
"assets",
"favicon.ico",
".htaccess"
],
"index": "index.html",
"main": "main.ts",
"polyfills": "polyfills.ts",
"test": "test.ts",
"tsconfig": "tsconfig.app.json",
"testTsconfig": "tsconfig.spec.json",
"prefix": "app",
"styles": [
"../node_modules/font-awesome/css/font-awesome.css",
"styles/app.scss"
],
"scripts": [
"../node_modules/chart.js/dist/Chart.js"
],
"environmentSource": "environments/environment.ts",
"environments": {
"dev": "environments/environment.ts",
"prod": "environments/environment.prod.ts"
}
}
],
"e2e": {
"protractor": {
"config": "./protractor.conf.js"
}
},
{
"project": "e2e/tsconfig.e2e.json"
}
],
"test": {
"karma": {
"config": "./karma.conf.js"
"lint": [
{
"project": "src/tsconfig.app.json"
},
{
"project": "src/tsconfig.spec.json"
},
{
"project": "e2e/tsconfig.e2e.json"
}
],
"test": {
"karma": {
"config": "./karma.conf.js"
}
},
"defaults": {
"styleExt": "scss",
"component": {}
}
},
"defaults": {
"styleExt": "css",
"component": {}
}
}
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ root = true
[*]
charset = utf-8
indent_style = space
indent_size = 2
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true

Expand Down
51 changes: 40 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,57 @@
# SbAdminCliUpdate
# SB Admin rewritten in Angular4 and Bootstrap 4

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.1.3.
Simple Dashboard Admin App built using Angular 4 and Bootstrap 4

## Development server
This project is a port of the famous Free Admin Bootstrap Theme [SB Admin v4.0](http://startbootstrap.com/template-overviews/sb-admin-2/) to Angular4 Theme.

Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
Powered by [StartAngular](http://startangular.com/) & [StrapUI](http://strapui.com/)

## Code scaffolding
## [Demo](http://rawgit.com/start-angular/SB-Admin-BS4-Angular-4/master/dist/)

Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|module`.
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.0.0.

## Build
### Introduction
Provides fast, reliable and extensible starter for the development of Angular projects.

Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build.
`sb-admin-bs4-angular4` provides the following features:
- Developed using boostrap-v4.0.0-alpha.6
- angular-v4.2.4
- angular/cli-v1.1.3
- Following the best practices.
- Ahead-of-Time compilation support.
- Official Angular i18n support.
- Production and development builds.
- Tree-Shaking production builds.

## Running unit tests
### How to start
**Note** that this seed project requires **node >=v6.9.0 and npm >=3**.

In order to start the project use:
```bash
$ git clone [email protected]:start-angular/SB-Admin-BS4-Angular-4.git
$ cd SB-Admin-BS4-Angular-4
# install the project's dependencies
$ npm install
# watches your files and uses livereload by default run `npm start` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
$ npm start
# prod build, will output the production application in `dist`
# the produced code can be deployed (rsynced) to a remote server
$ npm run build
```

### Code scaffolding

Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive/pipe/service/class/module`.

### Running unit tests

Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Running end-to-end tests
### Running end-to-end tests

Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
Before running the tests make sure you are serving the app via `ng serve`.

## Further help
### Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
Loading

0 comments on commit 7847639

Please sign in to comment.