-
-
Notifications
You must be signed in to change notification settings - Fork 207
Expand file tree
/
Copy pathpackage.json
More file actions
50 lines (50 loc) · 1.29 KB
/
Copy pathpackage.json
File metadata and controls
50 lines (50 loc) · 1.29 KB
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
{
"name": "chart.xkcd",
"version": "2.0.12",
"description": "xkcd style chart lib",
"jsdelivr": "dist/chart.xkcd.min.js",
"unpkg": "dist/chart.xkcd.min.js",
"main": "dist/index.js",
"files": [
"dist/*"
],
"scripts": {
"build": "vite build",
"start": "vite examples --open /example.html",
"prepublishOnly": "rm -rf dist && npm run build",
"genDoc": "npx docdude --in docs --out docs-dist --title Chart.xkcd --subtitle 'xkcd styled chart lib'",
"genExample": "mkdir -p docs-dist && vite build --mode example",
"deployDoc": "npm run genDoc && npm run genExample && gh-pages -d docs-dist",
"lint": "./node_modules/.bin/eslint ./src"
},
"repository": {
"type": "git",
"url": "https://github.com/timqian/chart.xkcd"
},
"homepage": "https://timqian.com/chart.xkcd",
"keywords": [
"chart",
"graph",
"xkcd",
"hand-drawn"
],
"author": "timqian",
"license": "MIT",
"devDependencies": {
"@eslint/js": "^9.0.0",
"d3-axis": "^1.0.12",
"d3-scale": "^3.3.0",
"d3-selection": "^1.4.1",
"d3-shape": "^1.3.7",
"dayjs": "^1.8.17",
"eslint": "^10.5.0",
"gh-pages": "^6.3.0",
"globals": "^15.0.0",
"terser": "^5.36.0",
"vite": "^8.0.0"
},
"dependencies": {},
"overrides": {
"d3-color": "^3.1.0"
}
}