RenaiApp/package.json

113 lines
3.9 KiB
JSON

{
"name": "renai",
"productName": "Renai",
"version": "1.0.0",
"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",
"start": "electron . --enable-logging --env=dev",
"rebuild": "electron-rebuild -f -b -t prod,dev,optional",
"electron-version": "electron 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 webpack.config.js",
"dev:webpack": "webpack --config webpack.config.js --mode development -w",
"build:index": "node buildfile.js",
"dev:index": "node 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": "mocha --grep \"@(slow|spectron)\" --invert",
"test": "mocha",
"coverage:fast": "nyc npm run test:fast",
"coverage": "nyc npm run test",
"prelint": "eslint --print-config forge.config.js | eslint-config-prettier-check",
"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 coverage:fast",
"prepush": "npm run build && npm run coverage"
},
"dependencies": {
"better-sqlite3": "^7.1.1",
"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.1"
},
"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.3",
"@types/minimist": "^1.2.1",
"@types/mocha": "^8.0.3",
"@types/node": "^12.19.3",
"@types/node-fetch": "^2.5.7",
"@types/sinon": "^9.0.8",
"@types/uuid": "^8.3.0",
"@types/webpack": "^4.41.24",
"@typescript-eslint/eslint-plugin": "^4.7.0",
"@typescript-eslint/parser": "^4.7.0",
"chai": "^4.2.0",
"chai-fs": "^2.0.0",
"chokidar": "^3.4.3",
"concurrently": "^5.3.0",
"electron": "^9.3.3",
"electron-rebuild": "^1.11.0",
"eslint": "^7.13.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-import": "^2.22.1",
"fast-check": "^2.6.1",
"handlebars": "^4.7.6",
"husky": "^4.3.0",
"lodash": "^4.17.20",
"mocha": "^8.2.1",
"nock": "^13.0.4",
"nyc": "^15.1.0",
"prettier": "^2.1.2",
"rewiremock": "^3.14.3",
"sinon": "^9.2.1",
"spectron": "^11.1.0",
"svelte": "^3.29.6",
"svelte-loader": "^2.13.6",
"ts-loader": "^8.0.11",
"typescript": "^4.0.5",
"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": "forge.config.js"
},
"husky": {
"hooks": {
"pre-commit": "npm run precommit",
"pre-push": "npm run prepush"
}
}
}