-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeno.json
177 lines (177 loc) · 4.85 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
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
{
"name": "@oazmi/kitchensink",
"version": "0.9.8",
"description": "a collection of personal utility functions",
"author": "Omar Azmi",
"license": "Lulz plz don't steal yet",
"repository": {
"type": "git",
"url": "git+https://github.com/omar-azmi/kitchensink_ts.git"
},
"bugs": {
"url": "https://github.com/omar-azmi/kitchensink_ts/issues"
},
"exclude": [
"./dist/",
"./docs/",
"./npm/"
],
"exports": {
".": "./src/mod.ts",
"./alias": "./src/alias.ts",
"./array1d": "./src/array1d.ts",
"./array2d": "./src/array2d.ts",
"./binder": "./src/binder.ts",
"./browser": "./src/browser.ts",
"./collections": "./src/collections.ts",
"./crossenv": "./src/crossenv.ts",
"./cryptoman": "./src/cryptoman.ts",
"./devdebug": "./src/devdebug.ts",
"./dotkeypath": "./src/dotkeypath.ts",
"./eightpack": "./src/eightpack.ts",
"./eightpack_varint": "./src/eightpack_varint.ts",
"./formattable": "./src/formattable.ts",
"./image": "./src/image.ts",
"./lambda": "./src/lambda.ts",
"./lambdacalc": "./src/lambdacalc.ts",
"./mapper": "./src/mapper.ts",
"./numericarray": "./src/numericarray.ts",
"./numericmethods": "./src/numericmethods.ts",
"./pathman": "./src/pathman.ts",
"./stringman": "./src/stringman.ts",
"./struct": "./src/struct.ts",
"./timeman": "./src/timeman.ts",
"./typedbuffer": "./src/typedbuffer.ts",
"./typedefs": "./src/typedefs.ts"
},
"publish": {
"exclude": [
"./.vscode/",
"./.github/",
"./examples/",
"./test/",
"./clean.ts"
]
},
"test": {
"include": [
"./test/",
"./src/mod.ts"
]
},
"fmt": {
"useTabs": true,
"semiColons": false,
"singleQuote": false,
"lineWidth": 800,
"proseWrap": "preserve",
"include": [
"./src/",
"./test/",
"./*.md",
"./*.json"
]
},
"compilerOptions": {
"lib": [
"esnext",
"dom",
"deno.ns"
],
"strict": true
},
"packageJson": {
"dependencies": {},
"devDependencies": {
"typescript": "^5.6.0",
"esbuild": "^0.25.0",
"typedoc": "^0.27.4",
"typedoc-plugin-missing-exports": "^3.1.0",
"typedoc-plugin-mermaid": "^1.12.0"
},
"keywords": [
"utility",
"utility-library",
"modular",
"browser",
"deno",
"typescript"
]
},
"buildDist": {
"dir": "./dist/",
"log": "verbose",
"minify": "syntax",
"split": true,
"passes": "2",
"transform": [
{
"pattern": "./**/*.js",
"loader": "js",
"options": {
"minifySyntax": true,
"platform": "browser",
"format": "esm",
"target": "esnext"
}
}
],
"esbuild": {
"chunkNames": "chunks/[hash]",
"external": []
}
},
"buildDocs": {
"dir": "./docs/",
"log": "verbose",
"copy": [
["./readme.md", "./readme.md"],
["./license.md", "./license.md"],
["./src/", "./src/"],
["./examples/", "./examples/"]
]
},
"buildNpm": {
"dir": "./npm/",
"log": "verbose",
"install": "npm"
},
"tasks": {
"build-dist": {
"command": "deno run -A \"jsr:@oazmi/[email protected]/cli/dist\" --config=\"./deno.json\"",
"description": "transpiles the library to minified esm-distributable javascript multi-entry source code.\nuses the `buildDist` field in `deno.json` for configuration.\ndepends on `npm:esbuild` and `jsr:@oazmi/build-tools`."
},
"build-docs": {
"command": "deno run -A \"jsr:@oazmi/[email protected]/cli/docs\" --config=\"./deno.json\"",
"description": "generates github-pages compatible documentation site for the library.\nuses the `buildDocs` field in `deno.json` for configuration.\ndepends on `npm:typedoc` and `jsr:@oazmi/build-tools`."
},
"build-npm": {
"command": "deno run -A \"jsr:@oazmi/[email protected]/cli/npm\" --config=\"./deno.json\"",
"description": "converts the library code to a nodejs compatible project.\nuses the `buildNpm` field in `deno.json` for configuration.\ndepends on `jsr:@deno/dnt` and `jsr:@oazmi/build-tools`."
},
"build-npm-dist": {
"command": "cd \"./npm/\" && npm run build-dist",
"description": "generates minified distributable code out of the node-converted project generated by the `build-npm` task."
},
"local-server": {
"command": "deno run --allow-net --allow-read \"jsr:@std/http/file-server\"",
"description": "run a basic local file server, possibly for checking the generated docs or interactive examples."
},
"clean": {
"command": "deno run -A \"./clean.ts\"",
"description": "clean the project by deleting known polutant files and directories."
},
"test": {
"command": "deno test -A",
"description": "run typescript validity test on source code, and evaluate the unit tests in the `./test/` directory."
},
"test-doc": {
"command": "deno test -A --doc \"./src/*\"",
"description": "evaluate the documentation comment tests and examples inside of the source code."
},
"publish-jsr": {
"command": "deno publish --allow-slow-types",
"description": "publish the library to `https://jsr.io`."
}
}
}