-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
104 lines (104 loc) · 2.77 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"name": "datocms-plugin-jetshop",
"version": "2.0.0",
"homepage": "https://github.com/hyperlab/datocms-plugin-jetshop",
"repository": {
"type": "git",
"url": "https://github.com/hyperlab/datocms-plugin-jetshop"
},
"keywords": [
"datocms",
"datocms-plugin",
"field-editor",
"jetshop"
],
"description": "A json field editor to lookup products, categories and content pages from Jetshop.",
"datoCmsPlugin": {
"title": "Jetshop",
"previewImage": "public/preview.gif",
"entryPoint": "public/index.html",
"fieldTypes": [
"json"
],
"pluginType": "field_editor",
"parameters": {
"global": [
{
"id": "shopid",
"label": "Shop ID",
"type": "string",
"hint": "Enter the ID for the Jetshop instance. If you don't know this, ask Jetshop."
},
{
"id": "token",
"label": "API token",
"type": "string",
"hint": "The API token used when connecting to Jetshop's Store API."
},
{
"id": "locales",
"label": "Locales to channels map",
"type": "json",
"hint": "An object containing a map between DatoCMS locales and Jetshop channels"
}
],
"instance": [
{
"id": "minItems",
"label": "Minimum items",
"type": "integer",
"hint": "Minimum amount of selected items",
"default": 0
},
{
"id": "maxItems",
"label": "Maximum items",
"type": "integer",
"hint": "Maximum amount of selected items, -1 for no limit",
"default": -1
},
{
"id": "searchProducts",
"label": "Search products",
"type": "boolean",
"hint": "Wether to show products in the result"
},
{
"id": "searchCategories",
"label": "Search categories",
"type": "boolean",
"hint": "Wether to show categories in the result"
},
{
"id": "searchContentPages",
"label": "Search content pages",
"type": "boolean",
"hint": "Wether to show content pages in the result"
}
]
}
},
"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"
}
}