forked from JacobLinCool/LeetCode-Stats-Card
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
73 lines (73 loc) · 2.31 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": "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": "[email protected]"
},
"main": "lib/index.js",
"files": [
"lib"
],
"scripts": {
"test": "jest --config jestconfig.json --coverage",
"prepare": "npm run build",
"dev": "wrangler dev",
"build:worker": "esbuild src/cloudflare-worker/index.ts --outfile=dist/worker.js --bundle --minify --format=esm --loader:.html=text --external:events --keep-names",
"build:package": "esbuild src/core/index.ts --outfile=lib/index.js --bundle --format=esm --external:events --keep-names",
"build": "npm run build:worker && npm run build:package",
"format": "prettier --write . --ignore-path .gitignore",
"lint": "eslint .",
"push": "wrangler publish"
},
"keywords": [
"leetcode",
"stats",
"card"
],
"eslintConfig": {
"root": true,
"extends": [
"typescript",
"prettier"
],
"ignorePatterns": [
"dist/**.js",
"lib/**.js"
]
},
"dependencies": {
"itty-router": "3.0.11",
"leetcode-query": "0.2.7",
"nano-font": "0.3.1"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20230404.0",
"@trivago/prettier-plugin-sort-imports": "^4.1.1",
"@types/jest": "29.5.0",
"@types/node": "^18.15.11",
"@typescript-eslint/eslint-plugin": "^5.57.1",
"@typescript-eslint/parser": "^5.57.1",
"esbuild": "^0.15.18",
"eslint": "^8.38.0",
"eslint-config-prettier": "^8.8.0",
"jest": "29.5.0",
"prettier": "^2.8.7",
"ts-jest": "29.1.0",
"tsup": "6.7.0",
"typescript": "^5.0.4",
"wrangler": "^2.14.0"
},
"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": "[email protected]"
}