Skip to content

Commit b6bd67c

Browse files
committed
fix: format CoCreate.config.js for consistency
1 parent a141425 commit b6bd67c

1 file changed

Lines changed: 40 additions & 42 deletions

File tree

CoCreate.config.js

Lines changed: 40 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,41 @@
11
module.exports = {
2-
"host": {
3-
"$branch": {
4-
"master": "wss://cocreate.app",
5-
"dev": "wss://dev.cocreate.app",
6-
"test": "wss://test.cocreate.app"
7-
}
8-
},
9-
"directories": [
10-
{
11-
"entry": "./src",
12-
"array": "files",
13-
"object": {
14-
"name": "{{name}}",
15-
"src": "{{source}}",
16-
"host": [
17-
"*"
18-
],
19-
"directory": "/",
20-
"path": "{{path}}",
21-
"pathname": "{{pathname}}",
22-
"content-type": "{{content-type}}",
23-
"public": "true"
24-
}
25-
}
26-
],
27-
"sources": [
28-
{
29-
"array": "demos",
30-
"object": {
31-
"_id": "619d495ca8b6b4001a9e6127",
32-
"collaboration-demo": "{{./src/demos/collaboration.html}}"
33-
}
34-
},
35-
{
36-
"array": "demos",
37-
"object": {
38-
"_id": "639b325f6f44f0f162f0bcbf",
39-
"demo-code": "{{./src/demos/demo.html}}"
40-
}
41-
}
42-
]
43-
};
2+
host: {
3+
$branch: {
4+
master: "wss://cocreate.app",
5+
dev: "wss://dev.cocreate.app",
6+
test: "wss://test.cocreate.app"
7+
}
8+
},
9+
directories: [
10+
{
11+
entry: "./src",
12+
array: "files",
13+
object: {
14+
name: "{{name}}",
15+
src: "{{source}}",
16+
host: ["*"],
17+
directory: "/",
18+
path: "{{path}}",
19+
pathname: "{{pathname}}",
20+
"content-type": "{{content-type}}",
21+
public: "true"
22+
}
23+
}
24+
],
25+
sources: [
26+
{
27+
array: "demos",
28+
object: {
29+
_id: "619d495ca8b6b4001a9e6127",
30+
"collaboration-demo": "{{./src/demos/collaboration.html}}"
31+
}
32+
},
33+
{
34+
array: "demos",
35+
object: {
36+
_id: "639b325f6f44f0f162f0bcbf",
37+
"demo-code": "{{./src/demos/demo.html}}"
38+
}
39+
}
40+
]
41+
};

0 commit comments

Comments
 (0)