-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeno.json
More file actions
94 lines (94 loc) · 2.94 KB
/
deno.json
File metadata and controls
94 lines (94 loc) · 2.94 KB
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
{
"name": "halolight-fresh",
"version": "0.1.0",
"description": "基于 Deno Fresh 的现代化中文后台管理系统,具备 Islands 架构和极致性能",
"author": "h7ml <h7ml@qq.com>",
"license": "MIT",
"repository": "https://github.com/halolight/halolight-fresh",
"exports": {
".": "./main.ts"
},
"homepage": "https://halolight-fresh.h7ml.cn",
"tasks": {
"dev": "deno run -A --watch=static/,routes/ dev.ts",
"build": "deno run -A dev.ts build",
"preview": "deno run -A main.ts",
"start": "deno run -A main.ts",
"check": "deno check **/*.ts **/*.tsx",
"fmt": "deno fmt",
"fmt:check": "deno fmt --check",
"lint": "deno lint",
"test": "deno test -A --parallel tests/",
"test:watch": "deno test -A --watch tests/",
"test:coverage": "deno test -A --coverage=coverage tests/ && deno coverage coverage --lcov --output=coverage/lcov.info",
"test:run": "deno test -A tests/",
"ci": "deno task fmt:check && deno task lint && deno task check && deno task test"
},
"imports": {
"@fresh/core": "jsr:@fresh/core@^2.2.0",
"@fresh/plugin-tailwind": "jsr:@fresh/plugin-tailwind@^1.0.0",
"fresh/internal": "jsr:@fresh/core@^2.2.0/internal",
"preact": "npm:preact@^10.27.2",
"preact/hooks": "npm:preact@^10.27.2/hooks",
"preact/jsx-runtime": "npm:preact@^10.27.2/jsx-runtime",
"preact/jsx-dev-runtime": "npm:preact@^10.27.2/jsx-dev-runtime",
"@preact/signals": "npm:@preact/signals@^1.3.1",
"tailwindcss": "npm:tailwindcss@^3.4.0",
"lucide-preact": "npm:lucide-preact@^0.460.0",
"clsx": "npm:clsx@^2.1.1",
"tailwind-merge": "npm:tailwind-merge@^2.5.0",
"@/": "./",
"$std/": "https://deno.land/std@0.224.0/"
},
"compilerOptions": {
"lib": ["dom", "dom.iterable", "dom.asynciterable", "deno.ns"],
"jsx": "precompile",
"jsxImportSource": "preact",
"jsxPrecompileSkipElements": [
"a",
"img",
"source",
"body",
"html",
"head",
"title",
"meta",
"script",
"link",
"style",
"base",
"noscript",
"template"
]
},
"nodeModulesDir": "auto",
"exclude": ["**/_fresh/*", "**/coverage/*", "**/node_modules/*"],
"lint": {
"include": ["**/*.ts", "**/*.tsx"],
"exclude": ["**/_fresh/*", "**/coverage/*", "**/node_modules/*"],
"rules": {
"tags": ["recommended"],
"exclude": [
"no-explicit-any",
"explicit-function-return-type",
"explicit-module-boundary-types",
"jsx-button-has-type",
"no-unused-vars"
]
}
},
"fmt": {
"include": ["**/*.ts", "**/*.tsx", "**/*.json", "**/*.md"],
"exclude": ["**/_fresh/*", "**/coverage/*", "**/node_modules/*"],
"useTabs": false,
"lineWidth": 100,
"indentWidth": 2,
"singleQuote": false,
"proseWrap": "preserve",
"semiColons": true
},
"test": {
"include": ["tests/**/*.test.ts"],
"exclude": ["**/_fresh/*", "**/node_modules/*"]
}
}