-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
135 lines (135 loc) · 4.38 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"name": "@rimbu/table",
"version": "2.1.1",
"description": "Immutable spreadsheet-like data structures containing row keys, column keys, and cell values",
"keywords": [
"table",
"row",
"column",
"cell",
"map",
"spreadsheet",
"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/table"
},
"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"
},
"./hash-row": {
"import": {
"types": "./dist/esm/hash-row/index.d.mts",
"default": "./dist/esm/hash-row/index.mjs"
},
"require": {
"types": "./dist/cjs/hash-row/index.d.cts",
"default": "./dist/cjs/hash-row/index.cjs"
},
"bun": "./dist/bun/hash-row/index.mts"
},
"./sorted-row": {
"import": {
"types": "./dist/esm/sorted-row/index.d.mts",
"default": "./dist/esm/sorted-row/index.mjs"
},
"require": {
"types": "./dist/cjs/sorted-row/index.d.cts",
"default": "./dist/cjs/sorted-row/index.cjs"
},
"bun": "./dist/bun/sorted-row/index.mts"
}
},
"files": [
"dist",
"src",
"custom",
"hash-row",
"sorted-row"
],
"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/table && mv deno_dist ../../deno_dist/table",
"bundle:deno-clean": "rimraf _deno_prepare",
"bundle:esm": "tsc --p tsconfig.esm.json",
"clean": "rimraf dist",
"extract-api": "yarn extract-api:custom && yarn extract-api:main && yarn extract-api:hash-row && yarn extract-api:sorted-row",
"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",
"extract-api:hash-row": "ts-node ../../config/api-extractor.ts config/api-extractor.hash-row.json",
"extract-api:sorted-row": "ts-node ../../config/api-extractor.ts config/api-extractor.sorted-row.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.1",
"@rimbu/collection-types": "^2.1.2",
"@rimbu/common": "^2.0.1",
"@rimbu/hashed": "^2.1.2",
"@rimbu/sorted": "^2.1.2",
"@rimbu/stream": "^2.2.0",
"tslib": "^2.6.2"
},
"publishConfig": {
"access": "public"
}
}