UNPKG

@rimbu/proximity

Version:

Immutable ProximityMap implementation for TypeScript

138 lines (137 loc) 4.01 kB
{ "name": "@rimbu/proximity", "version": "2.0.11", "description": "Immutable ProximityMap implementation for TypeScript", "keywords": [ "proximitymap", "proximity", "map", "immutable", "collection", "rimbu", "typescript" ], "homepage": "https://rimbu.org", "author": { "name": "Arvid Nicolaas", "email": "arvid@rimbu.org", "url": "https://github.com/vitoke" }, "contributors": [ { "name": "Gianluca Costa", "email": "gianluca@gianlucacosta.info", "url": "https://gianlucacosta.info/" } ], "license": "MIT", "funding": [ { "type": "individual", "url": "https://github.com/sponsors/vitoke" } ], "repository": { "type": "git", "url": "git+https://github.com/rimbu-org/rimbu.git", "directory": "packages/proximity" }, "type": "module", "main": "./dist/cjs/main/index.cjs", "module": "./dist/esm/main/index.mjs", "types": "./dist/cjs/main/index.d.cts", "exports": { ".": { "import": { "types": "./dist/esm/main/index.d.mts", "default": "./dist/esm/main/index.mjs" }, "require": { "types": "./dist/cjs/main/index.d.cts", "default": "./dist/cjs/main/index.cjs" } }, "./common": { "import": { "types": "./dist/esm/common/index.d.mts", "default": "./dist/esm/common/index.mjs" }, "require": { "types": "./dist/cjs/common/index.d.cts", "default": "./dist/cjs/common/index.cjs" } }, "./map": { "import": { "types": "./dist/esm/map/index.d.mts", "default": "./dist/esm/map/index.mjs" }, "require": { "types": "./dist/cjs/map/index.d.cts", "default": "./dist/cjs/map/index.cjs" } }, "./map-custom": { "import": { "types": "./dist/esm/map-custom/index.d.mts", "default": "./dist/esm/map-custom/index.mjs" }, "require": { "types": "./dist/cjs/map-custom/index.d.cts", "default": "./dist/cjs/map-custom/index.cjs" } } }, "files": [ "dist", "src", "common", "map", "map-custom" ], "scripts": { "build": "yarn clean && yarn bundle", "bundle": "yarn bundle:cjs && yarn bundle:esm", "bundle:cjs": "yarn bundle:cjs-prepare && yarn bundle:cjs-build && yarn bundle:cjs-clean", "bundle:cjs-prepare": "node ../../config/bunnify.mjs -mode cjs", "bundle:cjs-build": "tsc -p tsconfig.cjs.json", "bundle:cjs-clean": "rimraf _cjs_prepare", "bundle:esm": "tsc --p tsconfig.esm.json", "clean": "rimraf dist", "circular": "npx -y madge --ts-config tsconfig.json --circular --extensions mts dist/bun/map-custom/index.mts", "extract-api": "yarn extract-api:main && yarn extract-api:map && yarn extract-api:map-custom", "extract-api:main": "tsx ../../config/api-extractor.ts config/api-extractor.main.json", "extract-api:map": "tsx ../../config/api-extractor.ts config/api-extractor.map.json", "extract-api:map-custom": "tsx ../../config/api-extractor.ts config/api-extractor.map-custom.json", "format": "yarn format:base --write", "format:base": "prettier \"{!CHANGELOG.md}|**/**/*.{ts,tsx,js,mts,mjs,json,md}\"", "format:check": "yarn format:base --check", "lint": "eslint src", "test": "vitest run", "test:cov": "vitest run --coverage", "test:watch": "vitest", "test:random": "vitest run --config vitest.random.config.ts", "test:types": "tsd --files test-d", "typecheck": "tsc" }, "dependencies": { "@rimbu/base": "^2.0.7", "@rimbu/collection-types": "^2.1.10", "@rimbu/common": "^2.0.7", "@rimbu/hashed": "^2.1.10", "@rimbu/stream": "^3.0.3", "tslib": "^2.8.1" }, "publishConfig": { "access": "public", "provenance": true }, "madge": { "detectiveOptions": { "ts": { "skipTypeImports": true } } }, "gitHead": "deba9bad7177bd4a47378465ae645b9bcc0cf938" }