priority-queue-with-custom-comparator
Version:
Priority queue data structure where you are able to set your own compare function.
51 lines (50 loc) • 1.59 kB
JSON
{
"name": "priority-queue-with-custom-comparator",
"version": "1.0.6",
"description": "Priority queue data structure where you are able to set your own compare function.",
"main": "lib/queue.js",
"types": "lib/queue.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/dejtor/priority-queue-with-custom-comparator.git"
},
"files": [
"lib/**/*"
],
"scripts": {
"build": "tsc --project tsconfig.build.json",
"test": "jest --config jestconfig.json",
"test:coverage": "jest --config jestconfig.json --coverage",
"format": "prettier --write \"src/**/*.ts\" \"__tests__/*.ts\" \"sample-projects/**/*.[tj]s\"",
"lint": "eslint \"{src,sample-projects,__tests__}/**/*.[tj]s\" --fix",
"prepare": "npm run build",
"prepublishOnly": "npm test && npm run lint",
"preversion": "npm run lint",
"version": "npm run format && git add -A src",
"postversion": "git push && git push --tags"
},
"keywords": [
"priority-queue",
"heap",
"custom-comparator",
"comparator",
"data-structure",
"data-structures",
"priority",
"queue"
],
"author": "Dejan Todorovic",
"license": "ISC",
"devDependencies": {
"@types/jest": "^26.0.24",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"jest": "^27.0.6",
"prettier": "^2.3.2",
"ts-jest": "^27.0.4",
"typescript": "^4.3.5"
}
}