-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
136 lines (136 loc) · 4.46 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"name": "my-app-universal",
"version": "0.1.0",
"devDependencies": {
"@types/expo": "^27.0.3",
"@types/expo__vector-icons": "^6.2.2",
"@types/ip": "^0.0.31",
"@types/jest": "^22.2.3",
"@types/lodash": "^4.14.110",
"@types/react": "^16.3.14",
"@types/react-native": "^0.55.14",
"@types/react-native-svg-charts": "^5.0.1",
"@types/react-navigation": "^2.0.19",
"@types/react-test-renderer": "^16.0.1",
"apollo-codegen": "^0.20.1",
"babel-loader": "^7.1.5",
"babel-plugin-dotenv": "^0.1.1",
"babel-plugin-expo-web": "^0.0.5",
"babel-plugin-react-native-web": "^0.4.0",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-plugin-transform-imports": "^1.4.1",
"babel-plugin-transform-runtime": "^6.23.0",
"concurrently": "^3.6.0",
"cross-env": "^5.2.0",
"css-loader": "^1.0.0",
"electron": "^2.0.4",
"electron-builder": "^20.19.2",
"eslint": "^5.0.1",
"express": "^4.16.3",
"file-loader": "^1.1.11",
"husky": "^0.14.3",
"jest-expo": "~27.0.0",
"lint-staged": "^7.2.0",
"prettier": "^1.13.6",
"react-native-scripts": "^1.14.0",
"react-native-scripts-ts": "1.15.0",
"react-native-typescript-transformer": "^1.2.3",
"react-test-renderer": "16.3.1",
"style-loader": "^0.21.0",
"ts-jest": "^22.4.6",
"ts-loader": "^4.4.2",
"tslib": "^1.9.1",
"typescript": "2.9.2",
"wait-on": "^2.1.0",
"webpack": "^4.15.1",
"webpack-cli": "^3.0.8",
"webpack-dev-server": "^3.1.4",
"yargs": "^12.0.2"
},
"main": "./node_modules/react-native-scripts/build/bin/crna-entry-web.js",
"scripts": {
"start:mobile": "node scripts/updateEndpoints && react-native-scripts-ts start",
"eject": "react-native-scripts-ts eject",
"android": "react-native-scripts-ts android",
"ios": "react-native-scripts-ts ios",
"test": "jest",
"start:desktop": "concurrently 'yarn run web' 'wait-on http://localhost:8080/ && yarn run electron'",
"web": "node scripts/updateEndpoints && webpack-dev-server -d --config ./webpack.config.js --inline --hot --colors --content-base public/ --history-api-fallback",
"electron": "cross-env NODE_ENV=development electron public/electron",
"build": "cross-env NODE_ENV=production webpack -p --config ./webpack.config.js",
"preelectron-pack": "yarn build",
"electron-pack": "electron-builder",
"updates-server": "webpack --target=node --mode=production --output=electron-builder-server.prod.js",
"update-ip": "node ./scripts/updateElectronBuilderPublishIp",
"generate": "apollo-codegen introspect-schema http://localhost:4000 --output src/schema.json && apollo-codegen generate ./src/queries.ts --add-typename --schema ./src/schema.json --target typescript --output ./src/__generated__/types.ts",
"precommit": "lint-staged"
},
"jest": {
"globals": {
"ts-jest": {
"useBabelrc": true
}
},
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"preset": "jest-expo",
"testMatch": [
"**/__tests__/**/*.[tj]s?(x)",
"**/?(*.)(spec|test).[tj]s?(x)"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
}
},
"dependencies": {
"antd-mobile": "^2.2.0",
"antd-mobile-rn": "^2.2.0",
"apollo-cache-inmemory": "^1.2.5",
"apollo-cache-persist": "^0.1.1",
"apollo-client": "^2.3.5",
"apollo-link": "^1.2.2",
"apollo-link-error": "^1.1.0",
"apollo-link-http": "^1.5.4",
"apollo-link-queue": "^2.0.1",
"apollo-link-retry": "^2.2.4",
"apollo-link-state": "^0.4.1",
"apollo-link-ws": "^1.0.8",
"chart.js": "^2.7.2",
"electron-log": "^2.2.16",
"electron-updater": "^2.23.3",
"expo": "^27.0.1",
"expo-web": "^0.0.12",
"formik": "^0.11.11",
"graphql": "^0.13.2",
"graphql-tag": "^2.9.2",
"ip": "^1.1.5",
"lodash": "^4.17.10",
"moment": "^2.22.2",
"native-base": "^2.6.1",
"react": "16.3.1",
"react-apollo": "^2.1.6",
"react-chartjs-2": "^2.7.4",
"react-dom": "16.3.1",
"react-native": "~0.55.2",
"react-native-chart-kit": "^1.1.5",
"react-native-dotenv": "^0.1.1",
"react-native-modal": "^6.1.0",
"react-native-svg": "^6.5.1",
"react-native-svg-charts": "^5.2.0",
"react-native-web": "^0.4.0",
"react-navigation": "1.5.11",
"subscriptions-transport-ws": "^0.9.11"
},
"lint-staged": {
"*.{ts,tsx,js,json,css}": [
"prettier --write",
"git add"
]
}
}