forked from sanity-io/sanity-template-nextjs-landing-pages
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsanity-template.json
79 lines (79 loc) · 2.03 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
78
79
{
"version": 2,
"title": "Next.js landing pages",
"description": "SEO friendly page builder in React.js. Heroes, sign-up forms and calls to action.",
"previewMedia": {
"type": "image",
"src": "assets/frontend.jpg",
"alt": "A preview image of the Next.js landing pages website."
},
"technologies": [
{
"id": "nextjs",
"name": "Next.js",
"url": "https://nextjs.org/"
},
{
"id": "netlify",
"name": "Netlify",
"url": "https://www.netlify.com/"
}
],
"deployment": {
"provider": "netlify",
"sites": [
{
"id": "studio",
"type": "studio",
"title": "Sanity Studio",
"description": "The Sanity Studio is where you edit and structure your content.",
"previewMedia": {
"type": "image",
"src": "assets/studio.jpg",
"alt": "A preview image of the Sanity Studio."
},
"buildSettings": {
"base": "/",
"dir": "/studio/dist",
"cmd": "npm run build-studio && cp studio/netlify.toml studio/dist"
},
"dir": "./studio",
"requirements": [
"build-hook"
]
},
{
"id": "web",
"type": "web",
"title": "Frontend",
"description": "A Next.js application that can be used as a starting point for a landing pages website.",
"previewMedia": {
"type": "image",
"src": "assets/frontend.jpg",
"alt": "A preview image of the landing pages website."
},
"buildSettings": {
"base": "/",
"dir": "/web/out",
"cmd": "npm run build-web"
},
"dir": "./web",
"requiredCorsOrigins": [
{
"origin": "http://localhost:3000",
"allowCredentials": false
}
],
"requiredTokens": [
{
"role": "deploy-studio",
"label": "GraphQL API Deployer"
}
],
"requirements": [
"build-hook"
]
}
]
}
}