This repository has been archived by the owner on Sep 13, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
73 lines (73 loc) · 1.92 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
{
"name": "oembed",
"version": "1.0.0",
"description": "This plugin adds oEmbed functionality to Datawrapper. The API-endpoint will be `/api/plugin/oembed`. Any charts published after the installation of this plugin will have a oEmbed-discovery link inserted in the head of the charts html.",
"keywords": [],
"license": "ISC",
"author": "Datawrapper GmbH",
"main": "api.js",
"scripts": {
"format": "prettier 'api.js' --write",
"lint": "prettier --check 'api.js' && healthier 'api.js'",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "[email protected]:datawrapper/plugin-oembed.git"
},
"dependencies": {
"@hapi/boom": "^9.1.0",
"lodash": "^4.17.21"
},
"devDependencies": {
"babel-eslint": "^10.1.0",
"healthier": "^3.3.0",
"husky": "^4.2.5",
"lint-staged": "^10.2.2",
"prettier": "^2.0.5"
},
"peerDependencies": {
"joi": "17.x"
},
"lint-staged": {
"*.js": [
"prettier --write",
"healthier",
"git add"
]
},
"eslintConfig": {
"parser": "babel-eslint",
"rules": {
"no-console": [
"error",
{
"allow": [
"warn",
"error"
]
}
],
"camelcase": [
"warn",
{
"ignoreDestructuring": true,
"properties": "never"
}
]
}
},
"prettier": {
"arrowParens": "avoid",
"printWidth": 100,
"semi": true,
"singleQuote": true,
"tabWidth": 4,
"trailingComma": "none"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}