-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
71 lines (71 loc) · 1.94 KB
/
package.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
{
"name": "datocms-plugin-route-resolver",
"version": "1.0.0",
"homepage": "https://github.com/hyperlab/datocms-plugin-route-resolver",
"repository": {
"type": "git",
"url": "https://github.com/hyperlab/datocms-plugin-route-resolver"
},
"keywords": [
"datocms",
"datocms-plugin",
"field-editor"
],
"description": "A JSON field editor for DatoCMS to lookup routes from different sources such as Jetshop and Findify",
"datoCmsPlugin": {
"title": "Route resolver",
"previewImage": "public/preview.gif",
"entryPoint": "public/index.html",
"fieldTypes": [
"json"
],
"pluginType": "field_editor",
"parameters": {
"global": [
{
"id": "sources",
"label": "Route sources",
"type": "json",
"hint": "An array containing the route sources along with config options for that specific endpoint."
},
{
"id": "prefixes",
"label": "URL prefixes",
"type": "json",
"hint": "An object containing locales as key and the url for that market as value"
}
],
"instance": [
{
"id": "sources",
"label": "Sources for this field",
"type": "string",
"hint": "Comma separated list of sources to use for this specific field. Leave this empty to use all configured sources."
}
]
}
},
"files": [
"public/*",
"README.md"
],
"scripts": {
"build": "rollup -c",
"dev": "rollup -c -w",
"start": "sirv public --no-clear"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^17.0.0",
"@rollup/plugin-node-resolve": "^11.0.0",
"rollup": "^2.3.4",
"rollup-plugin-css-only": "^3.1.0",
"rollup-plugin-livereload": "^2.0.0",
"rollup-plugin-svelte": "^7.0.0",
"rollup-plugin-terser": "^7.0.0",
"svelte": "^3.0.0"
},
"dependencies": {
"datocms-plugins-sdk": "^0.1.1",
"sirv-cli": "^1.0.0"
}
}