@hackmd/chai-http
v4.3.5 chai chai-plugin browser http request vendor supertest superagent
build
npm run build:js && npm run build:ts
prebuild:js
rm -rf dist
build:js
simplifyify lib/http.js --outfile dist/chai-http.js --bundle --minify --debug --standalone chaiHttp
build:ts
cd types && tsc
start
npm-run-all --parallel watch server
watch
npm run build:js -- --watch
server
http-server -o -c-1
test
istanbul cover --report lcovonly _mocha
coverage
if [ -z "$COVERALLS_REPO_TOKEN" ]; then cat coverage/lcov.info | coveralls; fi
release
npm run build && semantic-release