RenaiApp/package.json

108 lines
3.7 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",
"scripts": {
"postinstall": "npm run rebuild",
"start": "electron . --enable-logging --dev",
"rebuild": "electron-rebuild -f -b -t prod,dev,optional",
"electron-version": "electron electron-version.js",
"typeorm:migrate": "npm run typeorm:migrate:library",
"typeorm:migrate:library": "typeorm migration:run -c library",
"build:webpack": "webpack --config webpack.config.js",
"watch:webpack": "webpack --config webpack.config.js --mode development -w",
"build:index": "node buildfile.js",
"watch:index": "node buildfile.js --watch --dev",
"build:ts": "tsc",
"watch: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\"",
"watch": "concurrently -c green,yellow,cyan -n webpack,index,typescript \"npm run watch:webpack\" \"npm run watch:index\" \"npm run watch:ts\"",
"test:fast": "mocha --grep @slow --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 && npm run build && npm run forge:make",
"precommit": "npm run build && npm run prettier && npm run lint && npm run coverage:fast",
"prepush": "npm run build && npm run coverage"
},
"dependencies": {
"electron-squirrel-startup": "^1.0.0",
"fs-extra": "^8.1.0",
"inversify": "^5.0.1",
"jsdom": "^16.2.0",
"minimist": "^1.2.0",
"node-fetch": "^2.6.0",
"reflect-metadata": "^0.1.13",
"sqlite3": "^4.1.1",
"typeorm": "^0.2.21",
"uuid": "^7.0.1"
},
"devDependencies": {
"@electron-forge/cli": "^6.0.0-beta.50",
"@electron-forge/maker-squirrel": "^6.0.0-beta.50",
"@types/chai": "^4.2.10",
"@types/fs-extra": "^8.1.0",
"@types/jsdom": "^16.1.0",
"@types/minimist": "^1.2.0",
"@types/mocha": "^7.0.2",
"@types/node": "^12.12.29",
"@types/node-fetch": "^2.5.5",
"@types/sinon": "^7.5.2",
"@types/uuid": "^7.0.0",
"@types/webpack": "^4.41.7",
"@typescript-eslint/eslint-plugin": "^2.22.0",
"@typescript-eslint/parser": "^2.22.0",
"chai": "^4.2.0",
"chokidar": "^3.3.1",
"concurrently": "^5.1.0",
"electron": "^8.0.3",
"electron-rebuild": "^1.10.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-import": "^2.20.1",
"fast-check": "^1.23.0",
"handlebars": "^4.7.3",
"husky": "^4.2.3",
"lodash": "^4.17.15",
"mocha": "^7.1.0",
"nock": "^12.0.2",
"nyc": "^15.0.0",
"prettier": "^1.19.1",
"rewiremock": "^3.13.9",
"sinon": "^9.0.0",
"spectron": "^10.0.1",
"svelte": "^3.19.1",
"svelte-loader": "^2.13.6",
"ts-loader": "^6.2.1",
"typescript": "^3.8.3",
"webpack": "^4.42.0",
"webpack-cli": "^3.3.11"
},
"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"
}
}
}