|
| 1 | +# ngx-present |
| 2 | + |
| 3 | +This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.0.0. |
| 4 | + |
| 5 | +## Development server |
| 6 | + |
| 7 | +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. |
| 8 | + |
| 9 | +Run `ng serve --hmr` for a dev server with Hot Module Replacement enabled. |
| 10 | +## Code scaffolding |
| 11 | + |
| 12 | +Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive/pipe/service/class/module`. |
| 13 | + |
| 14 | +## Build |
| 15 | + |
| 16 | +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. |
| 17 | + |
| 18 | +## Running unit tests |
| 19 | + |
| 20 | +Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io). |
| 21 | + |
| 22 | +## Running end-to-end tests |
| 23 | + |
| 24 | +Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/). |
| 25 | +Before running the tests make sure you are serving the app via `ng serve`. |
| 26 | + |
| 27 | +## Further help |
| 28 | + |
| 29 | +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). |
| 30 | + |
| 31 | +## Build and Deploy |
| 32 | + |
| 33 | +`npm run publish` |
| 34 | +Publish to Github pages made available via [angular-cli-ghpages](https://www.npmjs.com/package/angular-cli-ghpages). Check out `package.json` for config string. |
| 35 | + |
| 36 | +## Structure |
| 37 | + |
| 38 | +``` |
| 39 | +. |
| 40 | +├── angular-icon.png |
| 41 | +├── app |
| 42 | +│ ├── animations.ts // file for export Angular animations |
| 43 | +│ ├── app-routing.module.ts |
| 44 | +│ ├── app.component.html |
| 45 | +│ ├── app.component.scss |
| 46 | +│ ├── app.component.spec.ts |
| 47 | +│ ├── app.component.ts |
| 48 | +│ ├── app.module.ts |
| 49 | +│ ├── components-slides // any component slides should be kept here |
| 50 | +│ │ ├── components-slides.module.ts |
| 51 | +│ │ ├── components-slides.scss |
| 52 | +│ │ └── template.component.ts // component slide template |
| 53 | +│ ├── dcl-wrapper.component.ts |
| 54 | +│ ├── default-request-options.service.ts |
| 55 | +│ ├── selective-preloading-strategy.ts |
| 56 | +│ └── slides |
| 57 | +│ ├── slide |
| 58 | +│ │ └── slide.component.ts // SlideComponent interface |
| 59 | +│ ├── slide-area |
| 60 | +│ │ ├── slide-area.component.spec.ts |
| 61 | +│ │ └── slide-area.component.ts |
| 62 | +│ ├── slide-detail |
| 63 | +│ │ ├── slide-detail.component.spec.ts |
| 64 | +│ │ └── slide-detail.component.ts |
| 65 | +│ ├── slides-routing.module.ts |
| 66 | +│ ├── slides.directive.spec.ts |
| 67 | +│ ├── slides.directive.ts |
| 68 | +│ ├── slides.module.ts |
| 69 | +│ └── slides.service.ts // slides should be added here |
| 70 | +├── app-theme.scss |
| 71 | +├── assets // any markdown slides should be kept here |
| 72 | +│ ├── config.json |
| 73 | +│ ├── favicon.ico // Angular favicon for the main slide hr |
| 74 | +│ ├── resources // any slide images should be kept here |
| 75 | +│ │ └── angular.png |
| 76 | +│ └── template.md // markdown slide template |
| 77 | +├── environments |
| 78 | +│ ├── environment.hmr.ts |
| 79 | +│ ├── environment.prod.ts |
| 80 | +│ └── environment.ts |
| 81 | +├── favicon.ico |
| 82 | +├── hmr.ts // Hot Module Reloading configuration |
| 83 | +├── index.html // entry file |
| 84 | +├── main.ts |
| 85 | +├── palette.sass |
| 86 | +├── polyfills.ts |
| 87 | +├── styles.scss |
| 88 | +├── test.ts |
| 89 | +├── tsconfig.app.json |
| 90 | +├── tsconfig.spec.json |
| 91 | +└── typings.d.ts |
| 92 | +``` |
0 commit comments