athlib
v0.7.2
Published
Athletics Library
Downloads
161
Readme
Athlib Javascript
This is the athlib.js library containing code related to athletics. Produces dist/athlib.web.js and optionally dist/athlib.web.js.map.
ES6 library
This repository contains ES6 code and tests.
Detailed overview.
Installation
After cloning this repository, make changes in package.json so they match your ideas.
#optionally rm -rf package-lock.json node_modules
npm install --no-optional #ignore warnings
npm auditBuild and test the library in umd production format
npm run build #produces dist/athlib.web.jsBuild and test the library in umd debug format
npm run build-debug #produce dist/athlib.web.js.map as wellBuild the library in umd debug format
npm run build-debug-onlyWatch and rebuild the library in umd production format
npm run dev #no testing just watches and rebuildsCheck formatting with eslint
npm run eslintCheck and fix formatting with eslint
npm run eslint-fixTests web code
npm run testTests web code in node mode
npm run test-nodeWatches and tests web code
npm run test:watchProduce a test coverage report
npm run test:coverRun a node repl on dist/athlib.web.js
npm run replLicense
Apache-2.0
