-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
89 lines (89 loc) · 3.76 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
{
"name": "ktuvit-downloader",
"version": "13.0.0",
"description": "Download Hebrew subtitles from Ktuvit.me",
"main": "_build/index.js",
"scripts": {
"husky-install": "git config --get core.hookspath || husky",
"postinstall": "npm run husky-install && npx fix-lockfile-integrity package-lock.json",
"build": "npm run eslint && npm run type-check && npm run test && npm run webpack && npm run node-sea && npm run installer",
"quick-build-exe": "npm run webpack && npm run node-sea",
"eslint": "eslint src/ test/ *.ts",
"eslint:fix": "npm run eslint -- --fix",
"prettier": "prettier --write *.json .eslintrc.json .prettierrc tsconfig.json tsconfig.build.json",
"test": "jest",
"type-check": "tsc --build tsconfig.json",
"prewebpack": "rimraf _build",
"webpack": "webpack",
"prenode-sea:build-blob": "rimraf _blob && mkdir _blob",
"node-sea:build-blob": "node --experimental-sea-config sea-config.json",
"node-sea:copy-node": "node -e \"require('fs').copyFileSync(process.execPath, 'dist/ktuvit-downloader.exe')\"",
"node-sea:unsign": "signtool remove /s dist\\ktuvit-downloader.exe",
"node-sea:inject-blob": "postject dist\\ktuvit-downloader.exe NODE_SEA_BLOB _blob\\sea-prep.blob --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2",
"node-sea:sign": "signtool sign /fd SHA256 dist\\ktuvit-downloader.exe",
"node-sea": "npm run node-sea:build-blob && npm run node-sea:copy-node && npm run node-sea:unsign && npm run node-sea:inject-blob",
"check-msbuild": "ts-node -e \"require(\"\"./launcher/launcherCompiler\"\").checkMsbuildInPath(true)\"",
"rebuild-launcher": "msbuild launcher/launcher.csproj",
"start": "ts-node src/index.ts",
"installer": "cd installer && cross-env BUILD_VERSION=$npm_package_version makensis ktuvit.nsi && cd ..",
"pre-commit": "lint-staged && git diff HEAD --exit-code --stat launcher/launcher.cs || npm run check-msbuild && npm run rebuild-launcher && git add resources/bin/ktuvit-downloader-launcher.exe"
},
"author": "yoavain",
"license": "ISC",
"engines": {
"node": ">=22",
"npm": ">=10"
},
"dependencies": {
"flat-cache": "6.1.2",
"node-notifier": "10.0.1",
"numeral": "2.0.6",
"winston": "3.17.0"
},
"devDependencies": {
"@eslint/compat": "1.2.3",
"@eslint/eslintrc": "3.2.0",
"@eslint/js": "9.15.0",
"@jest/types": "29.6.3",
"@tsconfig/node22": "22.0.0",
"@types/cross-spawn": "6.0.6",
"@types/flat-cache": "2.0.2",
"@types/jest": "29.5.14",
"@types/node": "22.9.1",
"@types/numeral": "2.0.5",
"@typescript-eslint/eslint-plugin": "8.15.0",
"@typescript-eslint/parser": "8.15.0",
"copy-webpack-plugin": "12.0.2",
"cross-env": "7.0.3",
"cross-spawn": "7.0.6",
"dotenv": "16.4.5",
"eslint": "9.15.0",
"eslint-import-resolver-typescript": "3.6.3",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-jest": "28.9.0",
"eslint-plugin-n": "17.13.2",
"eslint-plugin-security": "3.0.1",
"globals": "15.12.0",
"husky": "9.1.7",
"jest": "29.7.0",
"lint-staged": "15.2.10",
"mkdirp": "3.0.1",
"postject": "1.0.0-alpha.6",
"prettier": "3.3.3",
"rimraf": "6.0.1",
"ts-jest": "29.2.5",
"ts-loader": "9.5.1",
"ts-node": "10.9.2",
"typescript": "5.6.3",
"webpack": "5.96.1",
"webpack-cli": "5.1.4"
},
"lint-staged": {
"*.(ts|js)": [
"eslint --fix"
],
"*.json": [
"prettier --write"
]
}
}