apollo-link-retry

v0.3.0
Retry Apollo Link for GraphQL Network Stack

pretest

npm run build

test

npm run test-only --

posttest

npm run lint

test-only

mocha --reporter spec --full-trace dist/tests/tests.js

test-watch

mocha --reporter spec --full-trace dist/tests/tests.js --watch

coverage

istanbul cover ./node_modules/mocha/bin/_mocha -- --reporter dot --full-trace dist/tests/tests.js

postcoverage

remap-istanbul --input coverage/coverage.json --type lcovonly --output coverage/lcov.info

lint

tslint --type-check -p tsconfig.json src/*.ts && tslint --type-check -p tsconfig.json tests/*.ts

prebuild

npm run clean:dist

build

tsc -p .

postbuild

cp -R ./dist/src/. ./lib

watch

tsc -w -p .

clean

npm run clean:dist && npm run clean:coverage

clean:dist

rimraf dist/* && rimraf lib/*

clean:coverage

rimraf coverage/*

prepublishOnly

npm run clean && npm run build

Metadata

  • MIT
  • Whatever
  • Evans Hauser
  • released 8/8/2017

Downloads