2016-11-21 14:33:22 +00:00
|
|
|
{
|
2016-12-10 17:40:36 +00:00
|
|
|
"name": "KawAnime",
|
2017-07-24 08:45:00 +00:00
|
|
|
"description": "Desktop app for anime fans",
|
2018-07-18 13:28:48 +00:00
|
|
|
"version": "0.3.0",
|
2016-11-21 14:33:22 +00:00
|
|
|
"main": "main.js",
|
2017-04-15 14:20:02 +00:00
|
|
|
"repository": "https://github.com/Kylart/KawAnime.git",
|
2017-04-27 22:52:06 +00:00
|
|
|
"author": {
|
|
|
|
"name": "Kylart",
|
2017-07-30 21:11:21 +00:00
|
|
|
"email": "Kylart.dev@gmail.com"
|
2017-04-27 22:52:06 +00:00
|
|
|
},
|
2016-11-21 14:33:22 +00:00
|
|
|
"license": "MIT",
|
2017-04-15 14:16:14 +00:00
|
|
|
"scripts": {
|
2017-07-27 21:50:10 +00:00
|
|
|
"dev": "cross-env NODE_ENV=development electron main.js",
|
|
|
|
"start": "cross-env NODE_ENV=production electron main.js",
|
2017-07-24 08:45:00 +00:00
|
|
|
"bstart": "npm run build && npm start",
|
2017-07-25 14:53:26 +00:00
|
|
|
"build": "rimraf public && npm run build:client && npm run build:server",
|
2017-07-27 21:50:10 +00:00
|
|
|
"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",
|
2018-03-10 21:41:19 +00:00
|
|
|
"cloc": "cloc $(git ls-files | grep -vE \".mkv|mp4|m4a|mp3|lock\")",
|
2017-05-22 09:26:56 +00:00
|
|
|
"test:server": "nyc ava --verbose --serial test/server.test.js",
|
2017-07-27 21:50:10 +00:00
|
|
|
"test:front": "npm run build && cross-env NODE_ENV=KawAnime-test nightwatch",
|
2018-03-14 23:08:24 +00:00
|
|
|
"test": "standard --fix && npm run test:front && npm run test:server",
|
2017-05-23 20:01:13 +00:00
|
|
|
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
|
2017-08-04 13:00:12 +00:00
|
|
|
"lint": "standard --fix --verbose --plugin vue '**/*.{js,vue}' | snazzy",
|
2017-08-13 22:46:05 +00:00
|
|
|
"pack": "build --dir",
|
2017-09-19 12:18:18 +00:00
|
|
|
"dist:linux": "build --linux deb AppImage",
|
2017-09-05 22:06:21 +00:00
|
|
|
"dist:win": "build --win --x64 --ia32",
|
2017-08-22 17:30:58 +00:00
|
|
|
"dist:mac": "build --mac",
|
|
|
|
"dist:all": "npm run build && npm run dist:mac && npm run dist:win && npm run dist:linux",
|
2017-05-23 14:19:25 +00:00
|
|
|
"postinstall": "node nightwatch.conf.js"
|
2016-11-21 14:33:22 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2018-03-29 04:03:22 +00:00
|
|
|
"axios": "^0.18.0",
|
2018-07-18 13:28:34 +00:00
|
|
|
"buttercup": "^1.7.1",
|
2018-04-29 20:18:29 +00:00
|
|
|
"chalk": "^2.4.1",
|
2018-07-18 13:28:34 +00:00
|
|
|
"colors": "^1.3.0",
|
|
|
|
"compression": "^1.7.3",
|
|
|
|
"electron-log": "^2.2.16",
|
|
|
|
"electron-updater": "^2.23.3",
|
2017-10-27 14:40:51 +00:00
|
|
|
"express": "^4.16.2",
|
2017-11-17 12:54:05 +00:00
|
|
|
"horrible-api": "^1.1.1",
|
2018-07-18 13:28:34 +00:00
|
|
|
"is-online": "^7.0.0",
|
2018-04-29 20:18:29 +00:00
|
|
|
"lodash": "^4.17.10",
|
2017-07-24 08:45:00 +00:00
|
|
|
"lru-cache": "^4.0.2",
|
2018-03-03 02:06:56 +00:00
|
|
|
"mal-scraper": "^2.4.2",
|
2018-03-14 20:46:43 +00:00
|
|
|
"matroska-subtitles": "^2.0.3",
|
2018-03-13 21:50:52 +00:00
|
|
|
"mime": "^2.2.0",
|
2018-07-18 13:28:34 +00:00
|
|
|
"moment": "^2.22.2",
|
2017-11-06 04:11:26 +00:00
|
|
|
"nyaapi": "^2.0.4",
|
2017-09-13 11:24:52 +00:00
|
|
|
"randomstring": "^1.1.5",
|
2018-03-13 21:50:52 +00:00
|
|
|
"range-parser": "^1.2.0",
|
2017-10-01 01:30:04 +00:00
|
|
|
"serve-favicon": "^2.4.5",
|
2018-03-14 20:46:43 +00:00
|
|
|
"sse-express": "^1.0.2",
|
2018-03-13 21:50:52 +00:00
|
|
|
"urldecode": "^1.0.1",
|
2018-06-27 22:27:30 +00:00
|
|
|
"velocity-animate": "^2.0.5",
|
2018-01-06 06:31:33 +00:00
|
|
|
"vue": "^2.5.13",
|
2018-03-25 15:47:03 +00:00
|
|
|
"vue-clipboards": "^1.2.4",
|
2018-07-18 13:28:34 +00:00
|
|
|
"vue-lazyload": "^1.2.6",
|
2017-09-27 11:48:57 +00:00
|
|
|
"vue-markdown": "^2.2.4",
|
2018-03-29 04:03:22 +00:00
|
|
|
"vue-router": "^3.0.1",
|
2018-01-06 06:31:33 +00:00
|
|
|
"vue-server-renderer": "^2.5.13",
|
2018-07-18 13:28:34 +00:00
|
|
|
"vuetify": "^1.0.19",
|
2018-03-29 04:03:22 +00:00
|
|
|
"vuex": "^3.0.1",
|
|
|
|
"vuex-router-sync": "^5.0.0",
|
2018-04-29 20:18:29 +00:00
|
|
|
"webtorrent": "^0.99.3"
|
2017-03-05 22:05:10 +00:00
|
|
|
},
|
2017-04-15 14:16:14 +00:00
|
|
|
"devDependencies": {
|
2018-07-18 13:28:34 +00:00
|
|
|
"autoprefixer": "^8.6.5",
|
2018-03-29 04:03:22 +00:00
|
|
|
"ava": "^0.25.0",
|
2018-04-29 20:18:29 +00:00
|
|
|
"babel-core": "^6.26.3",
|
2018-07-18 13:28:34 +00:00
|
|
|
"babel-eslint": "^8.2.6",
|
|
|
|
"babel-loader": "^7.1.5",
|
2018-03-03 02:06:56 +00:00
|
|
|
"babel-plugin-add-filehash": "^6.9.8",
|
2017-05-23 14:19:25 +00:00
|
|
|
"babel-plugin-add-module-exports": "^0.2.1",
|
2017-07-27 08:05:02 +00:00
|
|
|
"babel-plugin-syntax-dynamic-import": "^6.18.0",
|
2017-08-30 09:04:04 +00:00
|
|
|
"babel-plugin-transform-imports": "^1.4.1",
|
2017-11-17 12:54:05 +00:00
|
|
|
"babel-plugin-transform-object-rest-spread": "^6.26.0",
|
2017-07-24 08:45:00 +00:00
|
|
|
"babel-plugin-transform-runtime": "^6.22.0",
|
2017-11-17 12:54:05 +00:00
|
|
|
"babel-polyfill": "^6.26.0",
|
2017-10-27 14:40:51 +00:00
|
|
|
"babel-preset-env": "^1.6.1",
|
2017-05-23 14:19:25 +00:00
|
|
|
"babel-preset-es2015": "^6.24.1",
|
2017-07-24 08:45:00 +00:00
|
|
|
"babel-preset-stage-2": "^6.22.0",
|
|
|
|
"babel-register": "^6.24.1",
|
2017-11-14 19:35:41 +00:00
|
|
|
"babel-runtime": "^6.25.0",
|
2018-04-29 20:18:29 +00:00
|
|
|
"chai": "^4.1.2",
|
2018-03-03 02:06:56 +00:00
|
|
|
"cloc": "^2.3.3",
|
2018-07-18 13:28:34 +00:00
|
|
|
"codecov": "^3.0.4",
|
|
|
|
"cross-env": "^5.2.0",
|
2018-03-03 02:06:56 +00:00
|
|
|
"css-loader": "^0.28.10",
|
2018-07-18 13:28:34 +00:00
|
|
|
"electron": "^2.0.5",
|
|
|
|
"electron-builder": "^20.22.0",
|
|
|
|
"env2": "^2.2.2",
|
2018-03-03 02:06:56 +00:00
|
|
|
"es6-promise": "^4.2.4",
|
2018-03-29 04:03:22 +00:00
|
|
|
"eslint-plugin-vue": "^2.1.0",
|
2017-07-24 08:45:00 +00:00
|
|
|
"eventsource-polyfill": "^0.9.6",
|
2018-03-29 06:28:55 +00:00
|
|
|
"extract-text-webpack-plugin": "^2.1.2",
|
2018-03-29 04:03:22 +00:00
|
|
|
"file-loader": "^1.1.11",
|
2017-07-24 08:45:00 +00:00
|
|
|
"friendly-errors-webpack-plugin": "^1.6.1",
|
|
|
|
"highlight.js": "^9.12.0",
|
2018-03-29 04:03:22 +00:00
|
|
|
"html-webpack-plugin": "^3.1.0",
|
2018-04-29 20:18:29 +00:00
|
|
|
"nightwatch": "^0.9.21",
|
2018-07-18 13:28:34 +00:00
|
|
|
"nyc": "^11.9.0",
|
2018-03-29 06:28:55 +00:00
|
|
|
"optimize-css-assets-webpack-plugin": "^3.2.0",
|
2017-05-08 13:52:42 +00:00
|
|
|
"pre-commit": "^1.2.2",
|
2018-03-03 02:06:56 +00:00
|
|
|
"progress-bar-webpack-plugin": "^1.11.0",
|
2018-03-25 15:47:03 +00:00
|
|
|
"pug": "^2.0.3",
|
2017-09-19 12:18:18 +00:00
|
|
|
"rimraf": "^2.6.2",
|
2018-03-29 04:03:22 +00:00
|
|
|
"script-ext-html-webpack-plugin": "^2.0.1",
|
2018-03-03 02:06:56 +00:00
|
|
|
"selenium-download": "^2.0.12",
|
|
|
|
"snazzy": "^7.1.1",
|
2018-03-29 04:03:22 +00:00
|
|
|
"standard": "^10.0.3",
|
|
|
|
"style-loader": "^0.20.3",
|
2017-04-15 14:16:14 +00:00
|
|
|
"stylus": "^0.54.5",
|
2018-03-03 02:06:56 +00:00
|
|
|
"stylus-loader": "^3.0.2",
|
2017-07-24 08:45:00 +00:00
|
|
|
"sw-precache-webpack-plugin": "^0.11.4",
|
2018-03-29 04:03:22 +00:00
|
|
|
"url-loader": "^1.0.1",
|
2018-05-10 18:46:22 +00:00
|
|
|
"vue-devtools": "^3.1.9",
|
2018-07-18 13:28:34 +00:00
|
|
|
"vue-loader": "^14.2.3",
|
2018-03-29 04:03:22 +00:00
|
|
|
"vue-style-loader": "^4.1.0",
|
2018-01-06 06:31:33 +00:00
|
|
|
"vue-template-compiler": "^2.5.13",
|
2018-03-03 02:06:56 +00:00
|
|
|
"webpack": "^3.11.0",
|
2018-03-29 04:03:22 +00:00
|
|
|
"webpack-dev-middleware": "^2.0.6",
|
2018-03-03 02:06:56 +00:00
|
|
|
"webpack-hot-middleware": "^2.21.1",
|
2018-07-18 13:28:34 +00:00
|
|
|
"webpack-merge": "^4.1.3",
|
2017-07-24 08:45:00 +00:00
|
|
|
"webpack-node-externals": "^1.6.0"
|
2017-04-27 22:52:06 +00:00
|
|
|
},
|
2017-05-08 13:52:42 +00:00
|
|
|
"precommit": "lint",
|
2017-04-27 22:52:06 +00:00
|
|
|
"build": {
|
|
|
|
"appId": "KawAnime",
|
|
|
|
"dmg": {
|
|
|
|
"contents": [
|
|
|
|
{
|
|
|
|
"x": 150,
|
|
|
|
"y": 90
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"x": 150,
|
|
|
|
"y": 275,
|
|
|
|
"type": "link",
|
|
|
|
"path": "/Applications"
|
|
|
|
}
|
|
|
|
]
|
2017-11-22 21:06:17 +00:00
|
|
|
},
|
|
|
|
"linux": {
|
|
|
|
"category": "Network"
|
2018-06-03 22:31:09 +00:00
|
|
|
},
|
|
|
|
"nsis": {
|
|
|
|
"oneClick": false,
|
|
|
|
"allowToChangeInstallationDirectory": true
|
2017-04-27 22:52:06 +00:00
|
|
|
}
|
2017-05-21 20:51:56 +00:00
|
|
|
},
|
|
|
|
"standard": {
|
2017-07-27 08:05:02 +00:00
|
|
|
"parser": "babel-eslint",
|
2017-05-21 20:51:56 +00:00
|
|
|
"ignore": [
|
2017-07-24 08:45:00 +00:00
|
|
|
"test/front.test.js",
|
2017-07-24 10:33:00 +00:00
|
|
|
"public"
|
2017-05-23 14:19:25 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"nyc": {
|
|
|
|
"exclude": [
|
|
|
|
"test",
|
2017-05-23 14:32:38 +00:00
|
|
|
"nightwatch.conf.js",
|
2017-05-23 14:19:25 +00:00
|
|
|
"**/*.test.js",
|
|
|
|
"**/node_modules/**",
|
2017-11-12 18:41:11 +00:00
|
|
|
"assets/serverStart.js",
|
|
|
|
"server/mal/index.js",
|
2017-11-23 15:43:50 +00:00
|
|
|
"server/mal/official.js",
|
|
|
|
"server/openExternal",
|
|
|
|
"server/utils",
|
2018-03-21 18:49:21 +00:00
|
|
|
"server/env",
|
|
|
|
"server/video"
|
2017-05-24 08:02:33 +00:00
|
|
|
],
|
|
|
|
"watermarks": {
|
2017-05-24 08:08:08 +00:00
|
|
|
"lines": [
|
|
|
|
80,
|
|
|
|
95
|
|
|
|
],
|
|
|
|
"functions": [
|
|
|
|
80,
|
|
|
|
95
|
|
|
|
],
|
|
|
|
"branches": [
|
|
|
|
80,
|
|
|
|
95
|
|
|
|
],
|
|
|
|
"statements": [
|
|
|
|
80,
|
|
|
|
95
|
|
|
|
]
|
2017-05-24 08:02:33 +00:00
|
|
|
}
|
2017-04-15 14:16:14 +00:00
|
|
|
}
|
2016-11-21 14:33:22 +00:00
|
|
|
}
|