51 lines
2.0 KiB
JSON
51 lines
2.0 KiB
JSON
{
|
|
"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": "latest",
|
|
"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 --ignore-pattern Connectors.mjs",
|
|
"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__"
|
|
}
|
|
}
|