express6
v0.0.2 express framework web http rest restful router app api and 1 more...
build
tsc -p tsconfig.cjs.json
build-cjs
tsc -p tsconfig.cjs.json
format:check
prettier --check src/*
format
prettier --write src/*
lint
eslint src --ext .ts,.tsx
lint:fix
eslint --fix src --ext .ts,.tsx
preTest-ci
jq -c '.type = $newVal' --arg newVal 'commonjs' package.json > tmp.$$.json && mv tmp.$$.json package.json && jq -c '.main = $newVal' --arg newVal 'index.js' package.json > tmp.$$.json && mv tmp.$$.json package.json
test
mocha --require test/support/env --reporter spec --bail --check-leaks test/ test/acceptance/
test-ci
istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --require test/support/env --reporter spec --check-leaks test/ test/acceptance/
test-cov
istanbul cover node_modules/mocha/bin/_mocha -- --require test/support/env --reporter dot --check-leaks test/ test/acceptance/
test-tap
mocha --require test/support/env --reporter tap --check-leaks test/ test/acceptance/
prepublishOnly
npm i && npm run build
npm i [email protected]
Metadata
- MIT
- ^14.15 || >=16
- TJ Holowaychuk
- released 11/13/2021