This is the athlib.js library containing code related to athletics. Produces dist/athlib.web.js
and optionally dist/athlib.web.js.map
.
This repository contains ES6 code and tests.
After cloning this repository, make changes in package.json
so they match your ideas.
#optionally rm -rf package-lock.json node_modules
# you might need to add --legacy-peer-deps
npm install --no-optional #ignore warnings
npm audit
Until we upgrade all the packages, you will need to be on version 16.0 of node which uses older version of SSL: https://stackoverflow.com/questions/69692842/error-message-error0308010cdigital-envelope-routinesunsupported
nvm install 16.0
nvm use 16.0
npm run build #produces dist/athlib.web.js
npm run build-debug #produce dist/athlib.web.js.map as well
npm run build-debug-only
npm run dev #no testing just watches and rebuilds
npm run eslint
npm run eslint-fix
npm run test
npm run test-node
npm run test:watch
npm run test:cover
npm run repl
Apache-2.0