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",
|
2019-03-10 20:16:18 +01:00
|
|
|
"scripts": {
|
2019-10-02 22:42:27 +02:00
|
|
|
"postinstall": "npm run rebuild",
|
2019-12-10 23:33:48 +01:00
|
|
|
"start": "electron . --enable-logging --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",
|
2019-07-05 22:51:05 +02:00
|
|
|
"typeorm:migrate": "npm run typeorm:migrate:library",
|
|
|
|
"typeorm:migrate:library": "typeorm migration:run -c library",
|
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\"",
|
2019-11-23 23:28:50 +01:00
|
|
|
"test:before": "node tests/setup/before.js",
|
|
|
|
"test:after": "node tests/setup/after.js",
|
2019-12-15 01:35:33 +01:00
|
|
|
"pretest:fast": "npm run test:before",
|
|
|
|
"test:fast": "mocha --grep @slow --invert",
|
|
|
|
"posttest:fast": "npm run test:after",
|
|
|
|
"pretest": "npm run test:before",
|
|
|
|
"test": "mocha",
|
|
|
|
"posttest": "npm run test:after",
|
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",
|
2019-12-15 01:14:39 +01:00
|
|
|
"lint": "eslint ./**/*.{js,ts} --max-warnings 1",
|
|
|
|
"lint:fix": "eslint . --fix",
|
2019-10-15 21:30:56 +02:00
|
|
|
"prettier": "prettier --ignore-path .gitignore -c **/*.{html,handlebars,json,{c,sc,sa,le}ss,yml,svelte,md,ts,js}",
|
2019-11-18 22:38:51 +01:00
|
|
|
"prettier:fix": "prettier --ignore-path .gitignore --write **/*.{html,handlebars,json,{c,sc,sa,le}ss,yml,svelte,md,ts,js}",
|
2019-11-22 21:07:36 +01:00
|
|
|
"fix": "npm run lint:check && 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",
|
2019-12-15 02:05:35 +01:00
|
|
|
"forge": "npm audit && npm run build && npm run forge:make",
|
2019-12-16 21:25:50 +01:00
|
|
|
"precommit": "npm run build && npm run prettier && npm run lint && 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": {
|
2019-11-18 22:38:51 +01:00
|
|
|
"fs-extra": "^8.1.0",
|
2019-11-18 23:00:11 +01:00
|
|
|
"jsdom": "^15.2.1",
|
2019-12-10 23:33:48 +01:00
|
|
|
"minimist": "^1.2.0",
|
2019-07-26 22:28:22 +02:00
|
|
|
"node-fetch": "^2.6.0",
|
2019-12-05 19:04:39 +01:00
|
|
|
"sqlite3": "^4.1.1",
|
|
|
|
"typeorm": "^0.2.21",
|
2019-10-02 23:01:18 +02:00
|
|
|
"uuid": "^3.3.3"
|
2019-03-10 20:16:18 +01:00
|
|
|
},
|
2019-06-04 22:54:56 +02:00
|
|
|
"devDependencies": {
|
2019-12-05 19:04:39 +01:00
|
|
|
"@electron-forge/cli": "^6.0.0-beta.46",
|
|
|
|
"@electron-forge/maker-squirrel": "^6.0.0-beta.46",
|
2019-12-13 04:07:25 +01:00
|
|
|
"@types/chai": "^4.2.7",
|
2019-11-18 22:38:51 +01:00
|
|
|
"@types/fs-extra": "^8.0.1",
|
2019-07-02 21:36:03 +02:00
|
|
|
"@types/jsdom": "latest",
|
2019-10-02 22:42:27 +02:00
|
|
|
"@types/minimist": "latest",
|
2019-10-05 03:09:34 +02:00
|
|
|
"@types/mocha": "latest",
|
2019-12-16 21:22:29 +01:00
|
|
|
"@types/node": "^12.12.18",
|
2019-12-05 19:04:39 +01:00
|
|
|
"@types/node-fetch": "^2.5.4",
|
2019-11-21 00:08:17 +01:00
|
|
|
"@types/sinon": "^7.5.1",
|
2019-10-05 03:09:34 +02:00
|
|
|
"@types/webdriverio": "^4.13.3",
|
2019-11-18 23:00:11 +01:00
|
|
|
"@types/webpack": "^4.41.0",
|
2019-12-16 21:22:29 +01:00
|
|
|
"@typescript-eslint/eslint-plugin": "^2.12.0",
|
|
|
|
"@typescript-eslint/parser": "^2.12.0",
|
2019-10-06 22:30:24 +02:00
|
|
|
"chai": "^4.2.0",
|
2019-12-16 21:22:29 +01:00
|
|
|
"chokidar": "^3.3.1",
|
2019-12-13 04:07:25 +01:00
|
|
|
"concurrently": "^5.0.1",
|
|
|
|
"electron": "^6.1.6",
|
2019-11-21 00:08:17 +01:00
|
|
|
"electron-rebuild": "^1.8.8",
|
2019-12-05 19:04:39 +01:00
|
|
|
"eslint": "^6.7.2",
|
2019-11-21 00:08:17 +01:00
|
|
|
"eslint-config-prettier": "^6.7.0",
|
2019-12-15 01:14:39 +01:00
|
|
|
"eslint-plugin-import": "^2.19.1",
|
2019-12-13 04:07:25 +01:00
|
|
|
"fast-check": "^1.20.1",
|
2019-11-18 23:00:11 +01:00
|
|
|
"handlebars": "^4.5.3",
|
|
|
|
"husky": "^3.1.0",
|
2019-12-04 03:51:28 +01:00
|
|
|
"lodash": "^4.17.15",
|
2019-11-18 23:00:11 +01:00
|
|
|
"mocha": "^6.2.2",
|
|
|
|
"nock": "^11.7.0",
|
2019-10-11 01:13:41 +02:00
|
|
|
"nyc": "^14.1.1",
|
2019-11-18 23:00:11 +01:00
|
|
|
"prettier": "^1.19.1",
|
2019-11-18 22:38:51 +01:00
|
|
|
"rewiremock": "^3.13.9",
|
2019-10-10 23:07:33 +02:00
|
|
|
"sinon": "^7.5.0",
|
2019-10-05 03:09:34 +02:00
|
|
|
"spectron": "^8.0.0",
|
2019-12-13 04:07:25 +01:00
|
|
|
"svelte": "^3.16.4",
|
2019-07-30 23:00:15 +02:00
|
|
|
"svelte-loader": "^2.13.6",
|
2019-11-18 23:00:11 +01:00
|
|
|
"ts-loader": "^6.2.1",
|
2019-12-05 19:04:39 +01:00
|
|
|
"typescript": "^3.7.3",
|
2019-12-16 21:22:29 +01:00
|
|
|
"webpack": "^4.41.3",
|
2019-12-13 04:00:35 +01:00
|
|
|
"webpack-cli": "^3.3.10"
|
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
|
|
|
}
|