-
Notifications
You must be signed in to change notification settings - Fork 49
/
.solidarity.example.json
40 lines (40 loc) · 1.41 KB
/
.solidarity.example.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
{
"$schema": "http://json.schemastore.org/solidaritySchema",
"requirements": {
"Android": [
{ "rule": "cli", "binary": "emulator" },
{ "rule": "cli", "binary": "android" },
{ "rule": "env", "variable": "ANDROID_HOME", "error": "The ANDROID_HOME environment variable must be set to your local SDK. Refer to getting started docs for help." }
],
"NPM": [{ "rule": "cli", "binary": "npm" }],
"Yarn": [{ "rule": "cli", "binary": "yarn", "semver": "^1.0.1", "version": "--version" }],
"Node": [{ "rule": "cli", "binary": "node", "semver": "8.5.0"}],
"Watchman": [
{
"rule": "cli",
"binary": "watchman",
"error": "install watchman `brew install watchman`",
"platform": "darwin"
}
],
"Git email": [
{
"rule": "shell",
"command": "git config user.email",
"match": ".+@.+"
}
],
"Package.json": [{ "rule": "file", "location": "./package.json"}],
"React Native": [
{ "rule": "cli", "binary": "react-native", "semver": "~2.0.1"},
{ "rule": "cli", "binary": "react-native", "semver": ">0.0.1", "line": 2 }
],
"Xcode" : [
{ "rule": "cli", "binary": "xcodebuild", "semver": "9.0", "platform": "darwin"},
{ "rule": "cli", "binary": "xcrun", "semver": "35", "platform": "darwin"}
],
"Cocoapods": [
{ "rule": "cli", "binary": "pod", "semver": "1.2.1" }
]
}
}