-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
66 lines (66 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
{
"name": "relay-modern-flow-jest-enzyme-example",
"version": "0.9.0",
"description": "Example of testing a Relay Modern app using Flow, Jest and Enzyme.",
"repository": "https://github.com/zth/relay-modern-flow-jest-enzyme-example",
"main": "./src/main.js",
"keywords": [
"relay",
"react",
"flow",
"flowtype",
"jest",
"testing",
"relaymodern",
"react-testing-library",
"graphql",
"components"
],
"scripts": {
"test": "jest src --coverage",
"test:watch": "jest src --watch",
"flow": "flow",
"graphql:generate-assets": "graphql-generate-flow-schema-assets --schema ./config/schema.graphql -e --enums-file-path ./src/constants/enums.js -o --object-types-file-path ./src/constants/object-types.js",
"relay": "relay-compiler --noFutureProofEnums=true --src ./src --schema ./config/schema.graphql",
"relay:watch": "yarn relay --watch"
},
"author": "Gabriel Nordeborn",
"license": "MIT",
"jest": {
"setupFiles": [
"./config/jest-shims.js",
"./config/jest-setup.js"
],
"setupTestFrameworkScriptFile": "./config/jest-setupTestFramework.js",
"collectCoverageFrom": [
"src/**/*"
]
},
"dependencies": {
"react": "^16.4.2",
"react-dom": "^16.4.2",
"react-relay": "^1.6.2",
"relay-compiler": "^1.6.2",
"relay-runtime": "^1.6.2"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-jest": "^21.2.0",
"babel-plugin-relay": "^1.4.1",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-preset-es2015": "^6.24.1",
"babel-preset-flow": "^6.23.0",
"babel-preset-react": "^6.24.1",
"flow-bin": "^0.79.1",
"flow-enum-validator": "^1.0.0",
"flow-typed": "^2.5.1",
"graphql": "^0.13.2",
"graphql-generate-flow-schema-assets": "^1.0.0",
"graphql-query-test-mock": "^0.9.4",
"jest": "^23.5.0",
"nock": "^9.6.1",
"react-testing-library": "^5.0.0",
"regenerator-runtime": "^0.11.1"
}
}