npm install
/ npm update
to install or update dependencies (see package.json
)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
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.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
package.json
and manifest.json
npm install
npm pack:prod