2023-06-15 16:34:28 +00:00
|
|
|
{
|
|
|
|
"name": "data-structure-typed",
|
2023-11-30 03:41:09 +00:00
|
|
|
"version": "1.48.1",
|
2023-11-21 03:02:10 +00:00
|
|
|
"description": "Data Structures of Javascript & TypeScript. Heap, Binary Tree, RedBlack 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.",
|
2023-11-13 15:51:43 +00:00
|
|
|
"main": "dist/cjs/index.js",
|
|
|
|
"module": "dist/mjs/index.js",
|
|
|
|
"types": "dist/mjs/index.d.ts",
|
2023-10-27 14:30:52 +00:00
|
|
|
"umd:main": "dist/umd/data-structure-typed.min.js",
|
2023-10-13 02:29:08 +00:00
|
|
|
"exports": {
|
2023-10-25 07:51:50 +00:00
|
|
|
".": {
|
2023-11-13 15:51:43 +00:00
|
|
|
"import": "./dist/mjs/index.js",
|
|
|
|
"require": "./dist/cjs/index.js",
|
|
|
|
"types": "./dist/mjs/index.d.ts"
|
2023-10-25 07:51:50 +00:00
|
|
|
}
|
2023-10-13 02:29:08 +00:00
|
|
|
},
|
2023-06-15 16:34:28 +00:00
|
|
|
"scripts": {
|
2023-10-25 07:51:50 +00:00
|
|
|
"build": "npm run build:mjs && npm run build:cjs && npm run build:umd && npm run build:docs",
|
2023-11-04 02:00:51 +00:00
|
|
|
"build:mjs": "rm -rf dist/mjs && tsc -p tsconfig-mjs.json",
|
2023-10-25 07:51:50 +00:00
|
|
|
"build:cjs": "rm -rf dist/cjs && tsc -p tsconfig-cjs.json",
|
|
|
|
"build:umd": "tsup",
|
2023-09-09 15:49:53 +00:00
|
|
|
"build:docs": "typedoc --out docs ./src",
|
2023-11-13 15:51:43 +00:00
|
|
|
"test:unit": "jest --runInBand",
|
2023-11-14 13:41:20 +00:00
|
|
|
"test": "npm run test:unit",
|
2023-11-13 15:51:43 +00:00
|
|
|
"test:integration": "npm run update:subs && jest --config jest.integration.config.js",
|
2023-11-19 13:16:20 +00:00
|
|
|
"test:perf": "npm run build:cjs && npm run build:mjs && ts-node test/performance/reportor.ts",
|
2023-10-20 03:43:26 +00:00
|
|
|
"check": "tsc --noEmit",
|
2023-11-13 15:51:43 +00:00
|
|
|
"check:circular-refs": "dependency-cruiser src",
|
2023-09-26 11:43:45 +00:00
|
|
|
"lint:src": "eslint --fix 'src/**/*.{js,ts}'",
|
|
|
|
"lint:test": "eslint --fix 'test/**/*.{js,ts}'",
|
|
|
|
"lint": "npm run lint:src && npm run lint:test",
|
2023-11-27 06:04:04 +00:00
|
|
|
"inspect": "npm run build && npm run check && npm run lint",
|
2023-09-26 11:43:45 +00:00
|
|
|
"format:src": "prettier --write 'src/**/*.{js,ts}'",
|
|
|
|
"format:test": "prettier --write 'test/**/*.{js,ts}'",
|
|
|
|
"format": "npm run format:src && npm run format:test",
|
2023-11-19 09:48:54 +00:00
|
|
|
"check:exist-latest": "sh scripts/check_exist_remotely.sh",
|
2023-11-16 02:14:14 +00:00
|
|
|
"ci": "env && git fetch --tags && npm run inspect && npm run lint && npm run build && npm run test:unit && npm run changelog",
|
2023-11-14 13:41:20 +00:00
|
|
|
"update:subs": "npm i avl-tree-typed binary-tree-typed bst-typed heap-typed data-structure-typed --save-dev",
|
2023-11-08 01:26:43 +00:00
|
|
|
"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",
|
2023-09-21 16:53:34 +00:00
|
|
|
"changelog": "auto-changelog",
|
2023-09-22 02:40:12 +00:00
|
|
|
"coverage:badge": "istanbul-badges-readme",
|
2023-11-21 06:16:06 +00:00
|
|
|
"toc": "doctoc README.md",
|
2023-10-25 02:40:39 +00:00
|
|
|
"copy:to-subs": "sh scripts/copy_to_all_subs.sh",
|
|
|
|
"publish:subs": "npm run copy:to-subs && sh scripts/publish_all_subs.sh",
|
2023-10-21 12:19:35 +00:00
|
|
|
"publish:docs": "sh scripts/publish_docs.sh",
|
2023-11-19 09:48:54 +00:00
|
|
|
"publish:all": "npm run ci && npm publish && npm run publish:docs && npm run check:exist-latest && npm run publish:subs"
|
2023-06-15 16:34:28 +00:00
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/zrwusa/data-structure-typed.git"
|
|
|
|
},
|
2023-11-21 09:30:57 +00:00
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/zrwusa/data-structure-typed/issues"
|
|
|
|
},
|
|
|
|
"homepage": "https://data-structure-typed-docs.vercel.app",
|
2023-10-13 02:29:08 +00:00
|
|
|
"author": "Tyler Zeng <zrwusa@gmail.com>",
|
2023-09-26 12:10:32 +00:00
|
|
|
"license": "MIT",
|
|
|
|
"publishConfig": {
|
2023-09-26 12:21:20 +00:00
|
|
|
"@zrwusa:registry": "https://npm.pkg.github.com"
|
2023-09-26 12:10:32 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-11-13 15:51:43 +00:00
|
|
|
"@swc/core": "^1.3.96",
|
2023-09-26 12:10:32 +00:00
|
|
|
"@types/benchmark": "^2.1.3",
|
2023-10-06 12:51:55 +00:00
|
|
|
"@types/jest": "^29.5.5",
|
|
|
|
"@types/node": "^20.8.2",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^6.7.4",
|
|
|
|
"@typescript-eslint/parser": "^6.7.4",
|
2023-09-26 12:10:32 +00:00
|
|
|
"auto-changelog": "^2.4.0",
|
2023-11-14 13:41:20 +00:00
|
|
|
"avl-tree-typed": "^1.44.0",
|
2023-09-26 12:10:32 +00:00
|
|
|
"benchmark": "^2.1.4",
|
2023-11-14 13:41:20 +00:00
|
|
|
"binary-tree-typed": "^1.44.0",
|
|
|
|
"bst-typed": "^1.44.0",
|
|
|
|
"data-structure-typed": "^1.44.0",
|
2023-10-06 12:51:55 +00:00
|
|
|
"dependency-cruiser": "^14.1.0",
|
2023-11-21 06:16:06 +00:00
|
|
|
"doctoc": "^2.2.1",
|
2023-10-06 12:51:55 +00:00
|
|
|
"eslint": "^8.50.0",
|
|
|
|
"eslint-config-prettier": "^9.0.0",
|
2023-09-26 12:10:32 +00:00
|
|
|
"eslint-import-resolver-alias": "^1.1.2",
|
2023-10-06 12:51:55 +00:00
|
|
|
"eslint-import-resolver-typescript": "^3.6.1",
|
|
|
|
"eslint-plugin-import": "^2.28.1",
|
2023-11-02 01:24:06 +00:00
|
|
|
"fast-glob": "^3.3.1",
|
2023-11-14 13:41:20 +00:00
|
|
|
"heap-typed": "^1.44.0",
|
2023-09-26 12:10:32 +00:00
|
|
|
"istanbul-badges-readme": "^1.8.5",
|
2023-10-06 12:51:55 +00:00
|
|
|
"jest": "^29.7.0",
|
2023-11-10 16:17:50 +00:00
|
|
|
"js-sdsl": "^4.4.2",
|
2023-09-26 12:10:32 +00:00
|
|
|
"prettier": "^3.0.3",
|
|
|
|
"ts-jest": "^29.1.1",
|
|
|
|
"ts-loader": "^9.4.4",
|
2023-11-02 01:24:06 +00:00
|
|
|
"ts-node": "^10.9.1",
|
2023-10-25 07:51:50 +00:00
|
|
|
"tsup": "^7.2.0",
|
2023-10-06 12:51:55 +00:00
|
|
|
"typedoc": "^0.25.1",
|
2023-11-02 03:57:20 +00:00
|
|
|
"typescript": "^5.2.2"
|
2023-09-26 12:10:32 +00:00
|
|
|
},
|
2023-06-15 16:34:28 +00:00
|
|
|
"keywords": [
|
2023-09-20 02:43:27 +00:00
|
|
|
"data",
|
|
|
|
"structure",
|
|
|
|
"structures",
|
2023-09-18 14:04:39 +00:00
|
|
|
"data structure",
|
2023-09-24 13:31:09 +00:00
|
|
|
"datastructure",
|
2023-09-18 14:04:39 +00:00
|
|
|
"data-structure",
|
|
|
|
"data structures",
|
2023-09-24 13:31:09 +00:00
|
|
|
"datastructures",
|
2023-09-18 14:04:39 +00:00
|
|
|
"data-structures",
|
2023-09-24 13:31:09 +00:00
|
|
|
"in data structures",
|
|
|
|
"in data structure",
|
2023-09-20 02:43:27 +00:00
|
|
|
"binary",
|
|
|
|
"depth",
|
|
|
|
"breadth",
|
|
|
|
"first",
|
|
|
|
"search",
|
|
|
|
"index",
|
|
|
|
"avl",
|
2023-11-21 03:02:10 +00:00
|
|
|
"red",
|
|
|
|
"black",
|
|
|
|
"redblack",
|
|
|
|
"RB",
|
2023-09-20 02:43:27 +00:00
|
|
|
"segment",
|
|
|
|
"prefix",
|
|
|
|
"tree",
|
2023-11-21 03:02:10 +00:00
|
|
|
"multi",
|
|
|
|
"map",
|
|
|
|
"set",
|
2023-09-20 02:43:27 +00:00
|
|
|
"multiset",
|
2023-11-21 03:02:10 +00:00
|
|
|
"multimap",
|
2023-09-20 02:43:27 +00:00
|
|
|
"directed",
|
|
|
|
"undirected",
|
|
|
|
"graph",
|
|
|
|
"min",
|
|
|
|
"max",
|
|
|
|
"heap",
|
|
|
|
"priority",
|
|
|
|
"queue",
|
|
|
|
"singly",
|
|
|
|
"doubly",
|
|
|
|
"linked",
|
|
|
|
"list",
|
|
|
|
"js",
|
|
|
|
"ts",
|
|
|
|
"javascript",
|
|
|
|
"typscript",
|
2023-09-24 13:31:09 +00:00
|
|
|
"Node.js",
|
2023-11-21 03:02:10 +00:00
|
|
|
"NodeJS",
|
|
|
|
"c++",
|
2023-09-24 13:31:09 +00:00
|
|
|
"std",
|
2023-11-21 03:02:10 +00:00
|
|
|
"C++ STL",
|
|
|
|
"c++stl",
|
|
|
|
"C++ std",
|
|
|
|
"stl",
|
|
|
|
"std::",
|
|
|
|
"Python",
|
2023-09-24 13:31:09 +00:00
|
|
|
"collections",
|
2023-11-21 03:02:10 +00:00
|
|
|
"Python Collections",
|
|
|
|
"pythoncollections",
|
|
|
|
"python-collections",
|
|
|
|
"C#",
|
|
|
|
"System.Collections.Generic",
|
2023-09-24 13:31:09 +00:00
|
|
|
"collection",
|
2023-11-21 03:02:10 +00:00
|
|
|
"java.util",
|
|
|
|
"Java",
|
2023-09-24 13:31:09 +00:00
|
|
|
"util",
|
2023-09-18 14:04:39 +00:00
|
|
|
"binary search tree",
|
2023-09-24 13:31:09 +00:00
|
|
|
"binarysearchtree",
|
2023-09-18 14:04:39 +00:00
|
|
|
"binary-search-tree",
|
2023-11-21 03:02:10 +00:00
|
|
|
"BST",
|
2023-09-18 14:04:39 +00:00
|
|
|
"binary tree",
|
2023-09-24 13:31:09 +00:00
|
|
|
"binarytree",
|
2023-09-18 14:04:39 +00:00
|
|
|
"binary-tree",
|
2023-11-21 03:02:10 +00:00
|
|
|
"red black tree",
|
|
|
|
"redblacktree",
|
|
|
|
"redblack tree",
|
|
|
|
"red-black-tree",
|
|
|
|
"redblack-tree",
|
|
|
|
"trie",
|
|
|
|
"prefix tree",
|
|
|
|
"prefixtree",
|
|
|
|
"prefix-tree",
|
2023-09-18 14:04:39 +00:00
|
|
|
"avl tree",
|
2023-09-24 13:31:09 +00:00
|
|
|
"avltree",
|
2023-09-18 14:04:39 +00:00
|
|
|
"avl-tree",
|
2023-11-21 03:02:10 +00:00
|
|
|
"tree set",
|
|
|
|
"treeset",
|
|
|
|
"tree-set",
|
2023-09-18 14:04:39 +00:00
|
|
|
"tree multiset",
|
2023-09-24 13:31:09 +00:00
|
|
|
"treemultiset",
|
2023-11-21 03:02:10 +00:00
|
|
|
"tree-multiset",
|
|
|
|
"tree map",
|
|
|
|
"treemap",
|
|
|
|
"tree-map",
|
2023-11-08 12:25:02 +00:00
|
|
|
"tree multimap",
|
|
|
|
"treemultimap",
|
2023-11-08 01:26:43 +00:00
|
|
|
"tree-multimap",
|
2023-09-20 02:43:27 +00:00
|
|
|
"binary indexed tree",
|
2023-09-24 13:31:09 +00:00
|
|
|
"binaryindexedtree",
|
2023-09-20 02:43:27 +00:00
|
|
|
"binary-indexed-tree",
|
|
|
|
"segment tree",
|
2023-09-24 13:31:09 +00:00
|
|
|
"segmenttree",
|
2023-09-20 02:43:27 +00:00
|
|
|
"segment-tree",
|
2023-11-21 03:02:10 +00:00
|
|
|
"sort",
|
|
|
|
"sorted",
|
|
|
|
"order",
|
|
|
|
"ordered",
|
|
|
|
"algorithm",
|
|
|
|
"morris",
|
|
|
|
"Morris",
|
|
|
|
"bellman ford",
|
|
|
|
"bellmanford",
|
|
|
|
"bellman-ford",
|
|
|
|
"dijkstra",
|
|
|
|
"Dijkstra",
|
|
|
|
"floyd warshall",
|
|
|
|
"floydwarshall",
|
|
|
|
"floyd-warshall",
|
|
|
|
"tarjan",
|
|
|
|
"tarjan's",
|
2023-09-18 14:04:39 +00:00
|
|
|
"dfs",
|
2023-09-20 02:43:27 +00:00
|
|
|
"depth first Search",
|
2023-09-24 13:31:09 +00:00
|
|
|
"depthfirstSearch",
|
2023-09-20 02:43:27 +00:00
|
|
|
"depth-first-Search",
|
2023-09-18 14:04:39 +00:00
|
|
|
"bfs",
|
2023-09-20 02:43:27 +00:00
|
|
|
"breadth first search",
|
2023-09-24 13:31:09 +00:00
|
|
|
"breadthfirstsearch",
|
2023-09-20 02:43:27 +00:00
|
|
|
"dfs iterative",
|
|
|
|
"recursive",
|
|
|
|
"iterative",
|
2023-09-18 14:04:39 +00:00
|
|
|
"directed graph",
|
2023-09-24 13:31:09 +00:00
|
|
|
"directedgraph",
|
2023-09-18 14:04:39 +00:00
|
|
|
"directed-graph",
|
|
|
|
"undirected graph",
|
2023-09-24 13:31:09 +00:00
|
|
|
"undirectedgraph",
|
2023-09-18 14:04:39 +00:00
|
|
|
"undirected-graph",
|
2023-09-20 02:43:27 +00:00
|
|
|
"min heap",
|
2023-09-24 13:31:09 +00:00
|
|
|
"minheap",
|
2023-09-20 02:43:27 +00:00
|
|
|
"min-heap",
|
|
|
|
"max heap",
|
2023-09-24 13:31:09 +00:00
|
|
|
"maxheap",
|
2023-09-20 02:43:27 +00:00
|
|
|
"max-heap",
|
2023-09-18 14:04:39 +00:00
|
|
|
"priority queue",
|
2023-09-24 13:31:09 +00:00
|
|
|
"priorityqueue",
|
2023-09-18 14:04:39 +00:00
|
|
|
"priority-queue",
|
|
|
|
"max priority queue",
|
2023-09-24 13:31:09 +00:00
|
|
|
"maxpriorityqueue",
|
2023-09-18 14:04:39 +00:00
|
|
|
"max-priority-queue",
|
|
|
|
"min priority queue",
|
2023-09-24 13:31:09 +00:00
|
|
|
"minpriorityqueue",
|
2023-09-18 14:04:39 +00:00
|
|
|
"min-priority-queue",
|
2023-09-20 02:43:27 +00:00
|
|
|
"hash",
|
2023-11-21 03:02:10 +00:00
|
|
|
"map",
|
|
|
|
"hash map",
|
|
|
|
"hashmap",
|
|
|
|
"hash-map",
|
2023-09-18 14:04:39 +00:00
|
|
|
"deque",
|
|
|
|
"linked list",
|
2023-09-24 13:31:09 +00:00
|
|
|
"linkedlist",
|
2023-09-18 14:04:39 +00:00
|
|
|
"linked-list",
|
|
|
|
"singly linked list",
|
2023-09-24 13:31:09 +00:00
|
|
|
"singlylinkedlist",
|
2023-09-18 14:04:39 +00:00
|
|
|
"singly-linked-list",
|
|
|
|
"doubly linked list",
|
2023-09-24 13:31:09 +00:00
|
|
|
"doublylinkedlist",
|
2023-09-18 14:04:39 +00:00
|
|
|
"doubly-linked-list",
|
2023-11-21 03:02:10 +00:00
|
|
|
"stack",
|
|
|
|
"CommonJS",
|
|
|
|
"ES6",
|
|
|
|
"UMD",
|
|
|
|
"ES Modules",
|
|
|
|
"ESModules",
|
|
|
|
"ESModule"
|
2023-10-25 03:26:30 +00:00
|
|
|
]
|
2023-06-15 16:34:28 +00:00
|
|
|
}
|