-
-
Notifications
You must be signed in to change notification settings - Fork 74
/
package.json
142 lines (142 loc) · 4.29 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
{
"name": "mwoffliner",
"version": "1.14.0-dev",
"description": "Mediawiki ZIM scraper",
"main": "lib/mwoffliner.lib.js",
"license": "GPL-3.0",
"type": "module",
"author": {
"name": "Emmanuel Engelhart",
"email": "kelson@kiwix.org",
"url": "https://kiwix.org/"
},
"scripts": {
"mwoffliner": "node ./lib/cli.js",
"test:pattern": "node --experimental-vm-modules node_modules/jest/bin/jest.js --runInBand --forceExit --detectOpenHandles",
"test:e2e": "npm run test:pattern 'test/e2e'",
"test:unit": "npm run test:pattern 'test/unit'",
"test:e2e-coverage": "npm run test:pattern 'test/e2e' -- --coverage",
"test:unit-coverage": "npm run test:pattern 'test/unit' -- --coverage",
"test": "npm run test:unit-coverage -- --silent && npm run test:e2e-coverage -- --silent",
"test-verbose": "npm run test:unit-coverage && npm run test:e2e-coverage",
"test-without-coverage": "npm run test:unit -- -- --silent && npm run test:e2e -- -- --silent",
"codecov": "nyc --reporter=lcov npm t",
"lint": "eslint -c .eslintrc.cjs --ext .ts .",
"lint-fix": "eslint -c .eslintrc.cjs --ext .ts --fix .",
"format": "prettier --write './**/*.ts'",
"build": "./dev/build.sh",
"watch": "./dev/watch.sh",
"prepublish": "npm run build",
"redis:start": "docker run -p 6379:6379 --name redis-mwoffliner -d redis",
"redis:kill": "docker rm -f redis-mwoffliner || :",
"redis": "npm run redis:kill && npm run redis:start",
"start": "./node_modules/.bin/ts-node-esm ./src/cli.ts"
},
"nyc": {
"extension": [
".ts"
],
"exclude": [
"test/**/*",
"node_modules"
]
},
"bin": {
"mwoffliner": "./lib/cli.js"
},
"repository": {
"type": "git",
"url": "https://github.com/openzim/mwoffliner.git"
},
"bugs": {
"url": "https://github.com/openzim/mwoffliner/issues"
},
"engines": {
"node": ">=18.0.0 <19.0.0"
},
"engine-strict": {
"node": ">=18.0.0 <19.0.0"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.374.0",
"@ladjs/country-language": "^1.0.3",
"@openzim/libzim": "2.4.4",
"@types/async": "^3.2.18",
"@types/backoff": "^2.5.2",
"@types/bluebird": "^3.5.38",
"@types/html-minifier": "^4.0.2",
"@types/imagemin-gifsicle": "^7.0.1",
"@types/imagemin-jpegtran": "^5.0.1",
"@types/imagemin-optipng": "^5.2.1",
"@types/imagemin-webp": "^7.0.0",
"@types/md5": "^2.3.2",
"@types/node": "^18.15.7",
"@types/rimraf": "^3.0.2",
"@types/semver": "^7.3.13",
"@types/sharp": "^0.31.1",
"ajv": "^8.12.0",
"async": "^3.2.4",
"axios": "^1.3.4",
"backoff": "^2.5.0",
"deepmerge": "^4.3.1",
"details-element-polyfill": "^2.4.0",
"domino": "^2.1.6",
"execa": "^6.1.0",
"follow-redirects": "^1.15.2",
"html-minifier": "^4.0.0",
"imagemin": "^8.0.1",
"imagemin-advpng": "^6.0.0",
"imagemin-gifsicle": "^7.0.0",
"imagemin-jpegoptim": "^8.0.0",
"imagemin-jpegtran": "^7.0.0",
"imagemin-optipng": "^8.0.0",
"imagemin-pngquant": "^9.0.2",
"imagemin-webp": "^7.0.0",
"md5": "^2.3.0",
"merge": "^2.1.1",
"mime-type": "^4.0.0",
"mkdirp": "^2.1.6",
"mocha": "^10.2.0",
"p-map": "^5.5.0",
"public-ip": "^6.0.1",
"redis": "^4.5.1",
"rimraf": "^4.4.1",
"semver": "^7.3.8",
"sharp": "^0.32.6",
"split-by-grapheme": "^1.0.1",
"swig-templates": "^2.0.3",
"typescript": "^4.9.4",
"url-join": "^5.0.0",
"utf8-binary-cutter": "^0.9.2",
"webp-hero": "0.0.2",
"yargs": "^17.7.1"
},
"keywords": [
"mediawiki",
"zim"
],
"devDependencies": {
"@types/http-cache-semantics": "^4.0.1",
"@types/jest": "^29.5.12",
"@types/tape-promise": "^4.0.1",
"@types/tmp": "^0.2.3",
"@typescript-eslint/eslint-plugin": "^5.56.0",
"@typescript-eslint/parser": "^5.56.0",
"dotenv": "^16.0.3",
"eslint": "^8.36.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsdoc": "^40.1.0",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-prettier": "^4.2.1",
"file-type": "^18.2.1",
"jest": "^29.3.1",
"nyc": "^15.1.0",
"prettier": "2.8.7",
"replace": "^1.2.2",
"tmp": "^0.2.1",
"ts-jest": "^29.0.3",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.1.2"
}
}