Test-Editor test execution navigator gui angular component
This project was generated with Angular CLI version 1.7.4.
Make sure to have a working nix installation. Please ensure that the nixpkgs-unstable channel is available. It
can be added with nix-channel --add https://nixos.org/channels/nixpkgs-unstable.
To enter the development environment, execute NIXPKGS_ALLOW_UNFREE=1 nix-shell in this repos root directory. For even more convenience,
please install direnv which will enter the development environment automatically for you.
Once within the development environment, run yarn install to resolve all necessary dependencies.
Run yarn run start 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 yarn run build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.
Run yarn run test or yarn run test:once to execute the unit tests via Karma.
Run yarn run e2e to execute the end-to-end tests via Protractor.
If there is a locally installed chrome version, it might conflict with the version used within this project. This is due to some quirky resolution strategy of the karma-chrome-launcher. One way to work around this issue is to make the locally installed chrome version inaccessible (e.g. rename its folder, remove it from the path). Since e2e tests are not run that often, this inconvenience isn't that bothersome.
Run yarn run lint to execute the linter for the project.
Run yarn run packagr to bundle the library into the dist folder via ng-packagr
Accepting a pullrequest, which essentially is merged into the master, will automatically publish a new (patch) version of this package to npm (see npm-registry)
In order to create a release, the (minor) version needs to be increased and tagged. Checkout the master branch, make sure no local changes are present. Execute yarn version, for example:
yarn version --minor
After the commit and tag is pushed Travis will automatically publish the tagged version.
To get more help on the Angular CLI use ng help or go check out the Angular CLI README.
Description of angular library packaging go here