generated from wabarc/project-template
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
81 lines (81 loc) · 2.46 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
{
"name": "@wabarc/cairn",
"version": "3.0.0",
"description": "Node package and CLI tool for saving web page as single HTML file",
"main": "dist/cairn.js",
"types": "dist/cairn.d.ts",
"scripts": {
"build": "tsc",
"cli": "ts-node src/cli.ts",
"cli:watch": "nodemon --exec ts-node -- src/cli.ts",
"cli:install": "npm run build && npm install -g",
"package": "npm run package:win && npm run package:mac && npm run package:nix",
"package:win": "pkg . --targets node16-win-x64,node16-win-arm64 --output ./build/Release/cairn-windows",
"package:mac": "pkg . --targets node16-macos-x64,node16-macos-arm64 --output ./build/Release/cairn-macos",
"package:nix": "pkg . --targets node16-linux-x64,node16-linux-arm64 --output ./build/Release/cairn-linux",
"format": "prettier --write '**/*.ts'",
"format:check": "prettier --check '**/*.ts'",
"lint": "eslint ./ --ext .ts",
"test": "jest --no-cache --testTimeout 3000000",
"test:watch": "jest --watchAll",
"prepub": "npm run clean; npm run format; npm run lint; npm run cli:install && cairn -h",
"clean": "rm -rf ./dist; rm -rf *.html"
},
"bin": {
"cairn": "dist/cli.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/wabarc/cairn.git"
},
"keywords": [
"archive",
"wayback-machine",
"cli",
"utils"
],
"author": "Wayback Archiver",
"license": "MIT",
"bugs": {
"url": "https://github.com/wabarc/cairn/issues"
},
"homepage": "https://github.com/wabarc/cairn#readme",
"dependencies": {
"axios": "^1.4.0",
"chardet": "^1.5.1",
"cheerio": "^1.0.0-rc.12",
"commander": "^10.0.1",
"http-proxy-agent": "^6.1.0",
"https-proxy-agent": "^6.2.0",
"iconv-lite": "^0.6.3",
"nth-check": "^2.1.1",
"socks-proxy-agent": "^8.0.1",
"tmpl": "^1.0.5"
},
"devDependencies": {
"@types/cheerio": "^0.22.31",
"@types/jest": "^29.5.1",
"@types/node": "^20.2.3",
"@typescript-eslint/eslint-plugin": "^5.59.7",
"@typescript-eslint/parser": "^5.59.7",
"eslint": "^8.41.0",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-prettier": "^4.2.1",
"jest": "^29.5.0",
"jsdom": "^22.0.0",
"nodemon": "^2.0.22",
"pkg": "^5.8.1",
"prettier": "^2.8.8",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.1",
"typescript": "^5.0.4",
"typescript-formatter": "^7.2.2"
},
"directories": {
"lib": "lib",
"test": "test"
},
"engines": {
"node": ">=16 <20"
}
}