@redocly/graphql-docs

v0.2.0
Redocly GraphQL docs
Redocly GraphQL API Docs

lint

eslint . --ext .ts,.tsx --cache

test

npm run test:unit

build

npm run clean && rollup -c --failAfterWarnings --configPlugin typescript

clean

rm -rf lib

start

cd playground && npm start

prepare

husky install

lint:fix

eslint . --ext .ts,.tsx --fix

prettier

npm run prettier-base -- --write

ts:check

tsc --noEmit --skipLibCheck

pack:test

(mv "$(npm pack | tail -n 1)" test-app/graphql-docs.tgz)

test:unit

jest

pre-commit

pretty-quick --staged

prettier-base

prettier "**/*.{json,js,jsx,ts,tsx,yml,yaml,html,md}"

prettier:check

npm run prettier-base -- --check

test:unit:watch

jest --watch

prepare-test-app

npm run build && npm run pack:test && cd test-app && npm i graphql-docs.tgz

test:unit:coverage

jest --coverage
npm i @redocly/[email protected]

Metadata

Downloads