-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
59 lines (59 loc) · 1.77 KB
/
package.json
File metadata and controls
59 lines (59 loc) · 1.77 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
59
{
"name": "libarchive-wasm",
"version": "1.2.0",
"description": "Extract archive files in JavaScript, libarchive port in wasm",
"license": "MIT",
"author": "ofk (https://github.com/ofk/)",
"repository": {
"type": "git",
"url": "git+https://github.com/ofk/libarchive-wasm.git"
},
"main": "dist/index.js",
"files": [
"dist",
"src"
],
"scripts": {
"prebuild": "rm -rf dist",
"build": "tsc -p tsconfig.build.json",
"postbuild": "cp src/*.wasm dist",
"lint": "run-p lint:**",
"lint:eslint": "eslint .",
"lint:prettier": "prettier --check .",
"lint:prettier-package-json": "prettier-package-json --list-different",
"lint:tsc": "tsc",
"lint-fix": "run-s lint-fix:**",
"lint-fix:eslint": "eslint --fix .",
"lint-fix:prettier": "prettier --write .",
"lint-fix:prettier-package-json": "prettier-package-json --write",
"lint-fix:tsc": "run-s lint:tsc",
"prepare": "husky",
"prepublishOnly": "npm run build",
"test": "vitest run"
},
"types": "dist/index.d.ts",
"devDependencies": {
"@ofk/eslint-config-recommend": "^7.1.2",
"@types/node": "^22.13.10",
"eslint": "^9.22.0",
"husky": "^9.1.7",
"lint-staged": "^15.5.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.5.3",
"prettier-package-json": "^2.8.0",
"typescript": "^5.8.2",
"vitest": "^3.0.8"
},
"lint-staged": {
"package.json": [
"prettier --write",
"prettier-package-json --write"
],
"*.{json,md,html}": "prettier --write",
"*.{js,jsx,mjs,cjs,ts,tsx,mts,cts}": [
"prettier --write",
"eslint --fix"
]
},
"packageManager": "npm@10.8.0+sha512.c21f77b91733829ec70e73cc88b5dc0a4bf685a81d252d3327d293ff7d5dd05a173f4dbeaa037600ec29696f397f14569229e5dab10b7cfc3e0a30575b8f3f8d"
}