-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #59 from xhiroga/chore/host-sample-jsonc
chore: host sample jsonc
- Loading branch information
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
[ | ||
/** | ||
* JSON with comment format | ||
* | ||
* When multiple rules match, the first matching rule will be applied. | ||
* | ||
*/ | ||
// prod | ||
{ | ||
"env": { | ||
"account": "111111111111" | ||
}, | ||
"style": { | ||
"navigationBackgroundColor": "#65c89b", | ||
"accountMenuButtonBackgroundColor": "#945bc4" | ||
} | ||
}, | ||
// dev | ||
{ | ||
// env can be array. | ||
"env": [ | ||
{ | ||
"account": "222222222222", | ||
"region": "us-east-1" // region is optional property | ||
}, | ||
{ | ||
"account": "333333333333" | ||
} | ||
], | ||
"style": { | ||
// navigationBackgroundColor and accountMenuButtonBackgroundColor are optional properties. | ||
"navigationBackgroundColor": "#3399ff", | ||
"accountMenuButtonBackgroundColor": "#bf0060" | ||
} | ||
} | ||
] |