-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
62 lines (62 loc) · 1.43 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
{
"name": "@xsin/waka-charts",
"type": "module",
"version": "1.0.0",
"packageManager": "pnpm@9.7.0",
"description": "Generate svg charts from wakatime data",
"author": {
"name": "Levin Wong",
"url": "https://github.com/mamboer"
},
"license": "MIT",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
},
"main": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"taze": "taze minor -wIr",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"postinstall": "npx simple-git-hooks",
"test": "vitest",
"coverage": "vitest run --coverage",
"build": "unbuild",
"stub": "unbuild --stub"
},
"dependencies": {
"d3": "^7.9.0",
"jsdom": "^24.1.1",
"node-fetch": "^3.3.2"
},
"devDependencies": {
"@antfu/eslint-config": "^2.25.1",
"@types/d3": "^7.4.3",
"@types/jsdom": "^21.1.7",
"@types/node": "^22.2.0",
"@vitest/coverage-v8": "^2.0.5",
"eslint": "^9.9.0",
"eslint-plugin-format": "^0.1.2",
"globals": "^15.9.0",
"lint-staged": "^15.2.8",
"pnpm": "^9.7.0",
"simple-git-hooks": "^2.11.1",
"taze": "^0.16.3",
"ts-node": "^10.9.2",
"typescript": "^5.5.4",
"unbuild": "^2.0.0",
"vitest": "^2.0.5"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*.{mjs, css, js, ts, tsx}": "pnpm lint:fix"
}
}