forked from apollographql/apollo-tooling
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
75 lines (75 loc) · 1.98 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"name": "apollo-codegen",
"version": "0.17.0-alpha.3",
"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": "./node_modules/.bin/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 <martijn@martijnwalraven.com>",
"license": "MIT",
"engines": {
"node": ">=6.0"
},
"devDependencies": {
"@types/common-tags": "^1.2.5",
"@types/glob": "^5.0.30",
"@types/graphql": "^0.11.3",
"@types/inflected": "^1.1.29",
"@types/jest": "^20.0.6",
"@types/mkdirp": "^0.5.0",
"@types/node-fetch": "^1.6.7",
"@types/yargs": "^8.0.2",
"@types/node": "12.12.6",
"ansi-regex": "^3.0.0",
"common-tags": "^1.4.0",
"jest": "^21.1.0",
"jest-matcher-utils": "^21.1.0",
"typescript": "^2.5.2"
},
"dependencies": {
"change-case": "^3.0.1",
"core-js": "^2.5.0",
"glob": "^7.1.2",
"graphql": "^0.11.3",
"inflected": "^2.0.2",
"mkdirp": "^0.5.1",
"node-fetch": "^1.7.2",
"source-map-support": "^0.4.15",
"yargs": "^8.0.2"
},
"jest": {
"testEnvironment": "node",
"setupFiles": [
"<rootDir>/src/polyfills.js"
],
"setupTestFrameworkScriptFile": "<rootDir>/test/test-utils/matchers.ts",
"testMatch": [
"**/test/**/*.(js|ts)",
"**/test/*.(js|ts)"
],
"testPathIgnorePatterns": [
"<rootDir>/node_modules/",
"<rootDir>/lib/",
"<rootDir>/test/fixtures/",
"<rootDir>/test/test-utils"
],
"transform": {
".(js|ts)": "<rootDir>/test/test-utils/preprocessor.js"
},
"moduleFileExtensions": [
"ts",
"js"
]
}
}