2019-03-10 20:16:18 +01:00
|
|
|
{
|
2019-06-07 00:35:19 +02:00
|
|
|
"name": "renai",
|
2019-12-10 23:36:34 +01:00
|
|
|
"productName": "Renai",
|
2019-03-10 20:16:18 +01:00
|
|
|
"version": "1.0.0",
|
2019-07-26 22:28:22 +02:00
|
|
|
"description": "Hentai Library Thingy",
|
2019-06-05 00:47:05 +02:00
|
|
|
"private": true,
|
2019-12-04 01:33:41 +01:00
|
|
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
|
|
"author": {
|
|
|
|
"name": "Xymorot",
|
|
|
|
"email": "xymorot@mailbox.org"
|
|
|
|
},
|
2019-10-05 03:09:34 +02:00
|
|
|
"main": "src/main.js",
|
2020-05-14 22:01:37 +02:00
|
|
|
"engines": {
|
|
|
|
"node": "12"
|
|
|
|
},
|
2019-03-10 20:16:18 +01:00
|
|
|
"scripts": {
|
2019-10-02 22:42:27 +02:00
|
|
|
"postinstall": "npm run rebuild",
|
2020-08-05 22:48:00 +02:00
|
|
|
"start": "electron . --enable-logging --env=dev",
|
2019-06-23 02:30:24 +02:00
|
|
|
"rebuild": "electron-rebuild -f -b -t prod,dev,optional",
|
2020-01-08 21:06:12 +01:00
|
|
|
"electron-version": "electron electron-version.js",
|
2020-04-22 01:59:20 +02:00
|
|
|
"typeorm:migrate": "npm run typeorm:migrate:library && npm run typeorm:migrate:store",
|
2019-07-05 22:51:05 +02:00
|
|
|
"typeorm:migrate:library": "typeorm migration:run -c library",
|
2020-04-22 01:59:20 +02:00
|
|
|
"typeorm:migrate:store": "typeorm migration:run -c store",
|
2019-12-04 03:51:28 +01:00
|
|
|
"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",
|
2019-12-05 21:03:14 +01:00
|
|
|
"watch:ts": "tsc -w --pretty --preserveWatchOutput",
|
2019-12-04 03:51:28 +01:00
|
|
|
"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\"",
|
2020-08-05 22:48:00 +02:00
|
|
|
"test:fast": "mocha --grep \"@(slow|spectron)\" --invert",
|
2019-12-15 01:35:33 +01:00
|
|
|
"test": "mocha",
|
2019-10-26 02:09:11 +02:00
|
|
|
"coverage:fast": "nyc npm run test:fast",
|
|
|
|
"coverage": "nyc npm run test",
|
2019-12-16 21:25:50 +01:00
|
|
|
"prelint": "eslint --print-config forge.config.js | eslint-config-prettier-check",
|
2020-02-03 22:38:25 +01:00
|
|
|
"lint": "eslint ./**/*.* --max-warnings 1",
|
|
|
|
"lint:fix": "eslint ./**/*.* --fix",
|
|
|
|
"prettier": "prettier -c **/*.*",
|
|
|
|
"prettier:fix": "prettier --write **/*.*",
|
2020-02-08 23:26:57 +01:00
|
|
|
"fix": "npm run lint:fix && npm run prettier:fix",
|
2019-10-02 22:42:27 +02:00
|
|
|
"forge:make": "electron-forge --platform win32 --arch x64 make",
|
2020-07-30 21:54:55 +02:00
|
|
|
"forge": "npm audit --production --audit-level=high && npm run build && npm run forge:make",
|
2020-08-05 22:50:45 +02:00
|
|
|
"precommit": "npm run prettier && npm run lint && npm run build && npm run coverage:fast",
|
2019-12-07 00:59:08 +01:00
|
|
|
"prepush": "npm run build && npm run coverage"
|
2019-07-26 22:28:22 +02:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2020-02-09 20:25:05 +01:00
|
|
|
"electron-squirrel-startup": "^1.0.0",
|
2020-06-07 01:30:47 +02:00
|
|
|
"fs-extra": "^9.0.1",
|
2020-02-08 23:26:57 +01:00
|
|
|
"inversify": "^5.0.1",
|
2020-04-10 05:02:19 +02:00
|
|
|
"jsdom": "^16.2.2",
|
|
|
|
"minimist": "^1.2.5",
|
2019-07-26 22:28:22 +02:00
|
|
|
"node-fetch": "^2.6.0",
|
2020-02-08 23:26:57 +01:00
|
|
|
"reflect-metadata": "^0.1.13",
|
2020-07-25 02:02:37 +02:00
|
|
|
"sqlite3": "^5.0.0",
|
2020-06-07 01:30:47 +02:00
|
|
|
"typeorm": "^0.2.25",
|
2020-08-06 23:11:08 +02:00
|
|
|
"uuid": "^8.3.0"
|
2019-03-10 20:16:18 +01:00
|
|
|
},
|
2019-06-04 22:54:56 +02:00
|
|
|
"devDependencies": {
|
2020-07-25 02:02:37 +02:00
|
|
|
"@electron-forge/cli": "^6.0.0-beta.52",
|
|
|
|
"@electron-forge/maker-squirrel": "^6.0.0-beta.52",
|
2020-07-25 02:08:08 +02:00
|
|
|
"@types/chai": "^4.2.12",
|
2020-08-05 22:48:00 +02:00
|
|
|
"@types/chai-fs": "^2.0.2",
|
2020-06-07 01:34:16 +02:00
|
|
|
"@types/fs-extra": "^9.0.1",
|
2020-06-07 01:30:47 +02:00
|
|
|
"@types/jsdom": "^16.2.3",
|
2020-03-03 23:53:51 +01:00
|
|
|
"@types/minimist": "^1.2.0",
|
2020-08-06 23:11:08 +02:00
|
|
|
"@types/mocha": "^8.0.1",
|
|
|
|
"@types/node": "^12.12.54",
|
2020-04-26 01:11:14 +02:00
|
|
|
"@types/node-fetch": "^2.5.7",
|
2020-06-07 01:30:47 +02:00
|
|
|
"@types/sinon": "^9.0.4",
|
2020-08-06 23:11:08 +02:00
|
|
|
"@types/uuid": "^8.0.1",
|
2020-07-25 02:02:37 +02:00
|
|
|
"@types/webpack": "^4.41.21",
|
2020-08-06 23:11:08 +02:00
|
|
|
"@typescript-eslint/eslint-plugin": "^3.8.0",
|
|
|
|
"@typescript-eslint/parser": "^3.8.0",
|
2019-10-06 22:30:24 +02:00
|
|
|
"chai": "^4.2.0",
|
2020-08-05 22:48:00 +02:00
|
|
|
"chai-fs": "^2.0.0",
|
2020-08-06 23:11:08 +02:00
|
|
|
"chokidar": "^3.4.2",
|
2020-04-26 01:11:14 +02:00
|
|
|
"concurrently": "^5.2.0",
|
2020-08-06 23:11:08 +02:00
|
|
|
"electron": "^9.1.2",
|
2020-06-07 01:30:47 +02:00
|
|
|
"electron-rebuild": "^1.11.0",
|
2020-08-06 23:11:08 +02:00
|
|
|
"eslint": "^7.6.0",
|
2020-04-26 01:11:14 +02:00
|
|
|
"eslint-config-prettier": "^6.11.0",
|
2020-07-25 02:02:37 +02:00
|
|
|
"eslint-plugin-import": "^2.22.0",
|
2020-07-25 22:39:39 +02:00
|
|
|
"fast-check": "^2.0.0",
|
2020-04-10 05:02:19 +02:00
|
|
|
"handlebars": "^4.7.6",
|
|
|
|
"husky": "^4.2.5",
|
2020-07-25 02:02:37 +02:00
|
|
|
"lodash": "^4.17.19",
|
2020-08-06 23:11:08 +02:00
|
|
|
"mocha": "^8.1.1",
|
|
|
|
"nock": "^13.0.3",
|
2020-06-07 01:30:47 +02:00
|
|
|
"nyc": "^15.1.0",
|
2020-04-26 01:11:14 +02:00
|
|
|
"prettier": "^2.0.5",
|
2020-07-25 02:02:37 +02:00
|
|
|
"rewiremock": "^3.14.3",
|
2020-04-10 05:02:19 +02:00
|
|
|
"sinon": "^9.0.2",
|
2020-07-25 22:30:00 +02:00
|
|
|
"spectron": "^11.1.0",
|
2020-08-06 23:11:08 +02:00
|
|
|
"svelte": "^3.24.1",
|
2019-07-30 23:00:15 +02:00
|
|
|
"svelte-loader": "^2.13.6",
|
2020-08-06 23:11:08 +02:00
|
|
|
"ts-loader": "^8.0.2",
|
2020-07-25 02:02:37 +02:00
|
|
|
"typescript": "^3.9.7",
|
2020-08-06 23:11:08 +02:00
|
|
|
"webpack": "^4.44.1",
|
2020-07-25 02:02:37 +02:00
|
|
|
"webpack-cli": "^3.3.12"
|
2019-07-26 22:28:22 +02:00
|
|
|
},
|
2019-12-04 01:33:41 +01:00
|
|
|
"repository": "https://git.fuwafuwa.moe/Xymorot/RenaiApp",
|
|
|
|
"bugs": "https://git.fuwafuwa.moe/Xymorot/RenaiApp/issues",
|
2019-07-26 22:28:22 +02:00
|
|
|
"config": {
|
|
|
|
"forge": "forge.config.js"
|
2019-10-03 23:48:00 +02:00
|
|
|
},
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
2019-10-06 22:34:13 +02:00
|
|
|
"pre-commit": "npm run precommit",
|
|
|
|
"pre-push": "npm run prepush"
|
2019-10-03 23:48:00 +02:00
|
|
|
}
|
2019-06-04 22:54:56 +02:00
|
|
|
}
|
2019-03-10 20:16:18 +01:00
|
|
|
}
|