-
Notifications
You must be signed in to change notification settings - Fork 469
/
package.json
50 lines (50 loc) · 2.03 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
{
"name": "hakuneko-dev",
"version": "1.0.0",
"description": "HakuNeko",
"author": "The HakuNeko Development Team <https://github.com/orgs/manga-download/people>",
"license": "Unlicense",
"main": "src/app/main.js",
"repository": {
"type": "git",
"url": "https://git.io/hakuneko"
},
"devDependencies": {
"@hakuneko/ffmpeg-binaries": "latest",
"@hakuneko/imagemagick-binaries": "latest",
"@hakuneko/kindlegen-binaries": "latest",
"@logtrine/logtrine": "latest",
"asar": "latest",
"discord-rpc": "latest",
"electron": "8.3.4",
"eslint": "^8.57.0",
"fs-extra": "latest",
"innosetup-compiler": "latest",
"jest": "latest",
"jest-junit": "latest",
"jszip": "latest",
"polymer-build": "latest",
"puppeteer-core": "latest",
"rcedit": "latest",
"win-7zip": "latest"
},
"scripts": {
"postinstall": "cd src/app && npm install --no-optional",
"start": "npm run start:dev",
"start:dev": "electron . --update-url=DISABLED --cache-directory=./src/web --disable-http-cache",
"start:build": "npm run build:web && electron . --update-url=DISABLED --cache-directory=./build/latest",
"lint": "npm run lint:app && npm run lint:web",
"lint:app": "eslint ./src/app --ignore-path .gitignore",
"lint:web": "eslint ./src/web/mjs/**/*.mjs --ignore-path .gitignore --parser-options ecmaVersion:2020",
"format": "npm run format:app && npm run format:web",
"format:app": "npm run lint:app -- --fix",
"format:web": "npm run lint:web -- --fix",
"build:app": "node build-app.js",
"build:web": "node build-web.js",
"deploy:web": "npm run build:web && node deploy-web.js",
"test": "jest --color --reporters=default --reporters=jest-junit",
"test:app": "jest --color --reporters=default --reporters=jest-junit --testPathPattern=/src/app",
"test:web": "jest --color --reporters=default --reporters=jest-junit --testPathPattern=/src/web",
"test:e2e": "jest --color --reporters=default --reporters=jest-junit --testPathPattern=/src/__tests__"
}
}