112 lines
4.2 KiB
JSON
112 lines
4.2 KiB
JSON
{
|
|
"name": "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",
|
|
"rebuild": "electron-rebuild -f -b -t prod,dev,optional",
|
|
"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:before": "node tests/setup/before.js",
|
|
"test:after": "node tests/setup/after.js",
|
|
"test:fast": "npm run test:before && mocha --grep @slow --invert && npm run test:after",
|
|
"test": "npm run test:before && mocha && npm run test:after",
|
|
"coverage:fast": "nyc npm run test:fast",
|
|
"coverage": "nyc npm run test",
|
|
"lint:check": "npm run eslint:check && npm run tslint:check",
|
|
"lint": "npm run eslint && npm run tslint",
|
|
"lint:fix": "npm run eslint:fix && npm run tslint:fix",
|
|
"eslint:check": "eslint --print-config forge.config.js | eslint-config-prettier-check",
|
|
"eslint": "eslint .",
|
|
"eslint:fix": "eslint . --fix",
|
|
"tslint:check": "tslint-config-prettier-check ./tslint.json",
|
|
"tslint": "tslint -p tsconfig.json -t stylish",
|
|
"tslint:fix": "tslint -p tsconfig.json --fix",
|
|
"prettier": "prettier --ignore-path .gitignore -c **/*.{html,handlebars,json,{c,sc,sa,le}ss,yml,svelte,md,ts,js}",
|
|
"prettier:fix": "prettier --ignore-path .gitignore --write **/*.{html,handlebars,json,{c,sc,sa,le}ss,yml,svelte,md,ts,js}",
|
|
"fix": "npm run lint:check && npm run lint:fix && npm run prettier:fix",
|
|
"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 build && npm run prettier && npm run lint:check && npm run lint && npm run coverage:fast",
|
|
"prepush": "npm run build && npm run coverage"
|
|
},
|
|
"dependencies": {
|
|
"fs-extra": "^8.1.0",
|
|
"jsdom": "^15.2.1",
|
|
"node-fetch": "^2.6.0",
|
|
"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.6",
|
|
"@types/fs-extra": "^8.0.1",
|
|
"@types/jsdom": "latest",
|
|
"@types/minimist": "latest",
|
|
"@types/mocha": "latest",
|
|
"@types/node": "^12.12.14",
|
|
"@types/node-fetch": "^2.5.4",
|
|
"@types/sinon": "^7.5.1",
|
|
"@types/webdriverio": "^4.13.3",
|
|
"@types/webpack": "^4.41.0",
|
|
"chai": "^4.2.0",
|
|
"chokidar": "^3.3.0",
|
|
"concurrently": "^5.0.0",
|
|
"electron": "^6.1.5",
|
|
"electron-rebuild": "^1.8.8",
|
|
"eslint": "^6.7.2",
|
|
"eslint-config-prettier": "^6.7.0",
|
|
"fast-check": "^1.20.0",
|
|
"handlebars": "^4.5.3",
|
|
"husky": "^3.1.0",
|
|
"lodash": "^4.17.15",
|
|
"minimist": "^1.2.0",
|
|
"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.0",
|
|
"svelte-loader": "^2.13.6",
|
|
"ts-loader": "^6.2.1",
|
|
"tslint": "^5.20.1",
|
|
"tslint-config-prettier": "latest",
|
|
"typescript": "^3.7.3",
|
|
"webpack": "^4.41.2",
|
|
"webpack-cli": "^3.3.10",
|
|
"webpack-stream": "^5.2.1"
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|