-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeno.json
More file actions
84 lines (84 loc) · 2.01 KB
/
Copy pathdeno.json
File metadata and controls
84 lines (84 loc) · 2.01 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
{
"name": "@leawind/rop",
"version": "0.0.2",
"description": "Evaluate expression with operator overloading and Python-style array slicing using tagged template literal.",
"repository": {
"type": "git",
"url": "git+https://github.com/Leawind/rop.git"
},
"license": "MIT",
"exports": {
".": "./src/index.ts"
},
"tasks": {
"build-npm": "deno run -A scripts/build-npm.ts --",
"index": "deno run -A scripts/gen-index.ts -- src",
"test": "deno test --doc --parallel",
"check": "deno check src test",
"verify": "deno task index -c && deno fmt --check && deno lint && deno task test",
"prepare": "deno task verify && deno task build-npm && cd dist/npm && npm publish --dry-run"
},
"test": {
"include": [
"src/**/*.ts",
"test/**/*.test.ts"
]
},
"publish": {
"exclude": [
".github/",
"examples/",
"lab",
"scripts",
"test/",
".gitattribute",
"CONTRIBUTING.md"
]
},
"imports": {
"@std/assert": "jsr:@std/assert@^1"
},
"lint": {
"include": ["src/", "test/"],
"rules": {
"exclude": [
"ban-types",
"for-direction",
"no-empty-interface",
"no-explicit-any",
"no-inner-declarations",
"verbatim-module-syntax"
]
}
},
"fmt": {
"bracePosition": "sameLine",
"indentWidth": 2,
"lineWidth": 150,
"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",
"lab/",
"scripts/",
"src/",
"test/"
],
"exclude": ["dist"]
}
}