-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
271 lines (271 loc) · 7.49 KB
/
package.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
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
{
"name": "data-structure-typed",
"version": "1.53.0",
"description": "Javascript Data Structure. Heap, Binary Tree, Red Black Tree, Linked List, Deque, Trie, HashMap, Directed Graph, Undirected Graph, Binary Search Tree(BST), AVL Tree, Priority Queue, Graph, Queue, Tree Multiset, Singly Linked List, Doubly Linked List, Max Heap, Max Priority Queue, Min Heap, Min Priority Queue, Stack. Benchmark compared with C++ STL. API aligned with ES6 and Java.util. Usability is comparable to Python",
"main": "dist/cjs/index.js",
"module": "dist/mjs/index.js",
"types": "dist/mjs/index.d.ts",
"umd:main": "dist/umd/data-structure-typed.min.js",
"exports": {
".": {
"import": "./dist/mjs/index.js",
"require": "./dist/cjs/index.js"
}
},
"scripts": {
"build": "npm run build:mjs && npm run build:cjs && npm run build:umd && npm run build:docs-class",
"build:mjs": "rm -rf dist/mjs && tsc -p tsconfig-mjs.json",
"build:cjs": "rm -rf dist/cjs && tsc -p tsconfig-cjs.json",
"build:umd": "tsup",
"build:docs": "typedoc --out docs ./src",
"build:docs-class": "typedoc --out docs ./src/data-structures",
"test:unit": "jest --runInBand",
"test": "npm run test:unit",
"test:integration": "npm run update:subs && jest --config jest.integration.config.js",
"test:perf": "npm run build:cjs && npm run build:mjs && ts-node test/performance/reportor.ts",
"check": "tsc --noEmit",
"check:circular-refs": "dependency-cruiser src",
"lint:src": "eslint --fix 'src/**/*.{js,ts}'",
"lint:test": "eslint --fix 'test/**/*.{js,ts}'",
"lint": "npm run lint:src && npm run lint:test",
"inspect": "npm run build && npm run check && npm run lint",
"format:src": "prettier --write 'src/**/*.{js,ts}'",
"format:test": "prettier --write 'test/**/*.{js,ts}'",
"format": "npm run format:src && npm run format:test",
"check:exist-latest": "sh scripts/check_exist_remotely.sh",
"ci": "env && git fetch --tags && npm run update:subs && npm run inspect && npm run lint && npm run build && npm run test:unit && npm run changelog",
"update:subs": "npm i avl-tree-typed binary-tree-typed bst-typed heap-typed data-structure-typed --save-dev",
"install:all-subs": "npm i avl-tree-typed binary-tree-typed bst-typed deque-typed directed-graph-typed doubly-linked-list-typed graph-typed heap-typed linked-list-typed max-heap-typed max-priority-queue-typed min-heap-typed min-priority-queue-typed priority-queue-typed singly-linked-list-typed stack-typed tree-multimap-typed trie-typed undirected-graph-typed queue-typed --save-dev",
"changelog": "auto-changelog",
"coverage:badge": "istanbul-badges-readme",
"toc": "doctoc README.md",
"copy:to-subs": "sh scripts/copy_to_all_subs.sh",
"publish:subs": "npm run copy:to-subs && sh scripts/publish_all_subs.sh",
"publish:docs": "sh scripts/publish_docs.sh",
"publish:all": "npm run ci && npm publish && npm run publish:docs && npm run check:exist-latest && npm run publish:subs"
},
"repository": {
"type": "git",
"url": "git+https://github.com/zrwusa/data-structure-typed.git"
},
"bugs": {
"url": "https://github.com/zrwusa/data-structure-typed/issues"
},
"homepage": "https://data-structure-typed-docs.vercel.app",
"author": "Tyler Zeng <zrwusa@gmail.com>",
"license": "MIT",
"publishConfig": {
"@zrwusa:registry": "https://npm.pkg.github.com"
},
"devDependencies": {
"@eslint/compat": "^1.2.2",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.13.0",
"@swc/core": "^1.7.40",
"@types/benchmark": "^2.1.5",
"@types/jest": "^29.5.14",
"@types/node": "^22.8.2",
"@typescript-eslint/eslint-plugin": "^8.12.1",
"@typescript-eslint/parser": "^8.12.1",
"auto-changelog": "^2.5.0",
"avl-tree-typed": "^1.52.9",
"benchmark": "^2.1.4",
"binary-tree-typed": "^1.52.9",
"bst-typed": "^1.52.9",
"data-structure-typed": "^1.52.9",
"dependency-cruiser": "^16.5.0",
"doctoc": "^2.2.1",
"eslint": "^9.13.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-import": "^2.31.0",
"fast-glob": "^3.3.2",
"heap-typed": "^1.52.9",
"istanbul-badges-readme": "^1.9.0",
"jest": "^29.7.0",
"js-sdsl": "^4.4.2",
"prettier": "^3.3.3",
"ts-jest": "^29.2.5",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"tsup": "^8.3.5",
"typedoc": "^0.26.10",
"typescript": "^5.6.3"
},
"keywords": [
"data",
"structure",
"structures",
"data structure",
"datastructure",
"data-structure",
"data structures",
"datastructures",
"data-structures",
"in data structures",
"in data structure",
"binary",
"depth",
"breadth",
"first",
"search",
"index",
"avl",
"red",
"black",
"redblack",
"RB",
"segment",
"prefix",
"tree",
"multi",
"map",
"set",
"multiset",
"multimap",
"directed",
"undirected",
"graph",
"min",
"max",
"heap",
"priority",
"queue",
"singly",
"doubly",
"linked",
"list",
"js",
"ts",
"javascript",
"typscript",
"Node.js",
"NodeJS",
"c++",
"std",
"C++ STL",
"c++stl",
"C++ std",
"stl",
"std::",
"Python",
"collections",
"Python Collections",
"pythoncollections",
"python-collections",
"C#",
"System.Collections.Generic",
"collection",
"java.util",
"Java",
"util",
"binary search tree",
"binarysearchtree",
"binary-search-tree",
"BST",
"binary tree",
"binarytree",
"binary-tree",
"red black tree",
"redblacktree",
"redblack tree",
"red-black-tree",
"redblack-tree",
"trie",
"prefix tree",
"prefixtree",
"prefix-tree",
"avl tree",
"avltree",
"avl-tree",
"tree set",
"treeset",
"tree-set",
"tree multiset",
"treemultiset",
"tree-multiset",
"tree map",
"treemap",
"tree-map",
"tree multimap",
"treemultimap",
"tree-multimap",
"binary indexed tree",
"binaryindexedtree",
"binary-indexed-tree",
"segment tree",
"segmenttree",
"segment-tree",
"sort",
"sorted",
"order",
"ordered",
"algorithm",
"morris",
"Morris",
"bellman ford",
"bellmanford",
"bellman-ford",
"dijkstra",
"Dijkstra",
"floyd warshall",
"floydwarshall",
"floyd-warshall",
"tarjan",
"tarjan's",
"dfs",
"depth first Search",
"depthfirstSearch",
"depth-first-Search",
"bfs",
"breadth first search",
"breadthfirstsearch",
"dfs iterative",
"recursive",
"iterative",
"directed graph",
"directedgraph",
"directed-graph",
"undirected graph",
"undirectedgraph",
"undirected-graph",
"min heap",
"minheap",
"min-heap",
"max heap",
"maxheap",
"max-heap",
"priority queue",
"priorityqueue",
"priority-queue",
"max priority queue",
"maxpriorityqueue",
"max-priority-queue",
"min priority queue",
"minpriorityqueue",
"min-priority-queue",
"hash",
"map",
"hash map",
"hashmap",
"hash-map",
"deque",
"linked list",
"linkedlist",
"linked-list",
"singly linked list",
"singlylinkedlist",
"singly-linked-list",
"doubly linked list",
"doublylinkedlist",
"doubly-linked-list",
"stack",
"CommonJS",
"ES6",
"UMD",
"ES Modules",
"ESModules",
"ESModule"
]
}