graphql-auth-directive

v0.4.1
GraphQL @auth directive that protects resources from unauthenticated and unauthorized access
auth authentication authorization graphql typescript

build

npx tsc --build tsconfig.json

build:clean

npx tsc --build --clean tsconfig.json

build:examples

npx tsc --build examples/tsconfig.json

build:watch

npx tsc --build --watch tsconfig.json

check

npx npm-run-all --npm-path npm --serial check:*

check:format

npx prettier --check .

check:license

npx license-check-and-add check -f resources/license.json

check:lint

npx eslint .

check:markdown

npx markdownlint "**/*.md"

check:spell

npx cspell lint --config cspell.json --no-progress --show-context "**"

fix

npx npm-run-all --npm-path npm --serial fix:*

fix:format

npx prettier --write .

fix:license

npx license-check-and-add add -f resources/license.json

fix:lint

npx eslint --fix .

fix:markdown

npx markdownlint --fix "**/*.md"

prepare

npx ts-patch install -s && npx husky install

prepublish

npm run build:clean && npm run build

test

npx jest --verbose --coverage

test:ci

npm run test -- --ci --forceExit --detectOpenHandles --runInBand

test:watch

npm run test -- --watch

Metadata

  • MIT
  • >= 14
  • Carlo Corradini
  • released 10/18/2022

Downloads

Maintainers