-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeno.json
More file actions
86 lines (86 loc) · 2.25 KB
/
deno.json
File metadata and controls
86 lines (86 loc) · 2.25 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
{
"name": "@leawind/seriall",
"version": "0.5.4",
"description": "A simple serialization library supports circular references and built-in types",
"repository": {
"type": "git",
"url": "git+https://github.com/Leawind/seriall.git"
},
"license": "MIT",
"exports": {
"./async": "./src/seriall-async/index.ts",
"./sync": "./src/seriall-sync/index.ts",
".": "./src/index.ts"
},
"tasks": {
"build-npm": "deno run -A scripts/build-npm.ts --",
"test": "deno test --parallel",
"check": "deno check src test",
"verify": "deno fmt --check && deno lint && deno task test",
"prepare-jsr": "deno task verify && deno publish --dry-run",
"prepare-npm": "deno task verify && deno task build-npm && cd dist/npm && npm publish --dry-run",
"prepare": "deno task verify && deno task build-npm && deno publish --dry-run && cd dist/npm && npm publish --dry-run"
},
"test": {
"include": [
"src/**/*.ts",
"test/**/*.test.ts"
]
},
"publish": {
"exclude": [
".github/",
"examples/",
"scripts",
"test/",
".gitattribute"
]
},
"imports": {
"@deno/dnt": "jsr:@deno/dnt@^0.41.3",
"@std/assert": "jsr:@std/assert@^1.0.12",
"@std/toml": "jsr:@std/toml@^1.0.3",
"@std/yaml": "jsr:@std/yaml@^1.0.5",
"@leawind/bimap": "jsr:@leawind/bimap@^0.2.0"
},
"lint": {
"include": ["src/", "test/"],
"rules": {
"exclude": [
"ban-types",
"no-empty-interface",
"no-explicit-any",
"no-inner-declarations"
]
}
},
"fmt": {
"bracePosition": "sameLine",
"indentWidth": 2,
"lineWidth": 120,
"newLineKind": "lf",
"nextControlFlowPosition": "sameLine",
"operatorPosition": "nextLine",
"proseWrap": "preserve",
"quoteProps": "asNeeded",
"semiColons": false,
"singleBodyPosition": "sameLine",
"useBraces": "always",
"useTabs": false,
"singleQuote": true,
"spaceAround": false,
"spaceSurroundingProperties": true,
"trailingCommas": "onlyMultiLine",
"typeLiteral.separatorKind": "semiColon",
"include": [
".github/",
".github/workflows/*.yaml",
"**/*.md",
"*.json",
"scripts/",
"src/",
"test/"
],
"exclude": ["dist"]
}
}