-
Notifications
You must be signed in to change notification settings - Fork 82
/
package.json
74 lines (74 loc) · 2.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
63
64
65
66
67
68
69
70
71
72
73
74
{
"name": "leetcode-card",
"version": "1.0.1",
"description": "Show your dynamically generated LeetCode stats on your GitHub profile or your website!",
"license": "MIT",
"type": "module",
"author": {
"name": "JacobLinCool",
"email": "jacoblincool@gmail.com"
},
"main": "lib/index.js",
"files": [
"lib"
],
"scripts": {
"test": "vitest --coverage --coverage.include src",
"prepare": "husky",
"dev": "wrangler dev",
"build:worker": "esbuild src/cloudflare-worker/index.ts --outfile=dist/worker.js --bundle --minify --format=esm --loader:.html=text --keep-names",
"build:package": "esbuild src/core/index.ts --outfile=lib/index.js --bundle --format=esm --keep-names",
"build:image": "selflare compile --script dist/worker.js && docker compose build",
"build": "npm run build:worker && npm run build:package",
"format": "prettier --write . --ignore-path .gitignore",
"lint": "eslint .",
"deploy": "wrangler deploy",
"tail": "wrangler tail"
},
"keywords": [
"leetcode",
"stats",
"card"
],
"dependencies": {
"itty-router": "4.0.27",
"leetcode-query": "1.1.0",
"nano-font": "0.3.1"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20240222.0",
"@eslint/js": "^8.57.0",
"@types/node": "^20.11.24",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"@vitest/coverage-v8": "^1.3.1",
"esbuild": "^0.20.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"prettier-plugin-organize-imports": "^3.2.4",
"selflare": "^1.0.0",
"tsup": "8.0.2",
"typescript": "^5.3.3",
"typescript-eslint": "^7.1.0",
"vitest": "^1.3.1",
"wrangler": "^3.30.1"
},
"repository": {
"type": "git",
"url": "https://github.com/JacobLinCool/LeetCode-Stats-Card.git"
},
"bugs": {
"url": "https://github.com/JacobLinCool/LeetCode-Stats-Card/issues"
},
"homepage": "https://github.com/JacobLinCool/LeetCode-Stats-Card#readme",
"packageManager": "pnpm@8.15.4",
"lint-staged": {
"*.{js,ts}": [
"eslint --fix",
"prettier --write"
]
}
}