graphql-voyager

v1.2.0
GraphQL introspection viewer

lint

eslint --cache --max-warnings 0 .

test

npm run lint && npm run check && npm run testonly && npm run prettier:check && npm run check:spelling

check

tsc

serve

ts-node ./scripts/serve-directory.ts -p 9090 demo-dist

start

npm run build:worker && webpack serve --config=webpack-demo.config.ts --mode=development

stats

NODE_ENV=production webpack --json --config=webpack.config.ts --mode=production > stats.json

bundle

rm -rf dist && npm run bundle:lib && npm run bundle:standalone && npm run bundle:min

prettier

prettier --cache --cache-strategy metadata --write --list-different . **/*.svg

testonly

npm run build:demo && docker-compose up --abort-on-container-exit --build test

changelog

ts-node scripts/gen-changelog.ts

build:demo

npm run build:worker && NODE_ENV=production webpack --config=webpack-demo.config.ts --mode=production

bundle:lib

webpack --config=webpack.config.ts --mode=production --env lib

bundle:min

webpack --config=webpack.config.ts --mode=production --env min

preversion

npm ci --ignore-scripts && npm test

build:worker

npm run clean:worker && docker-compose up --abort-on-container-exit --build build-worker

clean:worker

rm -rf worker-dist

declarations

tsc --emitDeclarationOnly -p tsconfig.lib.json

build:release

npm run build:worker && npm run bundle && npm run compile:middleware && npm run declarations

clean:release

rm -rf middleware

check:spelling

cspell --cache --no-progress '**/*'

prettier:check

prettier --cache --cache-strategy metadata --check . **/*.svg

bundle:standalone

webpack --config=webpack.config.ts --mode=production --env standalone

compile:middleware

tsc -d src/middleware/index.ts --outDir middleware --lib ES6,DOM,esnext.asynciterable

Metadata

  • MIT
  • Whatever
  • Unknown
  • released 4/29/2023

Downloads

Maintainers