-
Notifications
You must be signed in to change notification settings - Fork 456
/
deno.json
61 lines (61 loc) · 1.9 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
{
"imports": {
"@nestjs/common": "npm:@nestjs/common",
"esbuild": "npm:esbuild",
"@luca/esbuild-deno-loader": "jsr:@luca/esbuild-deno-loader",
"typeorm": "npm:typeorm"
},
"compilerOptions": {
"declaration": false,
"noImplicitAny": true,
"removeComments": true,
"noLib": false,
"skipLibCheck": true,
"importHelpers": true,
"allowSyntheticDefaultImports": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"allowUnreachableCode": false,
"noImplicitReturns": true,
"noImplicitThis": true,
"noUnusedParameters": true,
"noUnusedLocals": true,
"strictPropertyInitialization": true,
"target": "ES2022",
"noFallthroughCasesInSwitch": true,
"sourceMap": true,
"noEmitHelpers": true,
"noUncheckedIndexedAccess": true,
"outDir": "./dist",
"baseUrl": "./src",
"incremental": true,
"isolatedModules": true,
"strictNullChecks": true
},
"tasks": {
"start": "deno run --allow-net --allow-read --allow-env --allow-ffi --unstable-sloppy-imports src/main.ts",
"start:prod": "deno run --allow-net --allow-read --allow-env --allow-ffi --unstable-sloppy-imports dist/main.js",
"watch": "deno run --allow-net --allow-read --allow-env --allow-ffi --unstable-sloppy-imports --watch=src/ src/main.ts",
"test": "deno test --allow-net --allow-read --allow-env --allow-ffi",
"compile": "deno compile --allow-read --allow-write --allow-env --allow-ffi --allow-ffi --unstable --output dist/main ./src/main.ts",
"buildr": "yarn build:prod"
},
"fmt": {
"options": {
"useTabs": false,
"lineWidth": 80,
"indentWidth": 2,
"singleQuote": true,
"proseWrap": "preserve"
}
},
"lint": {
"rules": {
"tags": ["recommended"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules/"]
}
}
}