express-graphql

v0.7.1
Production ready GraphQL HTTP middleware.
express restify connect http graphql middleware api

prepublish

. ./resources/prepublish.sh

test

npm run lint && npm run check && npm run testonly

testonly

mocha $npm_package_options_mocha

lint

eslint src

prettier

prettier --write 'src/**/*.js'

check

flow check

build

rm -rf dist/* && babel src --ignore __tests__ --out-dir dist && npm run build:flow

build:flow

find ./src -name '*.js' -not -path '*/__tests__*' | while read filepath; do cp $filepath `echo $filepath | sed 's/\/src\//\/dist\//g'`.flow; done

watch

node resources/watch.js

cover

babel-node node_modules/.bin/isparta cover --root src --report html node_modules/.bin/_mocha -- $npm_package_options_mocha

cover:lcov

babel-node node_modules/.bin/isparta cover --root src --report lcovonly node_modules/.bin/_mocha -- $npm_package_options_mocha

preversion

npm test

start

babel-node examples/index.js

Metadata

Downloads