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
/
package.json
123 lines (123 loc) · 3.65 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
{
"name": "@datawrapper/chart-core",
"version": "8.41.1",
"description": "Svelte component to render charts. Used by Sapper App and Node API.",
"main": "index.js",
"engines": {
"node": ">=14.0.0",
"npm": ">=7.0.0"
},
"files": [
"dist",
"lib"
],
"scripts": {
"format": "prettier 'lib/**/*.{js,mjs,html,svelte}' --write",
"build": "rollup -c rollup.config.js",
"dev": "rollup -cw rollup.config.js",
"lint": "prettier --check 'lib/**/*.{js,html,mjs,svelte}' && eslint 'lib/**/*.{js,mjs,svelte}'",
"prepublishOnly": "npm run build",
"prepare": "npm run build",
"test": "ava",
"docs:parser": "jsdoc2md --template docs/.tpl.hbs --files 'lib/dw/utils/parser.js' -g grouped | sed '/\\*\\*Kind\\*\\*/d' | sed '/\\*\\*Example\\*\\*/d' | sed '/## $/d' | sed 's/## \\([a-z]\\)/### \\1/' > docs/parser.md && node docs/.fix.js parser.md"
},
"repository": {
"type": "git",
"url": "git+https://github.com/datawrapper/chart-core.git"
},
"author": "",
"bugs": {
"url": "https://github.com/datawrapper/chart-core/issues"
},
"homepage": "https://github.com/datawrapper/chart-core#readme",
"dependencies": {
"@datawrapper/expr-eval": "^2.0.4",
"@datawrapper/polyfills": "2.1.1",
"@datawrapper/shared": "^0.35.1",
"@emotion/css": "^11.1.3",
"core-js": "3.6.5",
"deepmerge": "^4.2.2",
"fontfaceobserver": "2.1.0",
"svelte-extras": "^2.0.2",
"svelte2": "npm:svelte@^2.16.1",
"underscore": "^1.13.1"
},
"devDependencies": {
"@babel/core": "7.9.0",
"@babel/plugin-transform-runtime": "7.9.0",
"@babel/preset-env": "7.9.5",
"@babel/runtime": "7.9.2",
"@datawrapper/eslint-config": "^0.2.2",
"@rollup/plugin-alias": "^3.1.2",
"@rollup/plugin-commonjs": "11.0.2",
"@rollup/plugin-node-resolve": "7.1.3",
"@rollup/plugin-replace": "~2.3.2",
"ava": "^3.8.1",
"babel-eslint": "10.1.0",
"babel-plugin-transform-async-to-promises": "0.8.15",
"eslint": "~6.8.0",
"eslint-plugin-svelte3": "~2.7.3",
"husky": "~4.2.5",
"jsdoc-to-markdown": "^5.0.0",
"lint-staged": "^10.1.7",
"node-fetch": "^2.6.0",
"prettier": "~1.19.1",
"prettier-plugin-svelte": "~0.7.0",
"rollup": "2.6.1",
"rollup-plugin-babel": "4.4.0",
"rollup-plugin-svelte": "5.2.1",
"rollup-plugin-terser": "^7.0.0",
"svelte": "3.23.2"
},
"ava": {
"nodeArguments": [
"--experimental-specifier-resolution=node"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,svelte}": [
"prettier --write",
"eslint"
]
},
"prettier": {
"arrowParens": "avoid",
"printWidth": 100,
"semi": true,
"singleQuote": true,
"tabWidth": 4,
"trailingComma": "none"
},
"eslintIgnore": [
"vendor",
"dist",
"dw.js"
],
"eslintConfig": {
"parser": "babel-eslint",
"plugins": [
"svelte3"
],
"env": {
"browser": true,
"es6": true
},
"overrides": [
{
"files": [
"**/*.svelte"
],
"processor": "svelte3/svelte3"
}
],
"extends": "@datawrapper/eslint-config"
},
"optionalDependencies": {
"fsevents": "^2.3.2"
}
}