-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
102 lines (102 loc) · 3.1 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
{
"name": "sflow",
"version": "1.18.1",
"description": "sflow is a powerful and highly-extensible library designed for processing and manipulating streams of data effortlessly. Inspired by the functional programming paradigm, it provides a rich set of utilities for transforming streams, including chunking, filtering, mapping, reducing, among many others. It's a perfect companion for those who work extensively with streams and want to make their data processing pipelines more efficient and concise.",
"keywords": [
"browser",
"bun",
"functional",
"kernel",
"node",
"pipe-through",
"sflow",
"snoflow",
"stream",
"transform",
"web-stream",
"webstream"
],
"author": "snomiao <[email protected]>",
"type": "module",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./ts": {
"import": "./src/index.ts",
"types": "./src/index.ts"
},
"./fromNodeStream": {
"import": "./dist/fromNodeStream.js",
"types": "./dist/fromNodeStream.d.ts"
},
"./fromNodeStream/ts": {
"import": "./src/fromNodeStream.ts",
"types": "./src/fromNodeStream.ts"
}
},
"module": "index.ts",
"types": "./dist/index.d.ts",
"files": [
"./src/*.ts",
"dist"
],
"scripts": {
"dev": "bunx --bun tsc -w --noEmit --declaration false --emitDeclarationOnly false",
"build": "rm -rf dist && bun build:tsc && bun build:esm && bun build:node && bun build:umd",
"build:node": "bun build src/fromNodeStream.ts --target=node --outdir=dist",
"build:esm": "bun build src/index.ts --outdir=dist",
"build:umd": "bunx rollup dist/index.js --file=dist/index.umd.js --format=umd --name sflow",
"build:tsc": "tsc",
"prerelease": "bun run build && bun run test",
"release": "bunx standard-version && git push --follow-tags && npm publish",
"test": "bun test",
"vitest": "bunx vitest --globals",
"prepare": "husky"
},
"dependencies": {
"@types/d3": "^7.4.3",
"bson": "^6.8.0",
"d3": "^7.9.0",
"phpdie": "^1.2.12",
"polyfill-text-decoder-stream": "^0.0.9",
"polyfill-text-encoder-stream": "^0.0.9",
"rambda": "^9.2.1",
"string-replace-async": "^3.0.2",
"ts-essentials": "^10.0.1",
"ts-pattern": "^5.2.0",
"ts-toolbelt": "^9.6.0",
"unwind-array": "^1.1.4",
"web-streams-extensions": "^0.12.0"
},
"devDependencies": {
"@types/bun": "^1.1.6",
"@types/jest": "^29.5.12",
"@types/node": "^20.14.14",
"expect-type": "^0.19.0",
"husky": "^9.1.7",
"keyv": "^4.5.4",
"keyv-cached-with": "^0.0.17",
"peek-log": "^0.0.11",
"proxy-deep": "^4.0.1",
"semantic-release": "^24.2.0",
"typedoc": "^0.27.0",
"typescript": "^5.0.0"
},
"peerDependencies": {
"rambda": "^9.2.1",
"react-hook-form": "^7.52.2",
"typescript": "^5.0.0"
},
"license": "MIT",
"main": "index.ts",
"homepage": "https://github.com/snomiao/sflow#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/snomiao/sflow"
},
"bugs": {
"url": "https://github.com/snomiao/sflow/issues"
}
}