-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
53 lines (53 loc) · 1.58 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
{
"name": "libarchive-wasm",
"version": "1.1.0",
"description": "Extract archive files in JavaScript, libarchive port in wasm",
"license": "MIT",
"author": "ofk <[email protected]> (https://github.com/ofk/)",
"repository": "ofk/libarchive-wasm",
"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-s -c lint:*",
"lint:eslint": "eslint --ext .js,.jsx,.ts,.tsx src",
"lint:package-json": "prettier-package-json -l",
"lint:prettier": "prettier --check .",
"lint:tsc": "tsc",
"lint-fix": "run-s -c lint-fix:*",
"lint-fix:eslint": "npm run lint:eslint -- --fix",
"lint-fix:package-json": "prettier-package-json --write",
"lint-fix:prettier": "prettier --write .",
"prepare": "husky install",
"test": "jest"
},
"types": "dist/index.d.ts",
"devDependencies": {
"@ofk/eslint-config-recommend": "^6.0.0",
"@types/jest": "^29.5.3",
"@typescript-eslint/eslint-plugin": "^6.1.0",
"@typescript-eslint/parser": "^6.1.0",
"eslint": "^8.45.0",
"husky": "^8.0.3",
"jest": "^29.6.1",
"lint-staged": "^13.2.3",
"npm-run-all": "^4.1.5",
"prettier": "^3.0.0",
"prettier-package-json": "^2.8.0",
"ts-jest": "^29.1.1",
"typescript": "^5.1.6"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix --ext .js,.jsx,.ts,.tsx",
"prettier --write"
],
"package.json": "prettier-package-json --write",
"*.{md,json,html}": "prettier --write"
}
}