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": "^15.2.1",
"minimist": "^1.2.0",
"node-fetch": "^2.6.0",
"reflect-metadata": "^0.1.13",
"sqlite3": "^4.1.1",
"typeorm": "^0.2.21",
"uuid": "^3.3.3"
},
"devDependencies": {
"@electron-forge/cli": "^6.0.0-beta.46",
"@electron-forge/maker-squirrel": "^6.0.0-beta.46",
"@types/chai": "^4.2.7",
"@types/fs-extra": "^8.0.1",
"@types/jsdom": "latest",
"@types/minimist": "latest",
"@types/mocha": "latest",
"@types/node": "^12.12.18",
"@types/node-fetch": "^2.5.4",
"@types/sinon": "^7.5.1",
"@types/webdriverio": "^4.13.3",
"@types/webpack": "^4.41.0",
"@typescript-eslint/eslint-plugin": "^2.12.0",
"@typescript-eslint/parser": "^2.12.0",
"chai": "^4.2.0",
"chokidar": "^3.3.1",
"concurrently": "^5.0.1",
"electron": "^6.1.6",
"electron-rebuild": "^1.8.8",
"eslint": "^6.7.2",
"eslint-config-prettier": "^6.7.0",
"eslint-plugin-import": "^2.19.1",
"fast-check": "^1.20.1",
"handlebars": "^4.5.3",
"husky": "^3.1.0",
"lodash": "^4.17.15",
"mocha": "^6.2.2",
"nock": "^11.7.0",
"nyc": "^14.1.1",
"prettier": "^1.19.1",
"rewiremock": "^3.13.9",
"sinon": "^7.5.0",
"spectron": "^8.0.0",
"svelte": "^3.16.4",
"svelte-loader": "^2.13.6",
"ts-loader": "^6.2.1",
"typescript": "^3.7.3",
"webpack": "^4.41.3",
"webpack-cli": "^3.3.10"
},
"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"
}
}
}