-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
68 lines (68 loc) · 1.88 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
{
"name": "cross-platform-base",
"version": "0.1.0",
"private": true,
"devDependencies": {
"react-native-scripts-ts": "1.15.0",
"react-scripts-ts": "2.17.0",
"@types/jest": "^22.2.3",
"@types/react": "^16.3.14",
"@types/react-native": "^0.55.14",
"@types/react-test-renderer": "^16.0.1",
"jest-expo": "~27.0.0",
"react-native-typescript-transformer": "^1.2.3",
"react-test-renderer": "16.3.1",
"tslib": "^1.9.1",
"typescript": "^2.8.3"
},
"main": "./node_modules/react-native-scripts-ts/build/bin/crna-entry.js",
"scripts": {
"clean": "rm -Rf build",
"web": "ln -sf tsconfig.web.json tsconfig.json && react-scripts-ts start",
"watchweb": "ln -sf tsconfig.web.json tsconfig.json && node scripts/watch.js",
"build": "ln -sf tsconfig.web.json tsconfig.json && react-scripts-ts build",
"native": "ln -sf tsconfig.native.json tsconfig.json && react-native-scripts-ts start",
"android": "ln -sf tsconfig.native.json tsconfig.json && react-native-scripts-ts android",
"ios": "ln -sf tsconfig.native.json tsconfig.json && react-native-scripts-ts ios",
"test": "ln -sf tsconfig.native.json tsconfig.json && node node_modules/jest/bin/jest.js --watch"
},
"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": {
"@types/classnames": "^2.2.6",
"@types/node": "^10.9.2",
"@types/react-dom": "^16.0.7",
"classnames": "^2.2.6",
"expo": "^27.0.1",
"mobx": "^5.1.0",
"mobx-react": "^5.2.5",
"moment": "^2.20.1",
"react": "16.3.1",
"react-dom": "16.3.1",
"react-native": "~0.55.2",
"route-recognizer": "^0.3.4",
"typestyle": "^2.0.1",
"xhr-request-promise": "^0.1.2"
}
}