0.0.2 • Published 3 years ago
tdm-angular v0.0.2
@tdm/tdm-common-utility
This project contains common Angular features for angular web applications.
##To test locally via the demo application:
ng test
will run karma with all the unit tests.
ng serve
will start a local app that has some demo pages for the components in the package.
##To build and publish the @tdm/tdm-common-utility package:
cd projects/tdm-common-utility
will change to the library's project foldernpm version patch
(ormajor
orminor
as appropriate)cd ../..
to go back to the project folderng build tdm-common-utility
will build the '@tdm/tdm-common-utility' library projectcd dist/tdm-common-utility
will change to the library's dist foldernpm pack
will build a tgz version of the package for local testing (outside the demo project)npm publish
will publish the new version of the package to the tdm npm feedcd ../..
to go back to the project folder
##To use:
npm i @tdm/tdm-common-utility@latest
will install the package. The package exports modules for each feature, so import whatever modules you want to use and off you go!
##run lib
ng build tdm-common-utility --watch
ng build theme --watch
ng build theme-mmcs --watch