|
18 | 18 | "dev": "wrangler dev", |
19 | 19 | "build:worker": "esbuild src/cloudflare-worker/index.ts --outfile=dist/worker.js --bundle --minify --format=esm --loader:.html=text --external:events --keep-names", |
20 | 20 | "build:package": "esbuild src/core/index.ts --outfile=lib/index.js --bundle --format=esm --external:events --keep-names", |
| 21 | + "build:image": "selflare compile --script dist/worker.js && docker compose build", |
21 | 22 | "build": "npm run build:worker && npm run build:package", |
22 | 23 | "format": "prettier --write . --ignore-path .gitignore", |
23 | 24 | "lint": "eslint .", |
24 | | - "push": "wrangler publish" |
| 25 | + "push": "wrangler deploy" |
25 | 26 | }, |
26 | 27 | "keywords": [ |
27 | 28 | "leetcode", |
|
40 | 41 | ] |
41 | 42 | }, |
42 | 43 | "dependencies": { |
43 | | - "itty-router": "3.0.11", |
44 | | - "leetcode-query": "0.2.7", |
| 44 | + "itty-router": "4.0.27", |
| 45 | + "leetcode-query": "1.0.0", |
45 | 46 | "nano-font": "0.3.1" |
46 | 47 | }, |
47 | 48 | "devDependencies": { |
48 | | - "@cloudflare/workers-types": "^4.20230404.0", |
49 | | - "@trivago/prettier-plugin-sort-imports": "^4.1.1", |
50 | | - "@types/jest": "29.5.0", |
51 | | - "@types/node": "^18.15.11", |
52 | | - "@typescript-eslint/eslint-plugin": "^5.57.1", |
53 | | - "@typescript-eslint/parser": "^5.57.1", |
54 | | - "esbuild": "^0.15.18", |
55 | | - "eslint": "^8.38.0", |
56 | | - "eslint-config-prettier": "^8.8.0", |
57 | | - "jest": "29.5.0", |
58 | | - "prettier": "^2.8.7", |
59 | | - "ts-jest": "29.1.0", |
60 | | - "tsup": "6.7.0", |
61 | | - "typescript": "^5.0.4", |
62 | | - "wrangler": "^2.14.0" |
| 49 | + "@cloudflare/workers-types": "^4.20240222.0", |
| 50 | + "@types/jest": "29.5.12", |
| 51 | + "@types/node": "^20.11.24", |
| 52 | + "@typescript-eslint/eslint-plugin": "^7.1.0", |
| 53 | + "@typescript-eslint/parser": "^7.1.0", |
| 54 | + "esbuild": "^0.20.1", |
| 55 | + "eslint": "^8.57.0", |
| 56 | + "eslint-config-prettier": "^9.1.0", |
| 57 | + "jest": "29.7.0", |
| 58 | + "prettier": "^3.2.5", |
| 59 | + "prettier-plugin-organize-imports": "^3.2.4", |
| 60 | + "selflare": "^1.0.0", |
| 61 | + "ts-jest": "29.1.2", |
| 62 | + "tsup": "8.0.2", |
| 63 | + "typescript": "^5.3.3", |
| 64 | + "wrangler": "^3.30.1" |
63 | 65 | }, |
64 | 66 | "repository": { |
65 | 67 | "type": "git", |
|
69 | 71 | "url": "https://github.com/JacobLinCool/LeetCode-Stats-Card/issues" |
70 | 72 | }, |
71 | 73 | "homepage": "https://github.com/JacobLinCool/LeetCode-Stats-Card#readme", |
72 | | - "packageManager": "pnpm@8.1.1" |
| 74 | + "packageManager": "pnpm@8.15.4" |
73 | 75 | } |
0 commit comments