ts-graphql-plugin

v4.0.3
TypeScript Language Service Plugin for GraphQL
typescript graphql language service

prepare

husky install

clean

rimraf -g lib "e2e/*.log" "*.tsbuildinfo"

build

run-s build:ts build:doc

build:ts

tsc -p . && cp src/tsmodule.js lib && cp src/tsmodule.d.ts lib

build:doc

npm run doc:toc

lint

eslint "src/**/*.{ts,tsx}"

jest

jest

jest:ci

jest --coverage --maxWorkers=4

e2e

node e2e/run.js

e2e:ci

c8 -o e2e_coverage -x e2e -r json -i "src/**/*" node e2e/run.js

test

npm run format:check && npm run lint && npm run jest:ci && npm run e2e:ci

prettier

prettier .

format

npm run prettier -- --write

format:check

npm run prettier -- --check

doc:toc

ts-node -P tools/tsconfig.json tools/add-toc.ts

watch:compile

tsc --watch -p .

watch:jest

jest --watch

watch

npm run run clean && run-p watch:*
npm i ts-graphql-plugin

Metadata

  • MIT
  • >=18
  • Quramy
  • released 7/23/2024

Downloads

Maintainers