-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
138 lines (138 loc) · 4.4 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
136
137
138
{
"name": "@rimbu/stream",
"version": "2.2.0",
"description": "Efficient structure representing a sequence of elements, with powerful operations for TypeScript",
"keywords": [
"stream",
"lazy",
"iterable",
"sequence",
"elements",
"operations",
"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/stream"
},
"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"
},
"./async": {
"import": {
"types": "./dist/esm/async/index.d.mts",
"default": "./dist/esm/async/index.mjs"
},
"require": {
"types": "./dist/cjs/async/index.d.cts",
"default": "./dist/cjs/async/index.cjs"
},
"bun": "./dist/bun/async/index.mts"
},
"./async-custom": {
"import": {
"types": "./dist/esm/async-custom/index.d.mts",
"default": "./dist/esm/async-custom/index.mjs"
},
"require": {
"types": "./dist/cjs/async-custom/index.d.cts",
"default": "./dist/cjs/async-custom/index.cjs"
},
"bun": "./dist/bun/async-custom/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",
"async",
"async-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/stream && mv deno_dist ../../deno_dist/stream",
"bundle:deno-clean": "rimraf _deno_prepare",
"bundle:esm": "tsc --p tsconfig.esm.json",
"clean": "rimraf dist",
"circular": "npx -y madge --ts-config tsconfig.json --circular --extensions mts src/main/index.mts",
"extract-api": "yarn extract-api:main && yarn extract-api:custom && yarn extract-api:async && yarn extract-api:async-custom",
"extract-api:main": "ts-node ../../config/api-extractor.ts config/api-extractor.main.json",
"extract-api:custom": "ts-node ../../config/api-extractor.ts config/api-extractor.custom.json",
"extract-api:async": "ts-node ../../config/api-extractor.ts config/api-extractor.async.json",
"extract-api:async-custom": "ts-node ../../config/api-extractor.ts config/api-extractor.async-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:types": "tsd --files test-d",
"typecheck": "tsc"
},
"dependencies": {
"@rimbu/base": "^2.0.1",
"@rimbu/common": "^2.0.1",
"tslib": "^2.6.2"
},
"publishConfig": {
"access": "public"
},
"madge": {
"detectiveOptions": {
"ts": {
"skipTypeImports": true
}
}
}
}