data-structure-typed/package.json

274 lines
7.6 KiB
JSON
Raw Normal View History

2023-06-15 16:34:28 +00:00
{
"name": "data-structure-typed",
"version": "1.53.8",
2023-12-29 13:50:20 +00:00
"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",
"browser": "dist/umd/data-structure-typed.min.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"
}
},
2023-06-15 16:34:28 +00:00
"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": "npm run gen:examples && typedoc --out docs ./src",
"build:docs-class": "npm run gen:examples && typedoc --out docs ./src/data-structures",
"gen:examples": "ts-node scripts/testToExample.ts",
"test:in-band": "jest --runInBand",
"test": "npm run test:in-band",
"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",
2023-11-27 06:04:04 +00:00
"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 test && 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",
2023-09-22 02:40:12 +00:00
"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",
2023-10-21 12:19:35 +00:00
"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"
2023-06-15 16:34:28 +00:00
},
"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>",
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": {
"@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.53.6",
2023-09-26 12:10:32 +00:00
"benchmark": "^2.1.4",
"binary-tree-typed": "^1.53.6",
"bst-typed": "^1.53.6",
"data-structure-typed": "^1.53.6",
"dependency-cruiser": "^16.5.0",
"doctoc": "^2.2.1",
"eslint": "^9.13.0",
"eslint-config-prettier": "^9.1.0",
2023-09-26 12:10:32 +00:00
"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.53.6",
"istanbul-badges-readme": "^1.9.0",
2023-10-06 12:51:55 +00:00
"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"
2023-09-26 12:10:32 +00:00
},
2023-06-15 16:34:28 +00:00
"keywords": [
2023-12-29 13:50:20 +00:00
"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",
2024-01-08 01:49:33 +00:00
"singly",
"doubly",
"linked",
"list",
"js",
"ts",
"javascript",
"typscript",
2023-09-24 13:31:09 +00:00
"Node.js",
"NodeJS",
"c++",
2023-09-24 13:31:09 +00:00
"std",
"C++ STL",
"c++stl",
"C++ std",
"stl",
"std::",
"Python",
2023-09-24 13:31:09 +00:00
"collections",
"Python Collections",
"pythoncollections",
"python-collections",
"C#",
"System.Collections.Generic",
2023-09-24 13:31:09 +00:00
"collection",
"java.util",
"Java",
2023-09-24 13:31:09 +00:00
"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",
2023-12-29 13:50:20 +00:00
"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"
]
2023-06-15 16:34:28 +00:00
}