-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
44 lines (44 loc) · 1.56 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
{
"name": "App",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "concurrently \"tsc --project tsconfig.json --watch --pretty\" \"react-native start --skipflow\" ",
"test": "npm run build && jest",
"build": "tsc --project tsconfig.json",
"ios": "react-native run-ios --no-packager && npm start",
"get-schema": "apollo-codegen introspect-schema http://localhost:3010/graphql --output schema.json",
"generate-graphql-types": "apollo-codegen generate **/*.graphql --schema schema.json --target ts --output src/schema.ts",
"generate-graphql-documents": "cd ./src; graphql-document-collector **/*.graphql > ../build/documents.json",
"prestart": "npm run get-schema && npm run generate-graphql-documents && npm run generate-graphql-types"
},
"dependencies": {
"@types/graphql": "^0.10.1",
"@types/react": "^15.6.0",
"@types/react-native": "^0.46.9",
"@types/react-redux": "^4.4.47",
"@types/redux": "^3.6.0",
"graphql": "^0.10.5",
"react": "16.0.0-alpha.12",
"react-apollo": "^1.4.8",
"react-native": "0.46.4",
"react-native-better-styles": "^0.1.78",
"react-redux": "^5.0.5",
"redux": "^3.7.2",
"redux-offline": "^2.0.0"
},
"devDependencies": {
"apollo-codegen": "^0.16.1",
"babel-jest": "20.0.3",
"babel-preset-react-native": "2.1.0",
"concurrently": "^3.5.0",
"graphql-document-collector": "^0.1.3",
"jest": "20.0.4",
"react-test-renderer": "16.0.0-alpha.12",
"tslint": "^5.5.0",
"typescript": "^2.4.2"
},
"jest": {
"preset": "react-native"
}
}