@js-joda/core

v5.0.0
a date and time library for javascript
date time timezone

lint

npx eslint .

test

NODE_ENV=test npx mocha --timeout 5000 --require @babel/register ./test/*Test_mochaOnly.js ./test/*Test.js ./test/**/*Test.js ./test/**/**/*Test.js

test-ci

npm run build-dist && npm run test && npm run test-browser && npm run test-ts-definitions && npm run test-coverage

build-dist

npx rollup -c rollup.config.js

build-md-toc

npx markdown-toc -i CheatSheet.md

test-browser

npx karma start --reporters=dots --single-run

test-coverage

NODE_ENV=test COVERAGE=1 npx nyc --report-dir=build/coverage --reporter=lcov --reporter html npx mocha --timeout 5000 --require @babel/register --reporter progress ./test/*Test.js ./test/**/*Test.js ./test/**/**/*Test.js

build-gz-check

gzip -kf dist/js-joda.min.js && ls -alh ./dist/js-joda.min.js*

prepublishOnly

npm run build-dist

test-saucelabs

npx karma start --reporters="dots,saucelabs" --browsers="sl_chrome,sl_ie,sl_firefox,sl_ios_simulator" --single-run=true

test-ts-definitions

TS_NODE_PROJECT='test/typescript_definitions/tsconfig.json' NODE_ENV=test mocha --timeout 5000 --require ts-node/register ./test/typescript_definitions/*.ts
npm i @js-joda/[email protected]

Metadata

Downloads

Maintainers