forked from micimize/graphql-to-dart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
73 lines (73 loc) · 2.38 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
{
"name": "graphql-to-dart",
"version": "1.1.5-beta",
"description": "generate dart json_serializable classes using graphql-code-generator",
"repository": {
"type": "git",
"url": "git+https://github.com/micimize/graphql-to-jaguar-dart.git"
},
"license": "MIT",
"scripts": {
"build": "webpack",
"test": "codegen-templates-scripts test",
"test-server": "starwars-test-graphql-server",
"pretest": "yarn build",
"example:gql-gen": "cd example/ && graphql-codegen",
"example:source-gen": "cd example/ && flutter packages pub run build_runner build",
"example:format": "cd example/ && flutter format lib/graphql/*.dart",
"build-example": "yarn example:gql-gen && yarn example:source-gen && yarn example:format",
"prepublishOnly": "if [[ ! $PWD =~ dist$ ]]; then npm run _dist:nopublish; fi",
"_dist:nopublish": "echo 'Use `npm run dist` instead of `npm publish`!' && exit 1",
"_dist:prep": "yarn build && cp package.json dist && cp README.md dist",
"_dist:post": "rm -f dist/package.json && rm -f dist/README.md",
"dist": "npm run _dist:prep && npm publish dist && npm run _dist:post"
},
"dependencies": {
"@graphql-codegen/add": "^1.9.1",
"@graphql-codegen/cli": "^1.9.1",
"@graphql-codegen/core": "^1.9.1",
"@graphql-codegen/near-operation-file-preset": "^1.11.0",
"@graphql-codegen/plugin-helpers": "^1.9.1",
"graphql-codegen-core": "^0.18.0",
"graphql-codegen-plugin-handlebars-helpers": "0.18.0",
"graphql-codegen-plugin-helpers": "^0.18.2",
"linewrap": "^0.2.1",
"typescript": "3.7.3"
},
"devDependencies": {
"@babel/core": "^7.3.4",
"@babel/node": "^7.2.2",
"awesome-typescript-loader": "^5.2.1",
"codegen-templates-scripts": "0.18.0",
"graphql": "14.1.1",
"graphql-code-generator": "^0.18.0",
"raw-loader": "^4.0.0",
"starwars-test-graphql-server": "0.2.0-alpha3",
"webpack": "^4.41.2",
"webpack-cli": "^3.3.10"
},
"main": "./index.js",
"typings": "./index.d.ts",
"typescript": {
"definition": "./index.d.ts"
},
"jest": {
"globals": {
"ts-jest": {
"enableTsDiagnostics": false
}
},
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
}
}