forked from denoland/fresh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deno.json
84 lines (84 loc) · 3.36 KB
/
deno.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
{
"name": "@fresh/core",
"version": "2.0.0-alpha.20",
"exports": {
".": "./src/mod.ts",
"./runtime": "./src/runtime/shared.ts",
"./dev": "./src/dev/mod.ts",
"./compat": "./src/compat/mod.ts"
},
"tasks": {
"test": "deno test -A --parallel src/ init/ update/ && deno test -A tests/ www/main_test.ts",
"fixture": "deno run -A --watch=static/,routes/ tests/fixture/dev.ts",
"www": "deno task --cwd=www start",
"build-www": "deno task --cwd=www build",
"screenshot": "deno run -A www/utils/screenshot.ts",
"check:types": "deno check src/**/*.ts src/**/*.tsx tests/**/*.ts tests/**/*.tsx update/**/*.ts plugin-tailwindcss/**/*.ts init/**/*.ts",
"ok": "deno fmt --check && deno lint && deno task check:types && deno task test",
"test:www": "deno test -A www/main_test.*",
"release": "deno run -A tools/release.ts"
},
"exclude": ["**/_fresh/*", "**/tmp/*", "*/tests_OLD/**"],
"publish": {
"include": [
"src/**",
"deno.json",
"README.md",
"LICENSE",
"www/static/fresh-badge.svg",
"www/static/fresh-badge-dark.svg",
"*.todo"
],
"exclude": ["**/*_test.*", "src/__OLD/**", "*.todo"]
},
"imports": {
"$ga4": "https://raw.githubusercontent.com/denoland/ga4/main/mod.ts",
"$marked-mangle": "https://esm.sh/[email protected]",
"@astral/astral": "jsr:@astral/astral@^0.4.0",
"@fresh/plugin-tailwind": "./plugin-tailwindcss/src/mod.ts",
"@luca/esbuild-deno-loader": "jsr:@luca/esbuild-deno-loader@^0.10.3",
"@marvinh-test/fresh-island": "jsr:@marvinh-test/fresh-island@^0.0.1",
"@preact/signals": "npm:@preact/signals@^1.2.3",
"@std/async": "jsr:@std/async@^0.224.1",
"@std/cli": "jsr:@std/cli@^0.224.5",
"@std/crypto": "jsr:@std/[email protected]",
"@std/datetime": "jsr:@std/datetime@^0.224.0",
"@std/encoding": "jsr:@std/encoding@^1.0.0-rc.1",
"@std/expect": "jsr:@std/expect@^0.224.4",
"@std/fmt": "jsr:@std/fmt@^0.225.3",
"@std/front-matter": "jsr:@std/front-matter@^0.224.2",
"@std/fs": "jsr:@std/fs@^0.229.1",
"@std/html": "jsr:@std/html@^0.224.2",
"@std/jsonc": "jsr:@std/jsonc@^0.224.1",
"@std/media-types": "jsr:@std/media-types@^1.0.0-rc.1",
"@std/path": "jsr:@std/path@^0.225.2",
"@std/semver": "jsr:@std/semver@^0.224.3",
"@std/streams": "jsr:@std/streams@^0.224.3",
"autoprefixer": "npm:[email protected]",
"cssnano": "npm:[email protected]",
"esbuild": "npm:[email protected]",
"esbuild-wasm": "npm:[email protected]",
"fresh": "./src/mod.ts",
"fresh/compat": "./src/compat/mod.ts",
"fresh/dev": "./src/dev/mod.ts",
"fresh/runtime": "./src/runtime/shared.ts",
"linkedom": "npm:linkedom@^0.16.11",
"postcss": "npm:[email protected]",
"preact": "npm:preact@^10.22.0",
"preact-render-to-string": "npm:preact-render-to-string@^6.4.2",
"tailwindcss": "npm:tailwindcss@^3.4.1",
"tailwindcss/plugin": "npm:/tailwindcss@^3.4.1/plugin.js",
"ts-morph": "npm:ts-morph@^22.0.0",
"twind": "https://esm.sh/[email protected]",
"twind/": "https://esm.sh/[email protected]/"
},
"compilerOptions": {
"lib": ["dom", "dom.asynciterable", "deno.ns"],
"jsx": "precompile",
"jsxImportSource": "preact",
"jsxPrecompileSkipElements": ["a", "img", "source", "body", "html", "head"]
},
"lint": {
"rules": { "exclude": ["no-window"], "include": ["no-console"] }
}
}