forked from apollographql/apollo-tooling
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
88 lines (88 loc) · 2.35 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
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"name": "apollo-codegen",
"version": "0.19.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",
"prepare": "npm run clean && npm run compile",
"test": "./node_modules/.bin/jest",
"test:smoke": "npm install && npm run compile && 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",
"npm": ">=5.0"
},
"devDependencies": {
"@types/babel-generator": "^6.25.1",
"@types/babel-types": "^7.0.0",
"@types/babylon": "^6.16.2",
"@types/common-tags": "^1.4.0",
"@types/glob": "^5.0.34",
"@types/graphql": "^0.12.4",
"@types/inflected": "^1.1.29",
"@types/jest": "^21.1.8",
"@types/node-fetch": "^1.6.7",
"@types/rimraf": "^2.0.2",
"@types/yargs": "^10.0.0",
"ansi-regex": "^3.0.0",
"jest": "^22.0.3",
"jest-matcher-utils": "^22.0.3",
"ts-jest": "^22.0.0",
"typescript": "^2.6.2"
},
"dependencies": {
"@babel/generator": "7.0.0-beta.38",
"@babel/types": "7.0.0-beta.38",
"change-case": "^3.0.1",
"common-tags": "^1.5.1",
"core-js": "^2.5.3",
"glob": "^7.1.2",
"graphql": "^0.13.1",
"graphql-config": "^1.1.1",
"inflected": "^2.0.3",
"node-fetch": "^1.7.3",
"rimraf": "^2.6.2",
"source-map-support": "^0.5.0",
"yargs": "^10.0.3"
},
"jest": {
"testEnvironment": "node",
"setupFiles": [
"<rootDir>/src/polyfills.js"
],
"setupTestFrameworkScriptFile": "<rootDir>/test/test-utils/matchers.ts",
"testMatch": [
"**/test/**/*.(js|ts)",
"**/test/*.(js|ts)",
"**/__tests__/*.(js|ts)"
],
"testPathIgnorePatterns": [
"<rootDir>/node_modules/",
"<rootDir>/lib/",
"<rootDir>/test/fixtures/",
"<rootDir>/test/test-utils"
],
"transform": {
"^.+\\.(ts|js)x?$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"moduleFileExtensions": [
"ts",
"js"
],
"globals": {
"ts-jest": {
"skipBabel": true
}
}
}
}