Skip to main content
Module

x/graphql_ts/package.json

A reference implementation of GraphQL for JavaScript
Go to Latest
File
{ "name": "graphql", "version": "0.12.3", "description": "A Query Language and Runtime which can target any service.", "contributors": [ "Lee Byron <lee@leebyron.com> (http://leebyron.com/)", "Nicholas Schrock <schrockn@fb.com>", "Daniel Schafer <dschafer@fb.com>" ], "license": "MIT", "main": "index.js", "module": "module/index.js", "homepage": "https://github.com/graphql/graphql-js", "bugs": { "url": "https://github.com/graphql/graphql-js/issues" }, "repository": { "type": "git", "url": "http://github.com/graphql/graphql-js.git" }, "options": { "mocha": "--require ./resources/mocha-bootload --check-leaks --full-trace --timeout 15000 src/**/__tests__/**/*-test.js" }, "scripts": { "test": "npm run lint && npm run check && npm run testonly", "testonly": "babel-node ./node_modules/.bin/_mocha $npm_package_options_mocha", "t": "babel-node ./node_modules/.bin/_mocha --require ./resources/mocha-bootload", "lint": "eslint --rulesdir ./resources/lint src || (printf '\\033[33mTry: \\033[7m npm run lint -- --fix \\033[0m\\n' && exit 1)", "prettier": "prettier --write 'src/**/*.js'", "check": "flow check", "check-cover": "for file in {src/*.js,src/**/*.js}; do echo $file; flow coverage $file; done", "build": "npm run build:clean && npm run build:npm && npm run build:npm-flow && npm run build:module && npm run build:module-flow && npm run build:package-json", "build:clean": "rm -rf ./dist", "build:package-json": "node ./resources/copy-package-json.js", "build:npm": "babel src --optional runtime --ignore __tests__ --out-dir dist/", "build:npm-flow": "find ./src -name '*.js' -not -path '*/__tests__*' | while read filepath; do cp $filepath `echo $filepath | sed 's/\\/src\\//\\/dist\\//g'`.flow; done", "build:module": "BABEL_MODULES=1 babel src --optional runtime --ignore __tests__ --out-dir dist/module/", "build:module-flow": "find ./src -name '*.js' -not -path '*/__tests__*' | while read filepath; do cp $filepath `echo $filepath | sed 's/\\/src\\//\\/dist\\/module\\//g'`.flow; done", "watch": "babel-node ./resources/watch.js", "cover": "babel-node ./node_modules/.bin/isparta cover --root src --report html _mocha -- $npm_package_options_mocha", "cover:lcov": "babel-node ./node_modules/.bin/isparta cover --root src --report lcovonly _mocha -- $npm_package_options_mocha", "preversion": ". ./resources/checkgit.sh && npm test", "prepublish": ". ./resources/prepublish.sh", "gitpublish": ". ./resources/gitpublish.sh" }, "dependencies": { "iterall": "1.1.3" }, "devDependencies": { "babel-cli": "6.24.1", "babel-eslint": "7.2.3", "babel-plugin-syntax-async-functions": "6.13.0", "babel-plugin-syntax-async-generators": "6.13.0", "babel-plugin-transform-class-properties": "6.24.1", "babel-plugin-transform-es2015-modules-commonjs": "6.26.0", "babel-plugin-transform-flow-strip-types": "6.22.0", "babel-plugin-transform-object-rest-spread": "6.23.0", "babel-preset-env": "^1.5.2", "chai": "4.1.1", "chai-json-equal": "0.0.1", "chai-spies-next": "^0.8.0", "chai-subset": "1.5.0", "coveralls": "2.13.1", "eslint": "4.4.1", "eslint-plugin-babel": "4.1.2", "eslint-plugin-flowtype": "2.35.0", "eslint-plugin-prettier": "^2.3.1", "flow-bin": "0.61.0", "isparta": "4.0.0", "mocha": "3.5.0", "prettier": "^1.8.2", "sane": "2.0.0" }}