Files
apollo-codegen/package.json
2017-07-26 11:43:28 +02:00

79 lines
1.9 KiB
JSON

{
"name": "apollo-codegen",
"version": "0.16.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": {
"clean": "rm -rf lib",
"compile": "tsc",
"watch": "tsc -w",
"prepublish": "npm run clean && npm run compile",
"test": "jest",
"test:smoke": "rm -rf node_modules && npm install --prod && node ./lib/cli.js && echo 'Smoke Test Passed'"
},
"repository": {
"type": "git",
"url": "apollographql/apollo-codegen"
},
"author": "Martijn Walraven <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=6.0"
},
"devDependencies": {
"@types/glob": "^5.0.30",
"@types/graphql": "^0.10.1",
"@types/inflected": "^1.1.29",
"@types/lodash": "^4.14.71",
"@types/mkdirp": "^0.5.0",
"@types/node-fetch": "^1.6.7",
"@types/yargs": "^8.0.0",
"ansi-regex": "^3.0.0",
"common-tags": "^1.3.0",
"jest": "^20.0.4",
"jest-matcher-utils": "^20.0.0",
"typescript": "^2.4.2"
},
"dependencies": {
"change-case": "^3.0.0",
"core-js": "^2.4.1",
"glob": "^7.0.5",
"graphql": "^0.10.0",
"inflected": "^2.0.2",
"lodash": "^4.2.0",
"mkdirp": "^0.5.1",
"node-fetch": "^1.5.3",
"sjcl": "^1.0.6",
"source-map-support": "^0.4.15",
"yargs": "^8.0.1"
},
"jest": {
"globals": {
"ts-jest": {
"skipBabel": true
}
},
"setupFiles": [
"<rootDir>/src/polyfills.js"
],
"testMatch": [
"**/test/**/*.(js|ts)",
"**/test/*.(js|ts)"
],
"testPathIgnorePatterns": [
"<rootDir>/node_modules/",
"<rootDir>/lib/",
"<rootDir>/test/starwars/",
"<rootDir>/test/preprocessor.js"
],
"transform": {
".(js|ts)": "<rootDir>/test/preprocessor.js"
},
"moduleFileExtensions": [
"ts",
"js"
]
}
}