This repository has been archived by the owner on Oct 14, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
85 lines (85 loc) · 3.74 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
{
"name": "@react-native-community/status-bar",
"version": "1.0.3",
"description": "Native module for mutating status bar state",
"main": "./js/StatusBar.js",
"scripts": {
"test:flow": "flow",
"test:typescript": "tsc ./index.d.ts",
"lint": "npx eslint ./js/**/*.js example/**/*.js e2e/**/*.js",
"test:js": "echo 'No test specified'; exit 0;",
"test:e2e:ios": "detox test -c ios.sim.release",
"test:e2e:android": "detox test -c android.emu.release",
"build:e2e:ios": "detox build -c ios.sim.release",
"build:e2e:android": "detox build -c android.emu.release",
"bundle:e2e:android": "mkdir -p .tmp && react-native bundle --max-workers 4 --platform android --dev false --entry-file example/index.js --bundle-output .tmp/android-bundle.js",
"bundle:e2e:ios": "mkdir -p .tmp && react-native bundle --max-workers 4 --platform ios --dev false --entry-file example/index.js --bundle-output .tmp/ios-bundle.js",
"start": "react-native start",
"release": "semantic-release"
},
"keywords": [
"react-native",
"status-bar",
"react-native-community"
],
"author": "Dmitriy Kovalenko <dmtr.kovalenko@outlook.com>",
"homepage": "https://github.com/react-native-community/react-native-statusbar",
"license": "MIT",
"peerDependencies": {
"react": "^16.0",
"react-native": ">=0.41.2"
},
"devDependencies": {
"@react-native-community/eslint-config": "^0.0.2",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "24.1.0",
"babel-plugin-module-resolver": "^3.1.3",
"detox": "^12.1.1",
"eslint": "^5.15.3",
"flow-bin": "^0.86.0",
"jest": "^24.5.0",
"metro-react-native-babel-preset": "0.51.1",
"react": "16.6.3",
"react-native": "0.58.4",
"react-test-renderer": "16.6.3",
"semantic-release": "^15.13.3",
"typescript": "^3.3.4000"
},
"prettier": {
"requirePragma": true,
"singleQuote": true,
"trailingComma": "all",
"bracketSpacing": false,
"jsxBracketSameLine": true,
"parser": "flow"
},
"detox": {
"test-runner": "jest",
"configurations": {
"ios.sim.debug": {
"binaryPath": "example/ios/build/Build/Products/Debug-iphonesimulator/StatusBarExample.app",
"build": "export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -project example/ios/StatusBarExample.xcodeproj -destination 'platform=iOS Simulator,name=iPhone X' -scheme StatusBarExample -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/StatusBarExample.app",
"build": "export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -project example/ios/StatusBarExample.xcodeproj -destination 'platform=iOS Simulator,name=iPhone X' -scheme StatusBarExample -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"
}
}
}
}