forked from ueno-llc/react-native-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
130 lines (130 loc) · 4.17 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
{
"name": "react-native-starter",
"version": "1.0.5",
"private": true,
"scripts": {
"build:env": "sh ./scripts/build-env.sh",
"build:e2e:ios": "detox build --configuration ios.sim.release",
"build:e2e:android": "detox build --configuration android.emu.release",
"start": "node node_modules/react-native/local-cli/cli.js start",
"rename": "sh ./scripts/rename.sh",
"podspec": "sh ./scripts/podspec.sh",
"test": "jest",
"test:e2e": "yarn build:e2e:ios && yarn test:e2e:ios",
"test:e2e:ios": "detox test --configuration ios.sim.release",
"test:e2e:android": "detox test --configuration android.emu.release",
"lint": "yarn tslint",
"tslint": "tslint 'src/**/*.ts?(x)'",
"precommit": "lint-staged",
"prepush": "npm run test",
"prepare": "patch-package && if [ -f ./scripts/postinstall.sh ]; then sh ./scripts/postinstall.sh; fi"
},
"lint-staged": {
"*.{ts,tsx}": [
"tslint"
]
},
"dependencies": {
"core-decorators": "0.20.0",
"date-fns": "1.29.0",
"jsc-android": "224109.1.0",
"lodash": "4.17.11",
"mobx": "5.5.0",
"mobx-react": "5.2.8",
"mobx-state-tree": "3.5.0",
"react": "16.5.2",
"react-native": "0.57.2",
"react-native-code-push": "5.4.2",
"react-native-config": "0.11.5",
"react-native-firebase": "4.3.8",
"react-native-navigation": "2.0.2571",
"react-native-sentry": "0.39.0",
"react-native-version-number": "0.3.4"
},
"devDependencies": {
"@babel/core": "7.1.0",
"@babel/plugin-proposal-decorators": "7.1.0",
"@firebase/app-types": "0.3.2",
"@types/core-decorators": "^0.20.0",
"@types/date-fns": "^2.6.0",
"@types/enzyme": "3.1.14",
"@types/enzyme-adapter-react-16": "1.0.3",
"@types/html-entities": "1.2.16",
"@types/jest": "23.3.3",
"@types/lodash": "4.14.116",
"@types/mobx-devtools-mst": "0.9.0",
"@types/react": "16.4.14",
"@types/react-native": "0.57.1",
"@types/react-native-navigation": "2.0.0",
"@types/react-test-renderer": "16.0.3",
"babel-jest": "23.6.0",
"babel-plugin-module-resolver": "3.1.1",
"detox": "9.0.4",
"enzyme": "3.7.0",
"enzyme-adapter-react-16": "1.6.0",
"husky": "0.14.3",
"jest": "23.6.0",
"lint-staged": "7.3.0",
"mobx-devtools": "0.9.18",
"mobx-devtools-mst": "0.9.18",
"patch-package": "5.1.1",
"postinstall-prepare": "1.0.1",
"react-dom": "16.5.2",
"react-native-rename": "2.2.2",
"react-native-typescript-transformer": "1.2.10",
"react-native-ueno-css-modules": "1.0.12",
"react-test-renderer": "16.5.2",
"schedule": "0.4.0",
"ts-jest": "23.10.3",
"tslib": "1.9.3",
"tslint": "5.11.0",
"tslint-config-airbnb": "5.11.0",
"tslint-react": "3.6.0",
"typescript": "3.1.1"
},
"jest": {
"preset": "react-native",
"setupFiles": [
"<rootDir>/scripts/jest-setup.js"
],
"transform": {
"^.+\\.tsx?$": "ts-jest",
"^.+\\.jsx?$": "<rootDir>/node_modules/react-native/jest/preprocessor.js",
"^.+\\.css$": "<rootDir>/scripts/jest-css.js"
},
"modulePaths": [
"<rootDir>"
],
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"testPathIgnorePatterns": [
"<rootDir>/node_modules/",
"<rootDir>/e2e/"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
},
"detox": {
"test-runner": "jest",
"specs": "e2e",
"configurations": {
"ios.sim.release": {
"binaryPath": "ios/build/Build/Products/Release-iphonesimulator/react-native-starter.app",
"build": "export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -workspace ios/react-native-starter.xcworkspace -scheme react-native-starter -configuration Release -sdk iphonesimulator -derivedDataPath ios/build -quiet",
"type": "ios.simulator",
"name": "iPhone 7 Plus"
},
"android.emu.release": {
"binaryPath": "android/app/build/outputs/apk/release/app-release.apk",
"build": "pushd android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release && popd",
"type": "android.emulator",
"name": "Nexus_5X_API_28"
}
}
}
}