114 lines
3.9 KiB
JSON
114 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": {
|
|
"electron-squirrel-startup": "^1.0.0",
|
|
"fs-extra": "^9.0.1",
|
|
"inversify": "^5.0.1",
|
|
"jsdom": "^16.2.2",
|
|
"minimist": "^1.2.5",
|
|
"node-fetch": "^2.6.0",
|
|
"reflect-metadata": "^0.1.13",
|
|
"sqlite3": "^5.0.0",
|
|
"typeorm": "^0.2.25",
|
|
"uuid": "^8.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"@electron-forge/cli": "^6.0.0-beta.52",
|
|
"@electron-forge/maker-squirrel": "^6.0.0-beta.52",
|
|
"@types/chai": "^4.2.12",
|
|
"@types/chai-fs": "^2.0.2",
|
|
"@types/fs-extra": "^9.0.1",
|
|
"@types/jsdom": "^16.2.3",
|
|
"@types/minimist": "^1.2.0",
|
|
"@types/mocha": "^8.0.1",
|
|
"@types/node": "^12.12.54",
|
|
"@types/node-fetch": "^2.5.7",
|
|
"@types/sinon": "^9.0.4",
|
|
"@types/uuid": "^8.0.1",
|
|
"@types/webpack": "^4.41.21",
|
|
"@typescript-eslint/eslint-plugin": "^3.8.0",
|
|
"@typescript-eslint/parser": "^3.8.0",
|
|
"chai": "^4.2.0",
|
|
"chai-fs": "^2.0.0",
|
|
"chokidar": "^3.4.2",
|
|
"concurrently": "^5.2.0",
|
|
"electron": "^9.1.2",
|
|
"electron-rebuild": "^1.11.0",
|
|
"eslint": "^7.6.0",
|
|
"eslint-config-prettier": "^6.11.0",
|
|
"eslint-plugin-import": "^2.22.0",
|
|
"fast-check": "^2.0.0",
|
|
"handlebars": "^4.7.6",
|
|
"husky": "^4.2.5",
|
|
"lodash": "^4.17.19",
|
|
"mocha": "^8.1.1",
|
|
"nock": "^13.0.3",
|
|
"nyc": "^15.1.0",
|
|
"prettier": "^2.0.5",
|
|
"rewiremock": "^3.14.3",
|
|
"sinon": "^9.0.2",
|
|
"spectron": "^11.1.0",
|
|
"svelte": "^3.24.1",
|
|
"svelte-loader": "^2.13.6",
|
|
"ts-loader": "^8.0.2",
|
|
"typescript": "^3.9.7",
|
|
"webpack": "^4.44.1",
|
|
"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"
|
|
}
|
|
}
|
|
}
|