-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
97 lines (97 loc) · 2.15 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"name": "github-proxy",
"private": true,
"description": "GitHub proxy on Cloudflare Workers",
"repository": "https://github.com/mchaNetwork/github-proxy",
"license": "MIT",
"author": "mochaaP <npm@mochaa.ws>",
"type": "module",
"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-01-01",
"test": "bun run lint && bun run size"
},
"browserslist": "Firefox ESR, iOS >= 12.5, Chrome >= 87",
"eslintConfig": {
"env": {
"es2024": true,
"node": true
},
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"extends": [
"xo",
"./node_modules/xo/config/plugins.cjs"
],
"overrides": [
{
"files": [
"*.ts",
"*.tsx"
],
"extends": [
"xo-typescript"
],
"rules": {
"@typescript-eslint/ban-types": "off",
"import/extensions": "off",
"import/no-named-as-default": "off",
"n/prefer-global/process": "off"
}
}
],
"ignorePatterns": [
"dist"
]
},
"dependencies": {
"nord": "nordtheme/nord",
"ress": "^5.0.2",
"worktop": "next"
},
"devDependencies": {
"@cloudflare/workers-types": "4.20241112.0",
"@size-limit/preset-small-lib": "11.1.6",
"parcel": "2.12.0",
"rimraf": "6.0.1",
"size-limit": "11.1.6",
"wrangler": "3.90.0",
"xo": "0.59.3"
},
"peerDependencies": {
"typescript": "^5.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
}
}
}