forked from michalchudziak/react-native-geolocation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
124 lines (124 loc) · 4.48 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
{
"name": "@react-native-community/geolocation",
"version": "2.0.2",
"description": "React Native Geolocation Module for iOS and Android",
"react-native": "js/index.js",
"main": "lib/commonjs/index.js",
"files": [
"lib/",
"js/",
"typings/",
"/android",
"!/android/build",
"/ios",
"/*.podspec"
],
"typings": "typings/index.d.ts",
"author": "React Native Community",
"contributors": [
"Janic Duplessis <janic@th3rdwave.coffee>",
"Michal Chudziak <michal.chudziak@gmail.com>",
"Matt Oakes <hello@mattoakes.net>"
],
"homepage": "https://github.com/react-native-community/react-native-geolocation#README.md",
"license": "MIT",
"scripts": {
"start": "react-native start",
"test": "yarn validate:eslint && yarn validate:flow && yarn test:jest",
"validate:eslint": "eslint 'js/**/*.js' 'example/**/*.js'",
"validate:flow": "flow check",
"test:jest": "jest js/",
"build:e2e:android:debug": "detox build -c android.emu.debug",
"build:e2e:android:release": "detox build -c android.emu.release",
"test:e2e:android:debug": "detox test -c android.emu.debug",
"test:e2e:android:release": "detox test -c android.emu.release",
"build:e2e:ios:debug": "detox build -c ios.sim.debug",
"build:e2e:ios:release": "detox build -c ios.sim.release",
"test:e2e:ios:debug": "detox test -c ios.sim.debug",
"test:e2e:ios:release": "detox test -c ios.sim.release",
"prepare": "bob build"
},
"keywords": [
"react-native",
"geolocation",
"location"
],
"peerDependencies": {
"react": "*",
"react-native": "*"
},
"devDependencies": {
"@babel/core": "^7.5.5",
"@babel/runtime": "^7.5.5",
"@react-native-community/bob": "^0.6.1",
"@react-native-community/eslint-config": "^0.0.5",
"@semantic-release/git": "^7.0.16",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.2",
"babel-jest": "^24.9.0",
"babel-plugin-module-resolver": "^3.2.0",
"detox": "^14.0.2",
"eslint": "^5.16.0",
"eslint-config-prettier": "^6.0.0",
"eslint-plugin-prettier": "3.0.1",
"flow-bin": "^0.92.0",
"jest": "^24.9.0",
"metro-react-native-babel-preset": "0.56.0",
"prettier": "^1.18.2",
"react": "16.8.3",
"react-native": "0.59.10",
"react-test-renderer": "16.8.3",
"semantic-release": "^15.13.21"
},
"jest": {
"preset": "react-native",
"setupFilesAfterEnv": [
"<rootDir>/jest.setup.js"
]
},
"detox": {
"test-runner": "jest",
"runner-config": "example/e2e/config.json",
"configurations": {
"ios.sim.debug": {
"binaryPath": "example/ios/build/Build/Products/Debug-iphonesimulator/GeolocationExample.app",
"build": "export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -project example/ios/GeolocationExample.xcodeproj -destination 'platform=iOS Simulator,name=iPhone X' -scheme GeolocationExample -parallelizeTargets -configuration Debug -derivedDataPath example/ios/build -UseModernBuildSystem=YES | xcpretty -k",
"type": "ios.simulator",
"name": "iPhone X"
},
"ios.sim.release": {
"binaryPath": "example/ios/build/Build/Products/Release-iphonesimulator/GeolocationExample.app",
"build": "export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -project example/ios/GeolocationExample.xcodeproj -destination 'platform=iOS Simulator,name=iPhone X' -scheme GeolocationExample -parallelizeTargets -configuration Release -derivedDataPath example/ios/build -UseModernBuildSystem=YES | xcpretty -k",
"type": "ios.simulator",
"name": "iPhone X"
},
"android.emu.debug": {
"binaryPath": "example/android/app/build/outputs/apk/debug/app-debug.apk",
"build": "export RCT_NO_LAUNCH_PACKAGER=true && pushd example/android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug && popd",
"type": "android.emulator",
"name": "TestingAVD"
},
"android.emu.release": {
"binaryPath": "example/android/app/build/outputs/apk/release/app-release.apk",
"build": "export RCT_NO_LAUNCH_PACKAGER=true && pushd example/android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release && popd",
"type": "android.emulator",
"name": "TestingAVD"
}
},
"specs": ""
},
"dependencies": {},
"@react-native-community/bob": {
"source": "js",
"output": "lib",
"targets": [
[
"commonjs",
{
"flow": true
}
],
"module"
]
}
}