@nexus/schema
v0.14.0-next.2 graphql schema types typescript
build
yarn -s clean && tsc -p tsconfig.cjs.json && tsc -p tsconfig.esm.json
clean
rm -rf dist*
deploy-site
cd website && yarn && yarn gulp link-website && yarn build
dev
tsc -p tsconfig.cjs.json -w
dev:examples
yarn -s link-examples && tsc -w
dev:test
jest --watch
examples
yarn link-examples && cd website && yarn gulp run-examples
format
prettier --write 'src/**/*.ts' 'tests/**/*.ts'
link-examples
cd website && yarn && yarn gulp link-examples
lint
tslint -p tsconfig.json
prepublish
yarn clean && yarn lint && yarn build
postpublish
yarn upgrade-deps || echo 'Oops...'
test
jest
test:ci
jest --coverage --maxWorkers 2
test:debug
node --inspect-brk $(yarn bin)/jest -i --watch
ts-ast-reader
cd examples/ts-ast-reader && yarn start
unlink-examples
cd website && yarn && yarn gulp unlink-examples
upgrade-deps
cd website && yarn && yarn gulp upgrade-deps
website
cd website && yarn && yarn start
release:stable
yarn publish
release:preview
yarn publish --tag next
npm i @nexus/[email protected]
Metadata
- MIT
- Whatever
- Tim Griesser
- released 5/12/2020