apollo-codegen
Version:
Generate API code or type annotations based on a GraphQL schema and query documents
44 lines (43 loc) • 1.22 kB
JSON
{
"name": "apollo-codegen",
"version": "0.12.0",
"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": "mocha --recursive --compilers js:babel-register"
},
"repository": {
"type": "git",
"url": "apollographql/apollo-codegen"
},
"author": "Martijn Walraven <martijn@martijnwalraven.com>",
"license": "MIT",
"engines": {
"node": ">=4.0"
},
"devDependencies": {
"babel-cli": "^6.11.4",
"babel-plugin-transform-runtime": "^6.12.0",
"babel-preset-full-node4": "^1.0.0",
"babel-register": "^6.16.3",
"chai": "^3.5.0",
"chai-subset": "^1.3.0",
"common-tags": "^1.3.0",
"mocha": "^3.1.2"
},
"dependencies": {
"babel-runtime": "^6.20.0",
"glob": "^7.0.5",
"source-map-support": "^0.4.2",
"change-case": "^3.0.0",
"graphql": "^0.9.1",
"inflected": "^1.1.7",
"mkdirp": "^0.5.1",
"node-fetch": "^1.5.3",
"yargs": "^6.4.0"
}
}