-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
73 lines (73 loc) · 2.02 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
{
"name": "@openzim/libzim",
"main": "dist/index.js",
"types": "dist/index.d.js",
"version": "3.2.3",
"description": "Libzim bindings for NodeJS",
"type": "module",
"scripts": {
"clean": "rm -rf dist build/native/build",
"tsc": "tsc",
"prepare": "mkdir -p dist/ && cp -v src/index.js src/index.d.ts dist/",
"codecov": "nyc --reporter=lcov npm t",
"install": "npm run download && node-gyp rebuild -v && npm run bundle",
"build": "node-gyp rebuild -v && npm run bundle",
"download": "node ./download-libzim.js",
"bundle": "node ./bundle-libzim.js",
"test": "jest --testPathIgnorePatterns=test/dist.test.ts",
"test-mem-leak": "node -r ts-node/register test/makeLargeZim.ts",
"test:dist": "npm run build && jest",
"lint": "npx eslint .",
"lint:fix": "npx eslint . --fix"
},
"nyc": {
"extension": [
".ts"
],
"exclude": [
"test/*",
"node_modules"
]
},
"author": "Joseph Reeve",
"license": "GPL-3.0",
"repository": {
"type": "git",
"url": "git+https://github.com/openzim/node-libzim.git"
},
"bugs": {
"url": "https://github.com/openzim/node-libzim/issues"
},
"homepage": "https://github.com/openzim/node-libzim#readme",
"gypfile": true,
"dependencies": {
"@types/bindings": "^1.5.1",
"@types/jest": "^29.5.12",
"@types/node": "^18.0.6",
"axios": "^1.6.0",
"bindings": "^1.5.0",
"dotenv": "^16.0.1",
"exec-then": "^1.3.1",
"mkdirp": "^3.0.1",
"node-addon-api": "^8.0.0",
"node-gyp": "^10.1.0",
"tqdm": "^2.0.3",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.0.0"
},
"devDependencies": {
"@faker-js/faker": "^8.4.1",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"eslint": "^8.57.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-prettier": "^5.1.3",
"nyc": "^17.0.0",
"prettier": "^3.3.2",
"ts-jest": "^29.1.5",
"typescript": "^5.1.6"
},
"jest": {
"preset": "ts-jest/presets/js-with-ts"
}
}