-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsanity-template.json
77 lines (77 loc) · 1.92 KB
/
sanity-template.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
{
"version": 0,
"title": "Ecommerce with Gatsby",
"description": "Clean React.js starting point for portfolios, project listings or case studies.",
"previewMedia": {
"type": "image",
"src": "assets/frontend.jpg",
"alt": "A preview image of the Gatsby ecommerce website."
},
"technologies": [
{
"id": "gatsby",
"name": "Gatsby",
"url": "https://www.gatsbyjs.org/"
},
{
"id": "netlify",
"name": "Netlify",
"url": "https://www.netlify.com/"
}
],
"deployments": [
{
"id": "studio",
"type": "studio",
"title": "Sanity Studio",
"description": "The Sanity Studio is where you edit and structure your content.",
"dir": "./studio",
"provider": {
"name": "netlify",
"config": {
"base": "studio",
"cmd": "npm run build && cp ./netlify.toml dist",
"dir": "studio/dist"
},
"requirements": ["build-hook"]
},
"previewMedia": {
"type": "image",
"src": "assets/studio.jpg",
"alt": "A preview image of the Sanity Studio."
}
},
{
"id": "web",
"type": "web",
"title": "Ecommerce Website",
"description": "A blazing fast ecommerce, made for being easy to customize and update.",
"dir": "./web",
"requiredTokens": [
{
"role": "deploy-studio",
"label": "GraphQL API Deployer"
}
],
"provider": {
"name": "netlify",
"config": {
"cmd": "npm run build-web",
"dir": "web/public"
},
"requirements": ["build-hook"]
},
"previewMedia": {
"type": "image",
"src": "assets/frontend.jpg",
"alt": "A preview image of the portfolio website."
},
"requiredCorsOrigins": [
{
"origin": "http://localhost:8000",
"allowCredentials": false
}
]
}
]
}