-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
63 lines (63 loc) · 1.52 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
{
"name": "github-proxy",
"type": "module",
"private": true,
"description": "GitHub proxy on Cloudflare Workers",
"author": "mochaaP <[email protected]>",
"license": "MIT",
"repository": "https://github.com/mchaNetwork/github-proxy",
"main": "dist/_worker.js",
"scripts": {
"build": "rimraf dist && parcel build",
"deploy": "bun run test && bun run build && wrangler pages deploy dist",
"lint": "eslint .",
"size": "size-limit",
"start": "wrangler pages dev dist --compatibility-date=2024-12-01",
"test": "bun run lint && bun run size"
},
"browserslist": "Firefox ESR, iOS >= 12.5, Chrome >= 87",
"dependencies": {
"nord": "nordtheme/nord",
"ress": "^5.0.2",
"worktop": "next"
},
"devDependencies": {
"@cloudflare/workers-types": "4.20250204.0",
"@mochaa/eslintrc": "0.1.12",
"@size-limit/preset-small-lib": "11.1.6",
"eslint": "9.19.0",
"parcel": "2.13.3",
"rimraf": "6.0.1",
"size-limit": "11.1.6",
"svgo": "3.3.2",
"typescript": "5.7.3",
"wrangler": "3.107.3"
},
"@parcel/transformer-css": {
"drafts": {
"nesting": true
}
},
"size-limit": [
{
"path": "src/_worker.ts",
"brotli": false
}
],
"targets": {
"frontend": {
"source": [
"src/index.html",
"src/404.html"
],
"distDir": "dist/"
},
"main": {
"source": "src/_worker.ts",
"context": "web-worker",
"outputFormat": "esmodule",
"includeNodeModules": true,
"optimize": true
}
}
}