UNPKG

graphql-codegen

Version:

Generate client code based on a GraphQL schema and query documents

41 lines (40 loc) 1.29 kB
{ "name": "graphql-codegen", "version": "0.4.0", "description": "Generate client code based on a GraphQL schema and query documents", "main": "./lib/index.js", "bin": "./lib/cli.js", "scripts": { "compile": "babel src --out-dir lib", "watch": "babel src --out-dir lib --watch", "prepublish": "npm run compile", "test": "mocha --recursive --compilers js:babel-register", "regenerate-expected-output": "apollo-codegen generate test/starwars/HeroAndFriendsNames.graphql --schema test/starwars/schema.json --output test/swift/expectedOutput/HeroAndFriendsNamesAPI.swift" }, "repository": { "type": "git", "url": "apollostack/apollo-codegen" }, "author": "Martijn Walraven <martijn@martijnwalraven.com>", "license": "MIT", "devDependencies": { "babel-cli": "^6.11.4", "babel-plugin-transform-runtime": "^6.12.0", "babel-preset-es2015": "^6.13.2", "babel-preset-stage-0": "^6.5.0", "chai": "^3.5.0", "chai-subset": "^1.3.0", "common-tags": "^1.3.0", "glob": "^7.0.5", "mocha": "^2.5.3" }, "dependencies": { "babel-runtime": "^6.11.6", "change-case": "^3.0.0", "graphql": "^0.7.0", "inflected": "^1.1.7", "mkdirp": "^0.5.1", "node-fetch": "^1.5.3", "yargs": "^5.0.0" } }