This is the repository for building and developing @klippa/ngx-grid. How to use the library is documented in projects/klippa/ngx-grid/README.md
The actual library is in projects/klippa/ngx-grid
. You might notice that there is a package.json
both in the root
of the repo, and in the library. This is important.
The root package.json
is used for building the angular library. Any dependencies that are only
required to compile the library and are not needed at runtime should be specified here.
The /projects/klippa/ngx-grid/package.json
is used for publishing and using the library. Any dependencies that would
be required at runtime should be specified here as peerDependencies
. Angular will not allow normal dependencies
here.
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.
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
.
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.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.