UNPKG

@rimbu/bimap

Version:

A bidirectional immutable Map of keys and values for TypeScript

98 lines (97 loc) 2.82 kB
{ "name": "@rimbu/bimap", "version": "2.0.7", "description": "A bidirectional immutable Map of keys and values for TypeScript", "keywords": [ "bimap", "bidirectional", "map", "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/bimap" }, "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" } }, "./custom": { "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", "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", "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:types": "tsd --files test-d", "typecheck": "tsc" }, "dependencies": { "@rimbu/base": "^2.0.5", "@rimbu/collection-types": "^2.1.6", "@rimbu/common": "^2.0.5", "@rimbu/hashed": "^2.1.6", "@rimbu/stream": "^2.2.4", "tslib": "^2.8.1" }, "publishConfig": { "access": "public" }, "gitHead": "15fd7c44f369838a47d42532bcd9771d65d6f660" }