@rimbu/multimap
Version:
An immutable Map where each key can have multiple values
111 lines (110 loc) • 3.53 kB
JSON
{
"name": "@rimbu/multimap",
"version": "2.1.2",
"description": "An immutable Map where each key can have multiple values",
"keywords": [
"multimap",
"mmap",
"dictionary",
"map",
"hashed",
"sorted",
"immutable",
"collection",
"rimbu",
"typescript"
],
"homepage": "https://rimbu.org",
"author": {
"name": "Arvid Nicolaas",
"email": "arvid@rimbu.org",
"url": "https://github.com/vitoke"
},
"license": "MIT",
"funding": [
{
"type": "individual",
"url": "https://github.com/sponsors/vitoke"
}
],
"repository": {
"type": "git",
"url": "https://github.com/rimbu-org/rimbu.git",
"directory": "packages/multimap"
},
"type": "module",
"main": "./dist/cjs/main/index.cjs",
"module": "./dist/esm/main/index.mjs",
"types": "./dist/cjs/main/index.d.cts",
"exports": {
".": {
"bun": "./dist/bun/main/index.mts",
"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"
}
},
"./custom": {
"bun": "./dist/bun/custom/index.mts",
"import": {
"types": "./dist/esm/custom/index.d.mts",
"default": "./dist/esm/custom/index.mjs"
},
"require": {
"types": "./dist/cjs/custom/index.d.cts",
"default": "./dist/cjs/custom/index.cjs"
}
}
},
"files": [
"dist",
"src",
"custom"
],
"scripts": {
"build": "yarn clean && yarn bundle",
"build:deno": "yarn bundle:deno-prepare && yarn bundle:deno-convert && yarn bundle:deno-move && yarn bundle:deno-clean",
"bundle": "yarn bundle:cjs && yarn bundle:esm && yarn bundle:bun",
"bundle:bun": "node ../../config/bunnify.mjs -mode bun",
"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:deno-prepare": "node ../../config/prepare-denoify.mjs",
"bundle:deno-convert": "denoify --src _deno_prepare/src",
"bundle:deno-move": "rimraf ../../deno_dist/multimap && mv deno_dist ../../deno_dist/multimap",
"bundle:deno-clean": "rimraf _deno_prepare",
"bundle:esm": "tsc --p tsconfig.esm.json",
"clean": "rimraf dist",
"extract-api": "yarn extract-api:main && yarn extract-api:custom",
"extract-api:custom": "tsx ../../config/api-extractor.ts config/api-extractor.custom.json",
"extract-api:main": "tsx ../../config/api-extractor.ts config/api-extractor.main.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.2",
"@rimbu/collection-types": "^2.1.3",
"@rimbu/common": "^2.0.2",
"@rimbu/hashed": "^2.1.3",
"@rimbu/sorted": "^2.1.3",
"@rimbu/stream": "^2.2.1",
"tslib": "^2.6.2"
},
"publishConfig": {
"access": "public"
},
"gitHead": "f18ddf964507dbd10790da3cd4deef8f455a178e"
}