A utility for working with the hashchange
event and window.location.hash
.
npm install
npm run lint
Builds the library from sources at ./src/
into ./lib/
.
npm run build
Generate documentation with jsdoc
into ./docs/out
.
npm run build-docs
Generate and run docs. This will start an http-server
which will serve the docs from ./docs/out
at http://localhost:8080.
npm run docs
Runs tests with headless Chrome.
npm test
Runs tests with headless Chrome and leaves the server running so you can manually run the tests in any browser by navigating to http://localhost:9876/debug.html
npm run test:watch
Print file sizes (source, minified, gzipped, minified gzipped etc.)
./print-file-sizes.sh