timeago.js
v4.0.2 timeago datetime *** time ago date javascript timeago
lint
eslint src/**/* __tests__/**/*
lint-staged
lint-staged
size
size-limit
test
jest
ci
npm run lint && npm run test && npm run size && lint-md .
build:umd
rimraf ./dist && rollup -c && cp -rf dist/ gh-pages && npm run size
build:cjs
rimraf ./lib && tsc --module commonjs --outDir lib
build:esm
rimraf ./esm && tsc --module ESNext --outDir esm
build
npm run build:cjs && npm run build:esm && npm run build:umd
prepublishOnly
npm run build