-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
90 lines (90 loc) · 3.13 KB
/
package.json
File metadata and controls
90 lines (90 loc) · 3.13 KB
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
{
"name": "reactnativeapp",
"version": "0.1.0",
"private": true,
"devDependencies": {
"babel-jest": "^22.4.3",
"babel-preset-react-native-stage-0": "^1.0.1",
"detox": "^7.3.6",
"esdoc": "^1.0.4",
"esdoc-ecmascript-proposal-plugin": "^1.0.0",
"esdoc-jsx-plugin": "^1.0.0",
"esdoc-standard-plugin": "^1.0.0",
"jest": "^22.4.3",
"jest-react-native": "^18.0.0",
"react-test-renderer": "16.3.0-alpha.1",
"redux-devtools-extension": "^2.13.2"
},
"scripts": {
"start": "react-native start -- --config rn-cli.config.js",
"android": "react-native run-android",
"ios": "react-native run-ios",
"test": "jest",
"build:docs": "./node_modules/.bin/esdoc",
"build:e2e:ios": "detox build --configuration ios.sim.release",
"test:e2e:ios": "detox build --configuration ios.sim.release && detox test --configuration ios.sim.release",
"build:e2e:android": "detox build -c android.emu.release",
"test:e2e:android": "detox test -c android.emu.release"
},
"jest": {
"verbose": true,
"preset": "react-native",
"transform": {
"^.+\\.js$": "babel-jest",
"^.+\\.jsx$": "babel-jest"
},
"globals": {
"NODE_ENV": "test"
},
"moduleFileExtensions": [
"js",
"jsx",
"json"
],
"testPathIgnorePatterns": [
"/e2e/",
"/node_modules/"
],
"testMatch": ["**/**.unit.test.js"]
},
"detox": {
"test-runner": "jest",
"runner-config": "./jest/detox_config.json",
"specs": "e2e",
"configurations": {
"ios.sim.release": {
"binaryPath": "ios/build/Build/Products/Release-iphonesimulator/reactnativeapp.app",
"build": "export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -project ios/reactnativeapp.xcodeproj -scheme reactnativeapp -configuration Release -sdk iphonesimulator -derivedDataPath ios/build -quiet",
"type": "ios.simulator",
"name": "iPhone X"
},
"ios.sim.debug": {
"binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/reactnativeapp.app",
"build": "xcodebuild -project ios/reactnativeapp.xcodeproj -scheme reactnativeapp -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build",
"type": "ios.simulator",
"name": "iPhone X"
},
"android.emu.debug": {
"binaryPath": "android/app/build/outputs/apk/debug/app-debug.apk",
"build": "pushd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug && popd",
"type": "android.emulator",
"name": "Nexus_5_API_25"
},
"android.emu.release": {
"binaryPath": "android/app/build/outputs/apk/release/app-release-unsigned.apk",
"build": "pushd android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release && popd",
"type": "android.emulator",
"name": "Android_ARMv7a_Nougat"
}
}
},
"dependencies": {
"react": "16.3.0",
"react-native": "0.55.3",
"react-native-foldview": "git+https://github.com/DigitalVibes/react-native-foldview.git",
"react-redux": "^5.0.7",
"redux": "4.0.0",
"redux-observable": "^0.18.0",
"rxjs": "5.0.0"
}
}