This project was generated with Angular CLI version 7.2.2.
This project use the Bootstrap Grid v4.3.0 and Bootstrap Reboot v4.3.0.
This project have a components playground for test, only is required clone repository
, run npm install
and npm start
.
Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
For use the library in other repository you should copy the folder dist/components-lib
to your repository.
TODO: The coping process will not be necessary when the project is published in a npm repository.
In your module/s you should import and export the ComponentsModule
from the components-lib
.
Also you need include the commons styles in the angular.json
on your build "styles": ["components-lib/src/scss/styles.scss"]
.
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.
Run npm run build-lib
to build the components library on dist/components-lib
.
TODO: Publish this lib to npm repository.
Run npm run build
to build the project in production mode, this instruction also compile the components library.
Run npm run build-dev
to build the project in development mode.
The build artifacts will be stored in the dist/components-playground
directory.
Run npm run serve-dist
to serve the compiled source of dist/components-playground
folder.
Run npm run lint
to linting source files.
Run ng test
to execute the unit tests via Karma. ONLY INITIAL BOOTSTRAP APP IS TESTED
Run ng e2e
to execute the end-to-end tests via Protractor.