-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
93 lines (93 loc) · 3.15 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
{
"name": "@shockpkg/archive-files",
"description": "Package for reading different archive files in a consistent way",
"version": "3.2.5",
"keywords": [
"shockpkg",
"zip",
"tar",
"tar.gz",
"tgz",
"tar.bz2",
"tbz2",
"disk",
"image",
"dmg",
"iso",
"cdr"
],
"main": "cjs/index",
"exports": {
".": [
{
"types": "./dts/index.d.ts",
"import": "./esm/index.mjs",
"require": "./cjs/index.js",
"default": "./cjs/index.js"
},
"./cjs/index.js"
]
},
"types": "dts/index.d.ts",
"module": "esm/index.mjs",
"sideEffects": false,
"engines": {
"node": ">=18.12.0"
},
"scripts": {
"clean": "rimraf dts esm cjs spec/tmp",
"lint": "eslint .",
"format": "prettier -w .",
"formatted": "prettier -c .",
"build:dts": "tsc",
"build:esm": "babel --env-name esm -x .ts -s true -d esm --out-file-extension .mjs src",
"build:cjs": "babel --env-name cjs -x .ts -s true -d cjs --out-file-extension .js src",
"build": "npm run build:dts && npm run build:esm && npm run build:cjs",
"test-legacy:esm": "node -r source-map-support/register --test esm",
"test-legacy:cjs": "node -r source-map-support/register --test cjs",
"test-legacy": "npm run test-legacy:esm && npm run test-legacy:cjs",
"test:esm": "node -r source-map-support/register --test 'esm/**/*.test.mjs'",
"test:cjs": "node -r source-map-support/register --test 'cjs/**/*.test.js'",
"test": "npm run test:esm && npm run test:cjs",
"all-legacy:esm": "npm run clean && npm run build:esm && npm run test-legacy:esm && npm run lint && npm run formatted",
"all-legacy:cjs": "npm run clean && npm run build:cjs && npm run test-legacy:cjs && npm run lint && npm run formatted",
"all-legacy": "npm run clean && npm run build && npm run test-legacy && npm run lint && npm run formatted",
"all:esm": "npm run clean && npm run build:esm && npm run test:esm && npm run lint && npm run formatted",
"all:cjs": "npm run clean && npm run build:cjs && npm run test:cjs && npm run lint && npm run formatted",
"all": "npm run clean && npm run build && npm run test && npm run lint && npm run formatted",
"prepack": "npm run clean && npm run build"
},
"repository": "https://github.com/shockpkg/archive-files.git",
"bugs": "https://github.com/shockpkg/archive-files/issues",
"author": "JrMasterModelBuilder",
"copyright": "Copyright (c) 2019-2024 JrMasterModelBuilder",
"license": "MPL-2.0",
"dependencies": {
"@shockpkg/hdi-mac": "^3.1.4",
"it-tar": "^6.0.5",
"unbzip2-stream": "^1.4.3",
"yauzl": "^3.1.3"
},
"devDependencies": {
"@babel/cli": "^7.24.8",
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.3",
"@babel/preset-typescript": "^7.24.7",
"@eslint/js": "^9.8.0",
"@stylistic/eslint-plugin": "^2.6.1",
"@types/node": "^22.1.0",
"@types/unbzip2-stream": "^1.4.3",
"@types/yauzl": "^2.10.3",
"babel-plugin-module-replace": "^1.0.1",
"babel-plugin-search-and-replace": "^1.1.1",
"eslint": "^9.8.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jsdoc": "^48.11.0",
"eslint-plugin-unicorn": "^55.0.0",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"source-map-support": "^0.5.21",
"typescript": "^5.5.4",
"typescript-eslint": "^8.0.1"
}
}