This repository was archived by the owner on Oct 8, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy pathpackage.json
More file actions
54 lines (54 loc) · 1.75 KB
/
Copy pathpackage.json
File metadata and controls
54 lines (54 loc) · 1.75 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
{
"name": "@mjackson/tar-parser",
"version": "0.3.0",
"description": "A fast, efficient parser for tar streams in any JavaScript environment",
"author": "Michael Jackson <mjijackson@gmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/mjackson/remix-the-web.git",
"directory": "packages/tar-parser"
},
"homepage": "https://github.com/mjackson/remix-the-web/tree/main/packages/tar-parser#readme",
"files": [
"LICENSE",
"README.md",
"dist",
"src",
"!src/**/*.test.ts"
],
"type": "module",
"types": "./dist/tar-parser.d.ts",
"module": "./dist/tar-parser.js",
"main": "./dist/tar-parser.cjs",
"exports": {
".": {
"types": "./dist/tar-parser.d.ts",
"import": "./dist/tar-parser.js",
"require": "./dist/tar-parser.cjs",
"default": "./dist/tar-parser.js"
},
"./package.json": "./package.json"
},
"devDependencies": {
"@mjackson/lazy-file": "workspace:^",
"@types/node": "^20.14.10",
"esbuild": "^0.25.5"
},
"scripts": {
"bench": "node --disable-warning=ExperimentalWarning ./bench/runner.ts",
"build:types": "tsc --project tsconfig.build.json",
"build:esm": "esbuild src/tar-parser.ts --bundle --outfile=dist/tar-parser.js --format=esm --platform=neutral --sourcemap",
"build:cjs": "esbuild src/tar-parser.ts --bundle --outfile=dist/tar-parser.cjs --format=cjs --platform=node --sourcemap",
"build": "pnpm run clean && pnpm run build:types && pnpm run build:esm && pnpm run build:cjs",
"clean": "rm -rf dist",
"test": "node --disable-warning=ExperimentalWarning --test ./src/**/*.test.ts",
"prepublishOnly": "pnpm run build"
},
"keywords": [
"tar",
"archive",
"parser",
"stream"
]
}