-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
138 lines (138 loc) · 3.83 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
"name": "datocms-plugin-grouped-links",
"homepage": "https://github.com/SYMBIO/datocms-plugin-grouped-links",
"repository": {
"type": "git",
"url": "https://github.com/SYMBIO/datocms-plugin-grouped-links.git"
},
"version": "0.0.1",
"description": "Links grouped by some field",
"main": "index.js",
"scripts": {
"start": "npm run dev",
"dev": "NODE_ENV=development webpack-dev-server --port 5000",
"build": "NODE_ENV=production webpack",
"dist": "NODE_ENV=production webpack",
"prepublishOnly": "rimraf lib dist && mkdir dist && npm run dist",
"addToProject": "yo datocms-plugin:add-to-project",
"test": "echo 1"
},
"keywords": [
"datocms",
"datocms-plugin",
"field-editor",
"links-field"
],
"files": [
"dist",
"docs"
],
"author": "SYMBIO <[email protected]>",
"license": "ISC",
"datoCmsPlugin": {
"title": "Grouped Links",
"previewImage": "docs/preview.gif",
"coverImage": "docs/cover.png",
"entryPoint": "dist/index.html",
"pluginType": "field_editor",
"fieldTypes": [
"links"
],
"parameters": {
"global": [
{
"id": "developmentMode",
"label": "Development mode",
"type": "boolean",
"required": false,
"default": false,
"hint": "Shows debug messages in console"
},
{
"id": "datoCmsApiToken",
"label": "DatoCMS API Token",
"type": "string",
"required": true,
"hint": "The DatoCMS API full-access token, <a href=\"/admin/access_tokens\">get it here</a>"
}
],
"instance": [
{
"id": "groupField",
"label": "Field to group by",
"type": "string",
"required": true,
"hint": "Insert api name of the field used for grouping"
},
{
"id": "allItemsQuery",
"label": "Query name for all remote items",
"type": "string",
"required": true,
"hint": ""
},
{
"id": "queryPart",
"label": "Part of the graphql query to get display data",
"type": "string",
"required": true,
"hint": ""
},
{
"id": "attrName",
"label": "Attribute to show from data",
"type": "string",
"required": true,
"hint": ""
}
]
}
},
"prettier": {
"singleQuote": true,
"printWidth": 120,
"arrowParens": "always",
"trailingComma": "all"
},
"devDependencies": {
"@babel/cli": "^7.15.7",
"@babel/core": "^7.15.8",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-proposal-decorators": "^7.15.8",
"@babel/preset-env": "^7.15.8",
"@babel/preset-react": "^7.14.5",
"@babel/register": "^7.15.3",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.2.2",
"concurrently": "^6.3.0",
"css-loader": "^6.4.0",
"eslint": "^7.32.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-import-resolver-webpack": "^0.13.1",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.26.1",
"eslint-webpack-plugin": "^3.0.1",
"generator-datocms-plugin": "^1.1.1",
"html-webpack-inline-source-plugin": "^0.0.10",
"html-webpack-plugin": "^5.3.2",
"html-webpack-tags-plugin": "^2.0.0",
"mini-css-extract-plugin": "^2.4.2",
"prettier": "^2.4.1",
"style-loader": "^3.3.0",
"webpack": "^5.95.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.1.0",
"yo": "^4.3.0"
},
"dependencies": {
"classname": "^0.0.0",
"datocms-client": "^3.4.18",
"interactjs": "^1.10.11",
"prop-types": "^15.7.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-select": "^5.1.0"
}
}