2016-11-21 14:33:22 +00:00
|
|
|
{
|
2018-10-05 15:05:24 +00:00
|
|
|
"name": "KawAnime",
|
2017-07-24 08:45:00 +00:00
|
|
|
"description": "Desktop app for anime fans",
|
2018-07-19 08:23:29 +00:00
|
|
|
"version": "0.3.1",
|
2018-07-21 00:15:51 +00:00
|
|
|
"main": "app/index.js",
|
2018-08-02 10:14:45 +00:00
|
|
|
"bin": "app/bin.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": {
|
2018-07-21 00:15:51 +00:00
|
|
|
"dev": "cross-env NODE_ENV=development electron app",
|
2018-08-08 19:46:56 +00:00
|
|
|
"dev:server": "cross-env NODE_ENV=development KAWANIME_SERVER=true node app",
|
2018-07-21 00:15:51 +00:00
|
|
|
"start": "cross-env NODE_ENV=production electron app",
|
2018-08-08 19:46:56 +00:00
|
|
|
"start:server": "cross-env NODE_ENV=production KAWANIME_SERVER=true node app",
|
2018-08-15 17:36:26 +00:00
|
|
|
"start:test-server": "cross-env NODE_ENV=KawAnime-test PORT=8080 KAWANIME_SERVER=true node app",
|
2017-07-24 08:45:00 +00:00
|
|
|
"bstart": "npm run build && npm start",
|
2018-07-21 21:35:39 +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\")",
|
2018-08-08 19:46:56 +00:00
|
|
|
"test:api": "cross-env NODE_ENV=\"KawAnime-test\" nyc --nycrc-path=\"test/.nycrc\" ava --verbose --serial test/api/**.test.js",
|
2018-08-15 17:36:26 +00:00
|
|
|
"test:e2e": "start-server-and-test start:test-server http://localhost:8080 cy:run",
|
|
|
|
"dev:test:e2e": "start-server-and-test start:test-server http://localhost:8080 cy:open",
|
|
|
|
"cy:open": "cypress open",
|
|
|
|
"cy:run": "cypress run",
|
|
|
|
"test": "npm run lint && npm run test:api && npm run test:e2e",
|
2017-05-23 20:01:13 +00:00
|
|
|
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
|
2018-08-15 17:36:26 +00:00
|
|
|
"lint": "eslint --fix --ext .js,.vue app test/api",
|
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",
|
2018-08-08 19:53:28 +00:00
|
|
|
"dist:all": "npm run build && npm run dist:mac && npm run dist:win && npm run dist:linux"
|
2016-11-21 14:33:22 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2018-08-02 10:14:45 +00:00
|
|
|
"args": "^5.0.0",
|
2018-03-29 04:03:22 +00:00
|
|
|
"axios": "^0.18.0",
|
2018-11-11 19:10:16 +00:00
|
|
|
"babel-runtime": "^6.26.0",
|
2018-12-27 23:27:07 +00:00
|
|
|
"buttercup": "^2.9.2",
|
2018-04-29 20:18:29 +00:00
|
|
|
"chalk": "^2.4.1",
|
2018-12-27 23:27:07 +00:00
|
|
|
"colors": "^1.3.3",
|
2018-07-18 13:28:34 +00:00
|
|
|
"compression": "^1.7.3",
|
2018-10-04 20:32:41 +00:00
|
|
|
"electron-log": "^2.2.17",
|
2018-12-27 23:27:07 +00:00
|
|
|
"electron-updater": "^4.0.6",
|
|
|
|
"express": "^4.16.4",
|
2018-10-04 20:32:41 +00:00
|
|
|
"lodash": "^4.17.11",
|
|
|
|
"lru-cache": "^4.1.3",
|
2019-03-09 18:57:32 +00:00
|
|
|
"mal-scraper": "^2.5.0",
|
2018-03-14 20:46:43 +00:00
|
|
|
"matroska-subtitles": "^2.0.3",
|
2018-12-27 23:27:07 +00:00
|
|
|
"mime": "^2.4.0",
|
|
|
|
"moment": "^2.23.0",
|
2018-10-04 20:32:41 +00:00
|
|
|
"nyaapi": "^2.0.5",
|
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",
|
2018-10-04 20:32:41 +00:00
|
|
|
"serve-favicon": "^2.5.0",
|
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",
|
2019-02-15 15:57:40 +00:00
|
|
|
"vue": "^2.6.6",
|
2018-03-25 15:47:03 +00:00
|
|
|
"vue-clipboards": "^1.2.4",
|
2018-12-27 23:27:07 +00:00
|
|
|
"vue-router": "^3.0.2",
|
2019-02-15 15:57:40 +00:00
|
|
|
"vue-server-renderer": "^2.6.6",
|
|
|
|
"vuetify": "^1.5.1",
|
2018-03-29 04:03:22 +00:00
|
|
|
"vuex": "^3.0.1",
|
|
|
|
"vuex-router-sync": "^5.0.0",
|
2018-12-27 23:27:07 +00:00
|
|
|
"webtorrent": "^0.103.0",
|
2018-10-04 20:32:41 +00:00
|
|
|
"zettai": "^2.0.2"
|
2017-03-05 22:05:10 +00:00
|
|
|
},
|
2017-04-15 14:16:14 +00:00
|
|
|
"devDependencies": {
|
2018-10-04 20:32:41 +00:00
|
|
|
"autoprefixer": "^9.1.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-10-04 20:32:41 +00:00
|
|
|
"babel-eslint": "^10",
|
2018-07-18 13:28:34 +00:00
|
|
|
"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",
|
2018-10-04 20:32:41 +00:00
|
|
|
"babel-plugin-transform-imports": "^1.5.1",
|
2017-11-17 12:54:05 +00:00
|
|
|
"babel-plugin-transform-object-rest-spread": "^6.26.0",
|
2018-10-04 20:32:41 +00:00
|
|
|
"babel-plugin-transform-runtime": "^6.23.0",
|
2017-11-17 12:54:05 +00:00
|
|
|
"babel-polyfill": "^6.26.0",
|
2018-10-04 20:32:41 +00:00
|
|
|
"babel-preset-env": "^1.7.0",
|
2017-05-23 14:19:25 +00:00
|
|
|
"babel-preset-es2015": "^6.24.1",
|
2018-10-04 20:32:41 +00:00
|
|
|
"babel-preset-stage-2": "^6.24.1",
|
|
|
|
"babel-register": "^6.26.0",
|
|
|
|
"chai": "^4.2.0",
|
|
|
|
"cloc": "^2.3.4",
|
|
|
|
"codecov": "^3.1.0",
|
2018-07-18 13:28:34 +00:00
|
|
|
"cross-env": "^5.2.0",
|
2018-08-01 09:20:49 +00:00
|
|
|
"css-loader": "^0.28.11",
|
2018-10-04 20:32:41 +00:00
|
|
|
"cypress": "^3.1.0",
|
|
|
|
"electron": "^3.0.2",
|
2018-11-11 19:03:25 +00:00
|
|
|
"electron-builder": "^20.34.0",
|
2018-07-18 13:28:34 +00:00
|
|
|
"env2": "^2.2.2",
|
2018-10-04 20:32:41 +00:00
|
|
|
"es6-promise": "^4.2.5",
|
|
|
|
"eslint": "^5.6.1",
|
|
|
|
"eslint-config-standard": "^12.0.0",
|
|
|
|
"eslint-plugin-import": "^2.14.0",
|
2018-07-20 18:11:46 +00:00
|
|
|
"eslint-plugin-node": "^7.0.1",
|
2018-10-04 20:32:41 +00:00
|
|
|
"eslint-plugin-promise": "^4.0.1",
|
|
|
|
"eslint-plugin-react": "^7.11.1",
|
|
|
|
"eslint-plugin-standard": "^4.0.0",
|
|
|
|
"eslint-plugin-vue": "^4.7.1",
|
2018-08-01 09:06:30 +00:00
|
|
|
"extract-text-webpack-plugin": "^3.0.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",
|
2018-08-01 09:06:30 +00:00
|
|
|
"html-webpack-plugin": "^3.2.0",
|
2018-10-04 20:32:41 +00:00
|
|
|
"nyc": "^13.0.1",
|
2018-08-01 09:20:49 +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-11-27 12:31:02 +00:00
|
|
|
"start-server-and-test": "^1.7.11",
|
2018-07-20 16:54:31 +00:00
|
|
|
"style-loader": "^0.21.0",
|
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",
|
2018-08-08 19:46:56 +00:00
|
|
|
"supertest": "^3.1.0",
|
2018-03-29 04:03:22 +00:00
|
|
|
"url-loader": "^1.0.1",
|
2018-07-21 00:15:51 +00:00
|
|
|
"vue-devtools": "^4.1.4",
|
2018-07-18 13:28:34 +00:00
|
|
|
"vue-loader": "^14.2.3",
|
2018-10-04 20:32:41 +00:00
|
|
|
"vue-style-loader": "^4.1.2",
|
2018-12-27 23:27:07 +00:00
|
|
|
"vue-template-compiler": "^2.5.21",
|
2018-08-01 09:06:30 +00:00
|
|
|
"webpack": "^3.12.0",
|
|
|
|
"webpack-dev-middleware": "^2.0.6",
|
2018-10-04 20:32:41 +00:00
|
|
|
"webpack-hot-middleware": "^2.24.2",
|
|
|
|
"webpack-merge": "^4.1.4",
|
|
|
|
"webpack-node-externals": "^1.7.2"
|
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
|
2019-02-20 01:15:00 +00:00
|
|
|
},
|
2019-03-09 18:57:32 +00:00
|
|
|
"fileAssociations": [
|
|
|
|
{
|
|
|
|
"ext": "torrent",
|
|
|
|
"name": "Torrent files"
|
|
|
|
}
|
|
|
|
]
|
2017-04-15 14:16:14 +00:00
|
|
|
}
|
2016-11-21 14:33:22 +00:00
|
|
|
}
|