date-duration
v1.5.0 time duration iso iso8601 iso 8601 date
lint
eslint src test
build
babel --source-maps -d dist src
test-timezone1
export TZ=Europe/Brussels && mocha --require @babel/register
test-timezone2
export TZ=America/New_York && mocha --require @babel/register
test
npm run test-timezone1 && npm run test-timezone2
clean
rm -rf dist
preversion
npm run lint && npm run test
postversion
git push && git push --tags
prepublishOnly
npm run lint && npm run test && npm run build
postpublish
npm run clean
npm i [email protected]
Metadata
- MIT
- Whatever
- Sam Hauglustaine
- released 2/19/2019