-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
121 lines (121 loc) · 3.46 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
{
"name": "datocms-plugin-chart",
"homepage": "https://github.com/lorezz/datocms-plugin-chart",
"version": "0.0.7",
"description": "Chart from a json field",
"main": "index.js",
"scripts": {
"start": "concurrently \"yarn dev\" \"yarn localtunnel\"",
"localtunnel": "lt -s datocms-plugin-chart --port 5000",
"dev": "NODE_ENV=development webpack-dev-server --port 5000",
"dist": "NODE_ENV=production webpack --progress",
"prepublishOnly": "rimraf lib dist && mkdir dist && npm run dist",
"addToProject": "yo datocms-plugin:add-to-project",
"test": "echo 1"
},
"keywords": [
"datocms",
"datocms-plugin",
"field-addon",
"json-field",
"chart"
],
"files": [
"dist",
"docs"
],
"author": "Lorezz <[email protected]>",
"contributors": [
"Lorezz <[email protected]>",
"LeanPanda"
],
"license": "ISC",
"datoCmsPlugin": {
"title": "Chart",
"previewImage": "docs/preview.gif",
"coverImage": "docs/cover.png",
"entryPoint": "dist/index.html",
"pluginType": "field_addon",
"fieldTypes": [
"json"
],
"parameters": {
"global": [
{
"id": "developmentMode",
"label": "Development mode",
"type": "boolean",
"required": false,
"default": false,
"hint": "Shows debug messages in console"
}
],
"instance": [
{
"id": "chart_type",
"label": "Chart type",
"type": "string",
"required": true,
"default": "lines",
"hint": "chart type, one of: lines bars pie"
},
{
"id": "palette",
"label": "Palette",
"type": "string",
"required": false,
"hint": "a comma separated palette to use for chart data example: '#ff0000,#00ff00,#0000ff'"
},
{
"id": "fieldApiKey",
"label": "Source Field Name",
"type": "string",
"required": false,
"hint": "Indicate an alternative JSON Field in the same Record, to use as data source"
}
]
}
},
"devDependencies": {
"@babel/cli": "^7.0.0-beta.54",
"@babel/core": "^7.0.0-beta.54",
"@babel/plugin-proposal-class-properties": "^7.1.0",
"@babel/plugin-proposal-decorators": "^7.1.2",
"@babel/preset-env": "^7.0.0-beta.54",
"@babel/preset-react": "^7.0.0",
"@babel/register": "^7.0.0-beta.54",
"babel-eslint": "^8.2.6",
"babel-loader": "^8.0.0-beta",
"concurrently": "^4.0.1",
"css-loader": "^1.0.0",
"eslint": "^5.3.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-import-resolver-webpack": "^0.10.1",
"eslint-loader": "^2.1.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.1",
"eslint-plugin-react": "^7.11.0",
"generator-datocms-plugin": "^1.0.3",
"html-webpack-include-assets-plugin": "^1.0.5",
"html-webpack-inline-source-plugin": "^0.0.10",
"html-webpack-plugin": "^3.2.0",
"localtunnel": "^1.9.1",
"mini-css-extract-plugin": "^0.4.3",
"node-sass": "^4.9.3",
"sass-loader": "^7.1.0",
"serve": "^10.0.2",
"style-loader": "^0.23.0",
"webpack": "^4.16.1",
"webpack-cli": "^3.1.0",
"webpack-dev-server": "^3.1.10",
"yo": "^2.0.5"
},
"dependencies": {
"classname": "^0.0.0",
"prop-types": "^15.6.2",
"react": "^16.5.2",
"react-dom": "^16.5.2",
"recharts": "^1.4.2"
}
}