UNPKG

@flatten-js/interval-tree

Version:
84 lines (83 loc) 2.41 kB
{ "name": "@flatten-js/interval-tree", "version": "2.0.3", "description": "Interval search tree with TypeScript support", "author": "Alex Bol", "license": "MIT", "type": "module", "main": "./dist/main.cjs", "module": "./dist/main.mjs", "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/main.mjs", "require": "./dist/main.cjs", "default": "./dist/main.umd.js" } }, "files": [ "dist", "src", "README.md", "LICENSE" ], "sideEffects": false, "scripts": { "clean": "rm -rf dist", "type-check": "tsc --noEmit", "build": "npm run clean && rollup -c && node scripts/postbuild.mjs", "test": "npm run build && node --loader ts-node/esm ./node_modules/mocha/bin/mocha.js --extensions ts 'test/**/*.ts'", "test:watch": "node --loader ts-node/esm ./node_modules/mocha/bin/mocha.js --extensions ts --watch 'test/**/*.ts'", "coverage": "c8 --reporter=html --reporter=text node --loader ts-node/esm ./node_modules/mocha/bin/mocha.js --extensions ts 'test/**/*.ts'", "docs": "typedoc", "release": "npm run build && npm test && npm run docs && npm publish", "prepublishOnly": "npm run build && npm test" }, "repository": { "type": "git", "url": "git+https://github.com/alexbol99/flatten-interval-tree.git" }, "keywords": [ "interval tree", "binary search tree", "typescript", "spatial index", "range query" ], "bugs": { "url": "https://github.com/alexbol99/flatten-interval-tree/issues" }, "homepage": "https://github.com/alexbol99/flatten-interval-tree#readme", "funding": { "type": "buymeacoffee", "url": "https://www.buymeacoffee.com/alexbol99" }, "publishConfig": { "access": "public", "provenance": true }, "unpkg": "./dist/main.umd.js", "jsdelivr": "./dist/main.umd.js", "devDependencies": { "@rollup/plugin-node-resolve": "^15.3.1", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^11.1.6", "@types/chai": "^4.3.20", "@types/mocha": "^10.0.10", "@types/node": "^20.19.19", "c8": "^9.1.0", "chai": "^4.4.0", "mocha": "^10.2.0", "rollup": "^4.9.4", "ts-node": "^10.9.2", "typedoc": "^0.27.7", "typescript": "^5.7.2" }, "engines": { "node": ">=16.0.0" }, "dependencies": { "tslib": "^2.8.1" } }