87 lines
2.8 KiB
JSON
87 lines
2.8 KiB
JSON
{
|
|
"name": "renai",
|
|
"version": "1.0.0",
|
|
"description": "Hentai Library Thingy",
|
|
"private": true,
|
|
"author": "Xymorot",
|
|
"main": "src/main.js",
|
|
"scripts": {
|
|
"postinstall": "npm run rebuild",
|
|
"start": "electron . --enable-logging",
|
|
"rebuild": "electron-rebuild -f -b -t prod,dev,optional",
|
|
"typeorm:migrate": "npm run typeorm:migrate:library",
|
|
"typeorm:migrate:library": "typeorm migration:run -c library",
|
|
"watch": "gulp build --watch --dev",
|
|
"build": "gulp build",
|
|
"test:fast": "mocha --grep @slow --invert",
|
|
"test": "mocha",
|
|
"lint": "npm run eslint && npm run tslint",
|
|
"eslint-check": "eslint --print-config gulpfile.js | eslint-config-prettier-check",
|
|
"eslint": "eslint .",
|
|
"tslint-check": "tslint-config-prettier-check ./tslint.json",
|
|
"tslint": "tslint -t stylish -c tslint.json -p tsconfig.json",
|
|
"prettier": "prettier --ignore-path .gitignore -c **/*.{html,json,{c,sc,sa,le}ss,yml,svelte,md,ts,js}",
|
|
"prettier:write": "prettier --ignore-path .gitignore --write **/*.{html,json,{c,sc,sa,le}ss,yml,svelte,md,ts,js}",
|
|
"forge:start": "electron-forge start",
|
|
"forge:make": "electron-forge --platform win32 --arch x64 make",
|
|
"forge": "npm run build && npm run forge:make",
|
|
"precommit": "npm run prettier:write && npm run eslint-check && npm run tslint-check && npm run lint && npm run test:fast",
|
|
"prepush": "npm run test"
|
|
},
|
|
"dependencies": {
|
|
"jsdom": "^15.1.1",
|
|
"node-fetch": "^2.6.0",
|
|
"sqlite3": "^4.1.0",
|
|
"typeorm": "^0.2.19",
|
|
"uuid": "^3.3.3"
|
|
},
|
|
"devDependencies": {
|
|
"@electron-forge/cli": "^6.0.0-beta.45",
|
|
"@electron-forge/maker-squirrel": "^6.0.0-beta.45",
|
|
"@types/chai": "^4.2.3",
|
|
"@types/gulp": "^4.0.6",
|
|
"@types/jsdom": "latest",
|
|
"@types/minimist": "latest",
|
|
"@types/mocha": "latest",
|
|
"@types/node": "latest",
|
|
"@types/node-fetch": "latest",
|
|
"@types/sinon": "^7.5.0",
|
|
"@types/webdriverio": "^4.13.3",
|
|
"@types/webpack": "latest",
|
|
"chai": "^4.2.0",
|
|
"electron": "^6.0.11",
|
|
"electron-rebuild": "^1.8.6",
|
|
"eslint": "latest",
|
|
"eslint-config-prettier": "latest",
|
|
"gulp": "^4.0.2",
|
|
"gulp-cli": "^2.2.0",
|
|
"gulp-sourcemaps": "^2.6.5",
|
|
"gulp-typescript": "^5.0.1",
|
|
"husky": "^3.0.8",
|
|
"minimist": "^1.2.0",
|
|
"mocha": "^6.2.1",
|
|
"nock": "^11.4.0",
|
|
"prettier": "latest",
|
|
"sinon": "^7.5.0",
|
|
"spectron": "^8.0.0",
|
|
"svelte": "^3.12.1",
|
|
"svelte-loader": "^2.13.6",
|
|
"ts-loader": "^6.2.0",
|
|
"tslint": "latest",
|
|
"tslint-config-prettier": "latest",
|
|
"typescript": "^3.6.3",
|
|
"webpack": "^4.41.0",
|
|
"webpack-cli": "^3.3.9",
|
|
"webpack-stream": "^5.2.1"
|
|
},
|
|
"config": {
|
|
"forge": "forge.config.js"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "npm run precommit",
|
|
"pre-push": "npm run prepush"
|
|
}
|
|
}
|
|
}
|