data-structure-typed/package.json
2024-09-03 10:22:22 +12:00

270 lines
7.4 KiB
JSON

{
"name": "data-structure-typed",
"version": "1.52.3",
"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",
"types": "./dist/mjs/index.d.ts"
}
},
"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": {
"@swc/core": "^1.3.96",
"@types/benchmark": "^2.1.3",
"@types/jest": "^29.5.5",
"@types/node": "^20.8.2",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"auto-changelog": "^2.4.0",
"avl-tree-typed": "^1.52.2",
"benchmark": "^2.1.4",
"binary-tree-typed": "^1.52.2",
"bst-typed": "^1.52.2",
"data-structure-typed": "^1.52.2",
"dependency-cruiser": "^14.1.0",
"doctoc": "^2.2.1",
"eslint": "^8.50.0",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.28.1",
"fast-glob": "^3.3.1",
"heap-typed": "^1.52.2",
"istanbul-badges-readme": "^1.8.5",
"jest": "^29.7.0",
"js-sdsl": "^4.4.2",
"prettier": "^3.3.3",
"ts-jest": "^29.1.1",
"ts-loader": "^9.4.4",
"ts-node": "^10.9.1",
"tsup": "^7.2.0",
"typedoc": "^0.26.5",
"typescript": "^5.3.2"
},
"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"
]
}