UNPKG

@panyam/priorityq

Version:

A Priority Queue implementation with O(1) lookups for lookup by value.

74 lines (73 loc) 2.33 kB
{ "name": "@panyam/priorityq", "version": "0.0.3", "author": "Sriram Panyam", "description": "A Priority Queue implementation with O(1) lookups for lookup by value.", "homepage": "https://github.com/panyam/priorityq-ts#readme", "license": "ISC", "types": "lib/cjs/index.d.ts", "main": "./lib/cjs/index.js", "module": "./lib/esm/index.js", "files": [ "lib/" ], "repository": { "type": "git", "url": "git+https://github.com/panyam/priorityq-ts.git" }, "keywords": [ "tsutils" ], "dependencies": { "@types/node": "^14.14.26", "@typescript-eslint/parser": "^4.15.0" }, "bugs": { "url": "https://github.com/panyam/priorityq-ts/issues" }, "pre-commit": [ "precommit-msg", "clean", "lintfix", "test" ], "scripts": { "clean": "rm -Rf lib && jest --clearCache", "build": "npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-cjs.json", "test": "jest --coverage --runInBand", "start": "webpack-dev-server --mode=development", "lint": "eslint './src' --quiet --ext .ts --resolve-plugins-relative-to .", "lintfix": "eslint 'src/**/*.ts' --quiet --fix --resolve-plugins-relative-to .", "format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"", "precommit-msg": "echo 'Pre-commit checks...' && exit 0", "prepare": "npm run build", "prepublishOnly": "npm test && npm run lint", "preversion": "npm run lint", "version": "npm run lintfix && git add -A src", "postversion": "git push && git push --tags" }, "devDependencies": { "@babel/core": "^7.12.16", "@babel/plugin-proposal-class-properties": "^7.12.13", "@babel/plugin-proposal-object-rest-spread": "^7.12.13", "@babel/preset-flow": "^7.12.13", "@babel/preset-typescript": "^7.12.16", "@types/jest": "^26.0.20", "@typescript-eslint/eslint-plugin": "^4.15.0", "eslint": "^7.19.0", "eslint-config-prettier": "^8.1.0", "eslint-plugin-prettier": "^3.3.1", "extract-loader": "^5.1.0", "jest": "^26.6.3", "jest-each": "^26.6.2", "jest-mock": "^26.6.2", "pre-commit": "^1.2.2", "prettier": "^2.2.1", "ts-jest": "^26.5.1", "ts-loader": "^8.0.17", "ts-node": "^9.1.1", "typedoc": "^0.20.24", "typescript": "^4.2.3", "typescript-tslint-plugin": "^1.0.1" } }