-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathpackage.json
74 lines (74 loc) · 2.33 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
{
"name": "node-unrar-js",
"version": "2.0.2",
"description": "Pure JavaScript RAR archive extractor by compile the official unrar lib by Emscripten.",
"homepage": "https://github.com/YuJianrong/node-unrar.js",
"bugs": {
"url": "https://github.com/YuJianrong/node-unrar.js/issues"
},
"repository": "YuJianrong/node-unrar.js",
"main": "./dist/index.js",
"module": "./esm/index.esm.js",
"scripts": {
"prepare": "husky install",
"downloadUnrarSrc": "wget https://www.rarlab.com/rar/unrarsrc-6.1.7.tar.gz && tar -xf unrarsrc-6.1.7.tar.gz -C src/cpp && rm -rf unrarsrc-6.1.7.tar.gz && husky install",
"clean": "rm -rf dist coverage dist_map esm",
"clean:test": "rm -rf dist/test dist/build esm/test esm/build dist/**/*.map esm/**/*.map",
"commit": "cz",
"lint": "eslint './src/**/*.ts' --max-warnings 0",
"tsc": "tsc",
"build:debug": "tsc && node ./dist/build/make.js",
"prebuild:release": "npm run lint",
"build:release": "npm run clean && tsc && node ./dist/build/make.js release && tsc -p tsconfig-esm.json && node ./dist/build/make.js release esm",
"test": "mocha dist/test/*.spec.js",
"test:debug": "npm run test -- --inspect-brk"
},
"keywords": [
"unrar"
],
"author": "Jianrong Yu <yujianrong@gmail.com>",
"license": "MIT",
"devDependencies": {
"@commitlint/cli": "^19.2.1",
"@commitlint/config-conventional": "^19.1.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/eslint": "^8.56.6",
"@types/mocha": "^10.0.6",
"@types/shelljs": "^0.8.15",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"commitizen": "^4.3.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"mocha": "^10.4.0",
"prettier": "^3.2.5",
"shelljs": "^0.8.5",
"typescript": "^5.4.3"
},
"engines": {
"node": ">=10.0.0"
},
"lint-staged": {
"*.{json,md,less,yaml,yml}": [
"prettier --write"
],
"*.{ts,tsx}": [
"eslint --fix --max-warnings 0"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"files": [
"dist",
"esm",
"*.md"
]
}