graphql-query-complexity

v0.8.1
Validation rule for GraphQL query complexity analysis
graphql query validation cost complexity analysis

dist

npm run clean && tsc && npm run build

lint

eslint --ext .ts . && prettier --config .prettierrc 'src/**/*.ts' --check

test

npm run lint && npm run testonly

build

tsc

clean

rimraf dist/*

prepare

npm run clean && npm run dist

lint:fix

eslint --ext .ts . --fix && prettier --config .prettierrc 'src/**/*.ts' --write

testonly

mocha --check-leaks --exit --full-trace --require ts-node/register/transpile-only 'src/**/__tests__/**/*-test.{ts,tsx}'

Metadata

  • MIT
  • Whatever
  • Ivo Meißner
  • released 5/4/2021

Downloads

Maintainers