jargs
v1.0.0-alpha.1 jargs argv args arguments node parser
dist
npm run commonjs && npm run esm
commonjs
rm -rf commonjs && tsc --project tsconfig.commonjs.json
esm
rm -rf esm && tsc --project tsconfig.esm.json
lint
eslint src/ examples/ tests/
tests
jest --runInBand --coverage
typecheck
tsc --noEmit --project tsconfig.json
format-check
prettier --check '**/*'
format
prettier --write '**/*'
test
npm run format-check && npm run lint && npm run typecheck && npm run tests
prepublishOnly
npm test && npm run dist