forked from microsoft/appcenter-sampleapp-react-native
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
79 lines (79 loc) · 2.45 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
{
"name": "appcenter-sampleapp-react-native",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "react-native start",
"android": "react-native run-android",
"ios": "react-native run-ios",
"build": "npm install && cd ./android && ./gradlew build && cd ../ios && pod install --repo-update && cd ..",
"clean": "rm -rf ./node_modules **/{.project,*.iml,build} ./ios/{Pods,*.xcworkspace} ./android/{.gradle,.idea}",
"test": "jest",
"lint": "eslint .",
"format": "prettier --write \"**/*.+(js|ts|tsx)\""
},
"dependencies": {
"@react-native-community/cli-platform-android": "^3.0.3",
"@types/react": "^16.9.17",
"@types/react-native": "^0.60.28",
"@types/react-navigation": "^3.4.0",
"appcenter": "2.6.1",
"appcenter-analytics": "2.6.1",
"appcenter-crashes": "2.6.1",
"react": "^16.12.0",
"react-native": "^0.61.5",
"react-native-code-push": "^6.0.0",
"react-native-gesture-handler": "^1.5.3",
"react-native-iphone-x-helper": "^1.2.1",
"react-native-reanimated": "^1.4.0",
"react-native-screens": "^2.0.0-alpha.22",
"react-navigation": "^4.0.10",
"react-navigation-drawer": "^2.3.3",
"react-navigation-stack": "^1.10.3",
"react-navigation-tabs": "^2.7.0"
},
"devDependencies": {
"@babel/core": "^7.7.7",
"@babel/runtime": "^7.7.7",
"@react-native-community/eslint-config": "^0.0.6",
"@types/jest": "^24.0.25",
"@types/react-test-renderer": "^16.9.1",
"babel-jest": "^24.8.0",
"eslint": "^6.8.0",
"jest": "24.9.0",
"metro-react-native-babel-preset": "^0.57.0",
"react-native-typescript-transformer": "^1.2.13",
"react-test-renderer": "^16.12.0",
"ts-jest": "^24.2.0",
"typescript": "^3.7.4"
},
"jest": {
"preset": "react-native",
"transform": {
"^.+\\.jsx?$": "<rootDir>/node_modules/babel-jest",
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"transformIgnorePatterns": [
"node_modules/(?!(react-[a-z|-]*)/)"
],
"globals": {
"ts-jest": {
"useBabelrc": true
}
},
"setupFiles": [
"./node_modules/appcenter/test/AppCenterMock.js",
"./node_modules/appcenter-analytics/test/AppCenterAnalyticsMock.js",
"./node_modules/appcenter-crashes/test/AppCenterCrashesMock.js"
]
}
}