-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdeno.jsonc
98 lines (98 loc) · 3.61 KB
/
deno.jsonc
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
98
{
"name": "@udibo/react-app",
"version": "0.24.3",
"exports": {
".": "./mod.tsx",
"./build": "./build.ts",
"./dev": "./dev.ts",
"./client": "./client.tsx",
"./server": "./server.tsx",
"./test-utils": "./test-utils.ts",
"./global-jsdom": "./global-jsdom.ts"
},
"publish": {
"include": [
"LICENSE",
"**/*.json",
"**/*.jsonc",
"**/*.md",
"**/*.ts",
"**/*.tsx"
],
"exclude": [
"**/*.test.ts",
"**/*.test.tsx",
"test-utils.tsx",
"example",
"coverage",
"node_modules"
]
},
"tasks": {
// Builds the application.
"build": "cd ./example && deno run -A ./build.ts",
// Builds the application in development mode.
"build-dev": "export APP_ENV=development NODE_ENV=development && deno task build",
// Builds the application in production mode.
"build-prod": "export APP_ENV=production NODE_ENV=production && deno task build",
// Builds and runs the application in development mode, with hot reloading.
"dev": "export APP_ENV=development NODE_ENV=development && cd ./example && deno run -A ./dev.ts",
// Runs the application. Requires the application to be built first.
"run": "cd ./example && deno run -A ./main.ts",
// Runs the application in development mode. Requires the application to be built first.
"run-dev": "export APP_ENV=development NODE_ENV=development && deno task run",
// Runs the application in production mode. Requires the application to be built first.
"run-prod": "export APP_ENV=production NODE_ENV=production && deno task run",
// Runs the tests.
"test": "export APP_ENV=test NODE_ENV=development && deno test -A --trace-leaks",
// Runs the tests in watch mode.
"test-watch": "deno task test --watch",
// Checks the formatting and runs the linter.
"check": "deno lint && deno fmt --check",
// Gets your branch up to date with master after a squash merge.
"git-rebase": "git fetch origin main && git rebase --onto origin/main HEAD"
},
"compilerOptions": {
"lib": ["esnext", "dom", "dom.iterable", "dom.asynciterable", "deno.ns"],
"jsx": "react-jsx",
"jsxImportSource": "react",
"jsxImportSourceTypes": "@types/react"
},
"nodeModulesDir": true,
"exclude": [
"coverage",
"node_modules",
"example/public/build",
"example/routes/_main.ts",
"example/routes/_main.tsx"
],
"imports": {
"@udibo/http-error": "jsr:@udibo/http-error@0",
"@udibo/react-app": "./mod.tsx",
"@udibo/react-app/build": "./build.ts",
"@udibo/react-app/dev": "./dev.ts",
"@udibo/react-app/server": "./server.tsx",
"@udibo/react-app/client": "./client.tsx",
"@udibo/react-app/test-utils": "./test-utils.tsx",
"@udibo/react-app/global-jsdom": "./global-jsdom.ts",
"@luca/esbuild-deno-loader": "jsr:@luca/[email protected]",
"@oak/oak": "jsr:@oak/oak@16",
"@std/assert": "jsr:@std/assert@1",
"@std/async": "jsr:@std/async@1",
"@std/fs": "jsr:@std/fs@1",
"@std/log": "jsr:@std/log@0",
"@std/path": "jsr:@std/path@1",
"@std/testing": "jsr:@std/testing@1",
"esbuild": "npm:[email protected]",
"react": "npm:react@18",
"@types/react": "npm:@types/react@18",
"react-dom": "npm:react-dom@18",
"react-error-boundary": "npm:react-error-boundary@4",
"react-router-dom": "npm:react-router-dom@6",
"react-helmet-async": "npm:react-helmet-async@2",
"serialize-javascript": "npm:serialize-javascript@6",
"@testing-library/react": "npm:@testing-library/react@16",
"global-jsdom": "npm:global-jsdom@24",
"@tanstack/react-query": "npm:@tanstack/react-query@5"
}
}