To get started:
npm install
npm startnpm run buildcd dist && http-server -o- open browser
If you want to test the update flow as well, continue here:
- make a change to the code
npm run buildcd dist && http-server -o- open browser
This project makes use of a semver-based service worker update pattern. Every update should be done via a pull request to the master branch, and all pull requests should contain an updated CHANGELOG.md and a version bump in the package.json.
startruns your app for development, reloading on file changesstart:buildruns your app after it has been built using the build commandbuildbuilds your app and outputs it in yourdistdirectorytestruns your test suite with Karmalintruns the linter for your project
For most of the tools, the configuration is in the package.json to reduce the amount of files in your project.
If you customize the configuration a lot, you can consider moving them to individual files.