data-structure-typed/package.json
2024-11-01 19:40:53 +13:00

272 lines
7.5 KiB
JSON

{
"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"
]
}