mirror of https://github.com/Kylart/KawAnime.git
191 lines
5.6 KiB
JSON
191 lines
5.6 KiB
JSON
{
|
|
"name": "kawanime",
|
|
"description": "Desktop app for anime fans",
|
|
"version": "0.3.1",
|
|
"main": "app/index.js",
|
|
"bin": "app/bin.js",
|
|
"repository": "https://github.com/Kylart/KawAnime.git",
|
|
"author": {
|
|
"name": "Kylart",
|
|
"email": "Kylart.dev@gmail.com"
|
|
},
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"dev": "cross-env NODE_ENV=development electron app",
|
|
"dev:server": "cross-env NODE_ENV=development KAWANIME_SERVER=on node app",
|
|
"start": "cross-env NODE_ENV=production electron app",
|
|
"start:server": "cross-env NODE_ENV=production KAWANIME_SERVER=on node app",
|
|
"bstart": "npm run build && npm start",
|
|
"build": "rimraf public && npm run build:client && npm run build:server",
|
|
"build:client": "cross-env NODE_ENV=production webpack --config webpack/webpack.client.config.js --hide-modules",
|
|
"build:server": "cross-env NODE_ENV=production webpack --config webpack/webpack.server.config.js --hide-modules",
|
|
"cloc": "cloc $(git ls-files | grep -vE \".mkv|mp4|m4a|mp3|lock\")",
|
|
"test:server": "nyc ava --verbose --serial test/server.test.js",
|
|
"test:front": "npm run build && cross-env NODE_ENV=KawAnime-test nightwatch -c test/nightwatch.config.js",
|
|
"test": "npm run lint && npm run test:front && npm run test:server",
|
|
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
|
|
"lint": "eslint --fix --ext .js,.vue app",
|
|
"pack": "build --dir",
|
|
"dist:linux": "build --linux deb AppImage",
|
|
"dist:win": "build --win --x64 --ia32",
|
|
"dist:mac": "build --mac",
|
|
"dist:all": "npm run build && npm run dist:mac && npm run dist:win && npm run dist:linux",
|
|
"postinstall": "node test/nightwatch.config.js"
|
|
},
|
|
"dependencies": {
|
|
"args": "^5.0.0",
|
|
"axios": "^0.18.0",
|
|
"buttercup": "^1.7.1",
|
|
"chalk": "^2.4.1",
|
|
"colors": "^1.3.0",
|
|
"compression": "^1.7.3",
|
|
"electron-log": "^2.2.16",
|
|
"electron-updater": "^3.0.3",
|
|
"express": "^4.16.2",
|
|
"is-online": "^7.0.0",
|
|
"lodash": "^4.17.10",
|
|
"lru-cache": "^4.0.2",
|
|
"mal-scraper": "^2.4.2",
|
|
"matroska-subtitles": "^2.0.3",
|
|
"mime": "^2.2.0",
|
|
"moment": "^2.22.2",
|
|
"nyaapi": "^2.0.4",
|
|
"randomstring": "^1.1.5",
|
|
"range-parser": "^1.2.0",
|
|
"serve-favicon": "^2.4.5",
|
|
"sse-express": "^1.0.2",
|
|
"urldecode": "^1.0.1",
|
|
"velocity-animate": "^2.0.5",
|
|
"vue": "^2.5.13",
|
|
"vue-clipboards": "^1.2.4",
|
|
"vue-lazyload": "^1.2.6",
|
|
"vue-markdown": "^2.2.4",
|
|
"vue-router": "^3.0.1",
|
|
"vue-server-renderer": "^2.5.13",
|
|
"vuetify": "^1.1.7",
|
|
"vuex": "^3.0.1",
|
|
"vuex-router-sync": "^5.0.0",
|
|
"webtorrent": "^0.101.0"
|
|
},
|
|
"devDependencies": {
|
|
"@vue/devtools": "^1.1.0",
|
|
"autoprefixer": "^9.0.0",
|
|
"ava": "^0.25.0",
|
|
"babel-core": "^6.26.3",
|
|
"babel-eslint": "^8.2.6",
|
|
"babel-loader": "^7.1.5",
|
|
"babel-plugin-add-filehash": "^6.9.8",
|
|
"babel-plugin-add-module-exports": "^0.2.1",
|
|
"babel-plugin-syntax-dynamic-import": "^6.18.0",
|
|
"babel-plugin-transform-imports": "^1.4.1",
|
|
"babel-plugin-transform-object-rest-spread": "^6.26.0",
|
|
"babel-plugin-transform-runtime": "^6.22.0",
|
|
"babel-polyfill": "^6.26.0",
|
|
"babel-preset-env": "^1.6.1",
|
|
"babel-preset-es2015": "^6.24.1",
|
|
"babel-preset-stage-2": "^6.22.0",
|
|
"babel-register": "^6.24.1",
|
|
"babel-runtime": "^6.25.0",
|
|
"chai": "^4.1.2",
|
|
"cloc": "^2.3.3",
|
|
"codecov": "^3.0.4",
|
|
"cross-env": "^5.2.0",
|
|
"css-loader": "^0.28.11",
|
|
"electron": "^3.0.0-beta.3",
|
|
"electron-builder": "^20.24.4",
|
|
"env2": "^2.2.2",
|
|
"es6-promise": "^4.2.4",
|
|
"eslint": "^5.1.0",
|
|
"eslint-config-standard": "^11.0.0",
|
|
"eslint-plugin-import": "^2.13.0",
|
|
"eslint-plugin-node": "^7.0.1",
|
|
"eslint-plugin-promise": "^3.8.0",
|
|
"eslint-plugin-react": "^7.10.0",
|
|
"eslint-plugin-standard": "^3.1.0",
|
|
"eslint-plugin-vue": "^4.7.0",
|
|
"extract-text-webpack-plugin": "^3.0.2",
|
|
"file-loader": "^1.1.11",
|
|
"friendly-errors-webpack-plugin": "^1.6.1",
|
|
"html-webpack-plugin": "^3.2.0",
|
|
"nightwatch": "^1.0.6",
|
|
"nyc": "^12.0.2",
|
|
"optimize-css-assets-webpack-plugin": "^3.2.0",
|
|
"pre-commit": "^1.2.2",
|
|
"progress-bar-webpack-plugin": "^1.11.0",
|
|
"pug": "^2.0.3",
|
|
"rimraf": "^2.6.2",
|
|
"selenium-download": "^2.0.12",
|
|
"style-loader": "^0.21.0",
|
|
"stylus": "^0.54.5",
|
|
"stylus-loader": "^3.0.2",
|
|
"url-loader": "^1.0.1",
|
|
"vue-devtools": "^4.1.4",
|
|
"vue-loader": "^14.2.3",
|
|
"vue-style-loader": "^4.1.0",
|
|
"vue-template-compiler": "^2.5.13",
|
|
"webpack": "^3.12.0",
|
|
"webpack-dev-middleware": "^2.0.6",
|
|
"webpack-hot-middleware": "^2.21.1",
|
|
"webpack-merge": "^4.1.3",
|
|
"webpack-node-externals": "^1.6.0"
|
|
},
|
|
"precommit": "lint",
|
|
"build": {
|
|
"appId": "KawAnime",
|
|
"dmg": {
|
|
"contents": [
|
|
{
|
|
"x": 150,
|
|
"y": 90
|
|
},
|
|
{
|
|
"x": 150,
|
|
"y": 275,
|
|
"type": "link",
|
|
"path": "/Applications"
|
|
}
|
|
]
|
|
},
|
|
"linux": {
|
|
"category": "Network"
|
|
},
|
|
"nsis": {
|
|
"oneClick": false,
|
|
"allowToChangeInstallationDirectory": true
|
|
}
|
|
},
|
|
"nyc": {
|
|
"exclude": [
|
|
"test",
|
|
"nightwatch.conf.js",
|
|
"**/*.test.js",
|
|
"**/node_modules/**",
|
|
"assets/serverStart.js",
|
|
"server/mal/index.js",
|
|
"server/mal/official.js",
|
|
"server/openExternal",
|
|
"server/utils",
|
|
"server/env",
|
|
"server/video"
|
|
],
|
|
"watermarks": {
|
|
"lines": [
|
|
80,
|
|
95
|
|
],
|
|
"functions": [
|
|
80,
|
|
95
|
|
],
|
|
"branches": [
|
|
80,
|
|
95
|
|
],
|
|
"statements": [
|
|
80,
|
|
95
|
|
]
|
|
}
|
|
}
|
|
}
|