-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
105 lines (105 loc) · 3.32 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"name": "@rimbu/bimultimap",
"version": "2.1.1",
"description": "A bidirectional immutable MultiMap of keys and values for TypeScript",
"keywords": [
"bimultimap",
"bidirectional",
"multimap",
"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/bimultimap"
},
"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"
},
"bun": "./dist/bun/main/index.mts"
},
"./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"
},
"bun": "./dist/bun/custom/index.mts"
}
},
"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/bimultimap && mv deno_dist ../../deno_dist/bimultimap",
"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": "ts-node ../../config/api-extractor.ts config/api-extractor.custom.json",
"extract-api:main": "ts-node ../../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",
"typecheck": "tsc"
},
"dependencies": {
"@rimbu/base": "^2.0.1",
"@rimbu/collection-types": "^2.1.2",
"@rimbu/common": "^2.0.1",
"@rimbu/hashed": "^2.1.2",
"@rimbu/multimap": "^2.1.1",
"@rimbu/sorted": "^2.1.2",
"@rimbu/stream": "^2.2.0",
"tslib": "^2.6.2"
},
"publishConfig": {
"access": "public"
}
}