Skip to content

Commit

Permalink
Merge pull request #59 from xhiroga/chore/host-sample-jsonc
Browse files Browse the repository at this point in the history
chore: host sample jsonc
  • Loading branch information
xhiroga authored May 24, 2023
2 parents 302ca55 + c2e812e commit 9a7b31f
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions examples/shared.jsonc
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"
}
}
]

0 comments on commit 9a7b31f

Please sign in to comment.