@js-joda/core

v1.12.0
a date and time library for javascript
date time timezone

lint

../../node_modules/.bin/eslint ./src ./test

test

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

test-ci

npm run build-dist && npm run test && npm run test-browser -- --browsers "Firefox,PhantomJS" && npm run test-ts-definitions && npm run test-coverage

build-dist

npx rollup -c rollup.config.js

prepublish

npm run build-dist

build-md-toc

markdown-toc -i CheatSheet.md

test-browser

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

test-coverage

NODE_ENV=test COVERAGE=1 ../../node_modules/.bin/nyc --report-dir=build/coverage --reporter=lcov --reporter html ./node_modules/.bin/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*

test-saucelabs

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

test-ts-definitions

tsc --noImplicitAny --strict --noEmit --pretty --lib ES6 test/typescript_definitions/js-joda-tests.ts
npm i @js-joda/[email protected]

Metadata

Downloads

Maintainers