-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
58 lines (58 loc) · 1.37 KB
/
package.json
File metadata and controls
58 lines (58 loc) · 1.37 KB
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
{
"name": "@creationix/rx",
"version": "0.9.1",
"description": "REXC encoder, decoder, and CLI data tool",
"keywords": [
"rexc",
"rx",
"encoder",
"decoder",
"streaming",
"data"
],
"type": "module",
"bin": {
"rx": "./dist/rx-cli.js"
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"files": [
"README.md",
"LICENSE",
"dist"
],
"engines": {
"node": ">=20"
},
"scripts": {
"build:clean": "rm -rf dist",
"build:esm": "bun build index.ts rx-cli.ts --outdir dist --target node --format esm",
"build:cjs": "bun build index.ts --target node --format cjs --outfile dist/index.cjs",
"build:types": "bunx tsc",
"build:shebang": "printf '#!/usr/bin/env node\\n' | cat - dist/rx-cli.js > dist/rx-cli.tmp && mv dist/rx-cli.tmp dist/rx-cli.js",
"build": "bun run build:clean && bun run build:esm && bun run build:cjs && bun run build:types && bun run build:shebang",
"prepublishOnly": "bun test && bun run build",
"test": "bun test"
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/creationix/rx.git"
},
"homepage": "https://rx.run/",
"license": "MIT",
"devDependencies": {
"@types/bun": "latest",
"vitest": "^4.1.0"
}
}