Frontend assets for the Tax platform
Unless you're making changes to the frontend assets, you'll most likely be using service-manager to serve assets to your frontends. The ASSETS_FRONTEND service is responsible for serving released artifacts and can be started with:
$ sm --start ASSETS_FRONTEND
The command below will kick off a local node.js server on a predefined port (9032). This serves the assets with sourcemaps via the gulp task runner.
$ ./server.sh dev
The Karma test runner is used to run our JS tests with the command:
$ ./server.sh test
To add an auto watch and run test whilst developing use the command:
$ npm run test:dev
To run tests and check dependencies use the command:
$ ./server.sh test-dev
Compiles the assets for production.
$ ./server.sh build
Compiles the assets for npm. This bumps the version number in package-build.json
$ ./server.sh build --release=$VERSION_NUMBER
(Where $VERSION_NUMBER
is a string in semver format. i.e. 1.50.0)
- Fork this repo
- Create a feature branch
- Push to your fork
- Open a pull request back to this repo
Check out the wiki
This code is open source software licensed under the Apache 2.0 License.