-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnode.config.json
More file actions
66 lines (66 loc) · 1.9 KB
/
Copy pathnode.config.json
File metadata and controls
66 lines (66 loc) · 1.9 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
{
"$schema": "https://nodejs.org/docs/latest/node-config-schema.json",
"nodeOptions": {
"allow-fs-read": [
"./src",
"./tests",
"./dist",
"./node_modules",
"./coverage",
"./scripts",
"./docs",
"./.github",
"./package.json",
"./package-lock.json",
"./tsconfig.json",
"./tsconfig.build.json",
"./eslint.config.js",
"./eslint.config.mjs",
"./vitest.config.ts",
"./cliff.toml",
"./README.md",
"./CHANGELOG.md",
"./LICENSE"
],
"allow-fs-write": [
"./dist",
"./coverage",
"./temp",
"./.cache"
],
"conditions": ["development", "node"],
"diagnostic-dir": "./temp",
"enable-source-maps": true,
"extra-info-on-fatal-exception": true,
"max-old-space-size-percentage": "80",
"trace-deprecation": false,
"trace-warnings": false,
"warnings": true
},
"test": {
"experimental-test-coverage": true,
"test-concurrency": 4,
"test-coverage-branches": 80,
"test-coverage-exclude": [
"**/tests/**",
"**/*.test.{ts,mts}",
"**/*.spec.{ts,mts}",
"**/node_modules/**",
"**/dist/**",
"**/coverage/**"
],
"test-coverage-functions": 80,
"test-coverage-include": [
"src/**/*.ts",
"src/**/*.mjs",
"src/**/*.mts"
],
"test-coverage-lines": 80,
"test-force-exit": false,
"test-isolation": "process",
"test-reporter": ["spec", "json"],
"test-reporter-destination": ["stdout", "./coverage/test-results.json"],
"test-timeout": 30000,
"test-update-snapshots": true
}
}