ibscommon-lib v0.0.0
IbscommonLib
This project was generated with Angular CLI version 7.3.1.
Run npm run package
to build and package the library
Setup for development of library
- “npm install copyfiles -g”
- Required for copying external resources into compiled library
- “npm install scss-bundle -g”
- Required for style bundling
- “npm install @compodoc/compodoc -g”
- Auto documentation for angular projects
- Team Foundation Server source control setup
- Install “Azure Repos” extension
- Install “Debugger for Chrome” extension
- VS Code
- File->Preferences->settings
- Extensions -> Azure Repos extension
- Tfvs: Location
- C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\tf.exe
script commands
build - build the library
document - generates the documentation for this library. located at ./documentation/index.html
package - builds and packages the library
pacakge:full - runs 'document' then 'package'
publish - NOT WORKING. must manually post to MyGet package location using website https://pcl.myget.org/.
Development server
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.
Code scaffolding
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Build
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.
Running unit tests
Run ng test
to execute the unit tests via Karma.
Running end-to-end tests
Run ng e2e
to execute the end-to-end tests via Protractor.
Further help
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.
4 years ago