graphql-tools-fork
v8.6.1 GraphQL Apollo JavaScript TypeScript Mock Schema Schema Language Tools
clean
rimraf dist
precompile
npm run clean
compile
tsc
pretest
npm run clean && npm run compile
test
npm run testonly
posttest
npm run lint && npm run prettier:check
lint
eslint --ext .js,.ts src
lint:watch
esw --watch --cache --ext .js,.ts src
watch
tsc -w
testonly
mocha --reporter spec --full-trace ./dist/test/**.js --require source-map-support/register
testonly:watch
mocha -w --reporter spec --full-trace ./dist/test/**.js --require source-map-support/register
coverage
istanbul cover _mocha -- --reporter dot --full-trace ./dist/test/**.js
postcoverage
remap-istanbul --input coverage/coverage.json --type lcovonly --output coverage/lcov.info
prepublishOnly
npm run compile
prettier
prettier --trailing-comma all --single-quote --write src/**/*.ts
prettier:check
prettier --trailing-comma all --single-quote --check src/**/*.ts
prerelease
npm test
release
npm run releaseonly
releaseonly
standard-version