File: //usr/local/lib/node_modules/firebase-tools/node_modules/heap-js/package.json
{
"name": "heap-js",
"version": "2.5.0",
"description": "Efficient Binary heap (priority queue, binary tree) data structure for JavaScript / TypeScript. Includes JavaScript methods, Python's heapq module methods, and Java's PriorityQueue methods.",
"keywords": [
"heap",
"binary heap",
"priority queue",
"tree",
"binary tree",
"data structure",
"algorithm",
"typescript"
],
"main": "dist/heap-js.umd.js",
"module": "dist/heap-js.es5.js",
"types": "dist/types/Heap.d.ts",
"author": "Ignacio Lago @ignlg <ignacio@ignaciolago.com>",
"license": "BSD-3-Clause",
"repository": {
"type": "git",
"url": "git@github.com:ignlg/heap-js.git"
},
"files": [
"dist"
],
"engines": {
"node": ">=10.0.0"
},
"scripts": {
"build": "tsc --project tsconfig.build.json && rollup -c && rimraf compiled && typedoc",
"lint": "eslint --fix 'src/**/*.ts'",
"prebuild": "rimraf dist",
"precommit": "lint-staged",
"report-coverage": "cat ./coverage/lcov.info | coveralls",
"start": "tsc-watch --onSuccess \"rollup -c\"",
"test": "jest --coverage --no-cache",
"test:heapUsage": "node --expose-gc ./node_modules/.bin/jest --runInBand --logHeapUsage",
"test:prod": "npm run lint && npm run test -- --coverage --no-cache",
"test:watch": "jest --watch",
"benchmark": "node benchmark/benchmark.js"
},
"lint-staged": {
"src/**/*.ts": [
"eslint --fix",
"jest --coverage --no-cache"
]
},
"jest": {
"transform": {
".(ts|tsx)": "<rootDir>/node_modules/ts-jest"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"coveragePathIgnorePatterns": [
"/node_modules/"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
}
},
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.4",
"@rollup/plugin-node-resolve": "^15.2.1",
"@types/benchmark": "^2.1.2",
"@types/jest": "^29.5.3",
"@types/node": "^20.5.2",
"@typescript-eslint/eslint-plugin": "6.4.1",
"@typescript-eslint/parser": "^6.4.1",
"benchmark": "^2.1.4",
"coveralls": "^3.1.1",
"cross-env": "^7.0.3",
"eslint": "8.47.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"husky": "^8.0.3",
"jest": "^29.6.3",
"lint-staged": "^14.0.1",
"lodash.camelcase": "^4.3.0",
"prettier": "^3.0.2",
"prettier-eslint": "^15.0.1",
"rimraf": "^5.0.1",
"rollup": "^3.28.1",
"rollup-plugin-sourcemaps": "^0.6.3",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"tsc-watch": "^6.0.4",
"typedoc": "^0.24.8",
"typescript": "^5.1.6"
}
}