JuriTools / pjangular

Angular website / Web extension for prettifying the ejustice law website
GNU General Public License v3.0
0 stars 0 forks source link

PjAngular

Build Test

Build

Requirements

Build unpacked

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.

In firefox load using page about:debugging

Build extension package

Run ng build --configuration production --source-map=false --output-hashing=none && web-ext build -s 'dist/pj-angular/' to build the packed extension for production in the web-ext-artifacts directory.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Release

  1. Update version number in package.json and manifest.json
  2. Run tests
  3. Run npm install
  4. Commit to release tag
  5. Package extension npm pack:prod
  6. Upload to Chrome webstore
  7. Upload to Firefox webstore