superagent
v7.1.0 agent ajax ajax api async await axios cancel client and 22 more...
nyc
cross-env NODE_ENV=test nyc ava
lint
xo && remark . -qfo && eslint -c .lib.eslintrc lib && eslint -c .dist.eslintrc dist
test
npm run build && npm run lint && make test
build
npm run build:clean && npm run build:lib && npm run build:dist
minify
cross-env NODE_ENV=production browserify src/node/index.js -o dist/superagent.min.js -s superagent -g [ babelify --configFile ./.dist.babelrc ] -p tinyify
prepare
husky install
coverage
nyc report --reporter=text-lcov > coverage.lcov && codecov
build:lib
babel --config-file ./.lib.babelrc src --out-dir lib
browserify
browserify src/node/index.js -o dist/superagent.js -s superagent -g [ babelify --configFile ./.dist.babelrc ]
build:dist
npm run browserify && npm run minify
test-http2
npm run build && npm run lint && make test-node-http2
build:clean
rimraf lib dist
npm i [email protected]
Metadata
- MIT
- >=6.4.0 <13 || >=14
- TJ Holowaychuk
- released 1/18/2022