Library for showing for Leipzig annotated glosses.
This project consists of:
library/
: Angular library with a gloss viewfrontend/
: frontend showing its features and useful for development of libraryelements/
: export of library using Web Componentselements-demo.html
: demo showing how to import this library using Web Components
Run yarn build library
first.
Run yarn start
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files of the frontend. If you make any changes to the library then you will need to rebuild the library and restart the dev server.
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 yarn build:elements
for building the Web Components. Note the :
!
Run yarn build library
to build the project. The build artifacts will be stored in the dist/
directory.
Run yarn test
to execute the unit tests via Karma.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.
- Compile using
yarn build library
cd dist/luupzig
- Optionally run
npm pack
to test the package locally - Remove the
luupzig-x.xx.x.tgz
file (if generated in 3) - Run
npm publish