apollo-codegen
Version:
Generate API code or type annotations based on a GraphQL schema and query documents
60 lines (59 loc) • 1.54 kB
JSON
{
"name": "apollo-codegen",
"version": "0.12.6",
"description": "Generate API code or type annotations based on a GraphQL schema and query documents",
"main": "./lib/index.js",
"bin": "./lib/cli.js",
"scripts": {
"compile": "babel src --out-dir lib --source-maps",
"watch": "babel src --out-dir lib --watch --source-maps",
"prepublish": "rm -rf lib && npm run compile",
"test": "jest"
},
"repository": {
"type": "git",
"url": "apollographql/apollo-codegen"
},
"author": "Martijn Walraven <martijn@martijnwalraven.com>",
"license": "MIT",
"engines": {
"node": ">=6.0"
},
"devDependencies": {
"ansi-regex": "^2.1.1",
"babel-cli": "^6.24.1",
"babel-jest": "^20.0.3",
"babel-plugin-transform-object-rest-spread": "^6.23.0",
"babel-preset-env": "^1.4.0",
"babel-register": "^6.24.1",
"common-tags": "^1.3.0",
"jest": "^20.0.4",
"jest-matcher-utils": "^20.0.0",
"regenerator-runtime": "^0.10.5"
},
"dependencies": {
"babel-polyfill": "^6.23.0",
"change-case": "^3.0.0",
"glob": "^7.0.5",
"graphql": "^0.10.0",
"inflected": "^1.1.7",
"mkdirp": "^0.5.1",
"node-fetch": "^1.5.3",
"source-map-support": "^0.4.2",
"yargs": "^8.0.1"
},
"jest": {
"testMatch": [
"**/test/**/*.js",
"**/test/*.js"
],
"testPathIgnorePatterns": [
"<rootDir>/node_modules/",
"<rootDir>/lib/",
"<rootDir>/test/starwars/"
],
"setupFiles": [
"<rootDir>/src/env-setup.js"
]
}
}