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{
"name": "multitars",
"version": "0.2.0",
"description": "Multipart and Tar utilities for the Web Streams API",
"author": "Phil Pluckthun <phil@kitten.sh>",
"source": "./src/index.ts",
"main": "./dist/multitars",
"module": "./dist/multitars.mjs",
"types": "./dist/multitars.d.ts",
"files": [
"LICENSE.md",
"README.md",
"CHANGELOG.md",
"dist/"
],
"scripts": {
"test": "vitest test",
"test:run": "vitest test --run",
"build": "rollup -c ./scripts/rollup.config.mjs",
"postbuild": "tsc --lib esnext,dom,dom.iterable --target esnext --module nodenext --moduleResolution nodenext --noEmit ./dist/multitars.d.ts",
"check": "tsc --noEmit",
"clean": "rimraf dist node_modules/.cache",
"prepublishOnly": "run-s clean build check test:run",
"prepare": "node ./scripts/prepare.js || true",
"changeset:version": "changeset version && pnpm install --lockfile-only",
"changeset:publish": "changeset publish"
},
"exports": {
".": {
"types": "./dist/multitars.d.ts",
"import": "./dist/multitars.mjs",
"require": "./dist/multitars.js",
"source": "./src/index.ts"
},
"./package.json": "./package.json"
},
"prettier": {
"singleQuote": true,
"arrowParens": "avoid",
"trailingComma": "es5"
},
"lint-staged": {
"*.{js,ts,json,md}": "prettier --write"
},
"keywords": [],
"license": "MIT",
"repository": "https://github.com/kitten/multitars",
"bugs": {
"url": "https://github.com/kitten/multitars/issues"
},
"devDependencies": {
"@babel/plugin-transform-block-scoping": "^7.28.5",
"@babel/plugin-transform-typescript": "^7.28.5",
"@changesets/cli": "^2.29.7",
"@changesets/get-github-info": "^0.6.0",
"@rollup/plugin-babel": "^6.1.0",
"@rollup/plugin-commonjs": "^29.0.0",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-terser": "^0.4.4",
"@types/node": "^24.10.1",
"@types/tar-stream": "^3.1.4",
"dotenv": "^17.2.3",
"lint-staged": "^16.2.6",
"npm-run-all": "^4.1.5",
"prettier": "^3.6.2",
"rimraf": "^6.1.0",
"rollup": "^4.53.3",
"rollup-plugin-cjs-check": "^1.0.3",
"rollup-plugin-dts": "^6.2.3",
"tar-stream": "^3.1.7",
"typescript": "^5.9.3",
"vitest": "^4.0.10"
},
"publishConfig": {
"access": "public",
"provenance": true
}
}