RenaiApp/package.json

114 lines
4.0 KiB
JSON

{
"name": "renai",
"productName": "Renai-dev",
"version": "0.0.1",
"description": "Hentai Library Thingy",
"private": true,
"license": "SEE LICENSE IN LICENSE.txt",
"author": {
"name": "Xymorot",
"email": "xymorot@mailbox.org"
},
"main": "src/main.js",
"engines": {
"node": "12"
},
"scripts": {
"postinstall": "npm run rebuild",
"postupdate": "npm run rebuild",
"start": "electron . --enable-logging --env=dev",
"rebuild": "electron-rebuild -f -b -o better-sqlite3",
"electron-version": "electron scripts/electron-version.js",
"typeorm:migrate": "npm run typeorm:migrate:library && npm run typeorm:migrate:store",
"typeorm:migrate:library": "typeorm migration:run -c library",
"typeorm:migrate:store": "typeorm migration:run -c store",
"build:webpack": "webpack --config scripts/webpack.config.js",
"dev:webpack": "webpack --config scripts/webpack.config.js --mode development -w",
"build:index": "node scripts/buildfile.js",
"dev:index": "node scripts/buildfile.js --watch --dev",
"build:ts": "tsc",
"dev:ts": "tsc -w --pretty --preserveWatchOutput",
"build": "concurrently -c green,yellow,cyan -n webpack,index,typescript \"npm run build:webpack\" \"npm run build:index\" \"npm run build:ts\"",
"dev": "concurrently -c green,yellow,cyan -n webpack,index,typescript \"npm run dev:webpack\" \"npm run dev:index\" \"npm run dev:ts\"",
"test:fast": "electron-mocha --config .mocharc.json --grep \\\"@slow\\\" --invert",
"test": "electron-mocha --config .mocharc.json",
"coverage": "nyc npm run test",
"prelint": "eslint-config-prettier src/main.ts",
"lint": "eslint ./**/*.* --max-warnings 1",
"lint:fix": "eslint ./**/*.* --fix",
"prettier": "prettier -c **/*.*",
"prettier:fix": "prettier --write **/*.*",
"fix": "npm run lint:fix && npm run prettier:fix",
"forge:make": "electron-forge --platform win32 --arch x64 make",
"forge": "npm audit --production --audit-level=high && npm run build && npm run forge:make",
"precommit": "npm run prettier && npm run lint && npm run build && npm run test:fast",
"prepush": "npm run build && npm run coverage"
},
"dependencies": {
"better-sqlite3": "^7.1.2",
"electron-squirrel-startup": "^1.0.0",
"fs-extra": "^9.0.1",
"inversify": "^5.0.1",
"minimist": "^1.2.5",
"node-fetch": "^2.6.1",
"reflect-metadata": "^0.1.13",
"typeorm": "^0.2.29",
"uuid": "^8.3.2"
},
"devDependencies": {
"@electron-forge/cli": "^6.0.0-beta.54",
"@electron-forge/maker-squirrel": "^6.0.0-beta.54",
"@types/better-sqlite3": "^5.4.1",
"@types/chai": "^4.2.14",
"@types/chai-fs": "^2.0.2",
"@types/fs-extra": "^9.0.6",
"@types/glob": "^7.1.3",
"@types/minimist": "^1.2.1",
"@types/mocha": "^8.2.0",
"@types/node": "^14.14.16",
"@types/node-fetch": "^2.5.7",
"@types/sinon": "^9.0.10",
"@types/uuid": "^8.3.0",
"@types/webpack": "^4.41.25",
"@typescript-eslint/eslint-plugin": "^4.11.1",
"@typescript-eslint/parser": "^4.11.1",
"chai": "^4.2.0",
"chai-fs": "^2.0.0",
"chokidar": "^3.4.3",
"concurrently": "^5.3.0",
"electron": "^10.2.0",
"electron-mocha": "^10.0.0",
"electron-rebuild": "^2.3.4",
"eslint": "^7.16.0",
"eslint-config-prettier": "^7.1.0",
"eslint-plugin-import": "^2.22.1",
"fast-check": "^2.10.0",
"glob": "^7.1.6",
"handlebars": "^4.7.6",
"husky": "^4.3.6",
"lodash": "^4.17.20",
"mocha": "^8.2.1",
"nock": "^13.0.5",
"nyc": "^15.1.0",
"prettier": "^2.2.1",
"sinon": "^9.2.2",
"svelte": "^3.31.0",
"svelte-loader": "^2.13.6",
"ts-loader": "^8.0.12",
"typescript": "^4.1.3",
"webpack": "^4.44.2",
"webpack-cli": "^3.3.12"
},
"repository": "https://git.fuwafuwa.moe/Xymorot/RenaiApp",
"bugs": "https://git.fuwafuwa.moe/Xymorot/RenaiApp/issues",
"config": {
"forge": "scripts/forge.config.js"
},
"husky": {
"hooks": {
"pre-commit": "npm run precommit",
"pre-push": "npm run prepush"
}
}
}