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",
|
2017-09-19 12:23:05 +00:00
|
|
|
"version": "0.1.1",
|
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",
|
2017-09-19 07:23:46 +00:00
|
|
|
"cloc": "cloc $(git ls-files | grep -vE \".mkv|mp4|m4a|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",
|
2017-05-23 14:32:38 +00:00
|
|
|
"test": "standard --fix && npm test:front && npm 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
|
|
|
},
|
2017-07-24 08:45:00 +00:00
|
|
|
"engines": {
|
|
|
|
"node": ">=7.0",
|
|
|
|
"npm": ">=4.0"
|
|
|
|
},
|
2016-11-21 14:33:22 +00:00
|
|
|
"dependencies": {
|
2017-07-27 15:00:15 +00:00
|
|
|
"animate.css": "^3.5.2",
|
2017-07-24 08:45:00 +00:00
|
|
|
"axios": "^0.16.2",
|
2017-07-25 14:53:26 +00:00
|
|
|
"babel-core": "^6.25.0",
|
2017-08-30 09:04:04 +00:00
|
|
|
"babel-plugin-transform-object-rest-spread": "^6.26.0",
|
2017-08-07 12:01:04 +00:00
|
|
|
"babel-runtime": "^6.25.0",
|
2017-07-26 21:46:30 +00:00
|
|
|
"chalk": "^2.0.1",
|
2017-07-24 10:33:00 +00:00
|
|
|
"colors": "^1.1.2",
|
2017-07-25 14:53:26 +00:00
|
|
|
"compression": "^1.6.2",
|
2017-09-19 12:18:18 +00:00
|
|
|
"electron-devtools-installer": "^2.2.0",
|
|
|
|
"electron-updater": "^2.9.3",
|
2017-07-24 08:45:00 +00:00
|
|
|
"express": "^4.15.3",
|
2017-05-22 09:26:56 +00:00
|
|
|
"horrible-api": "^1.0.5",
|
2017-06-28 10:42:02 +00:00
|
|
|
"lodash": "^4.17.4",
|
2017-07-24 08:45:00 +00:00
|
|
|
"lru-cache": "^4.0.2",
|
2017-06-11 19:11:02 +00:00
|
|
|
"mal-scraper": "^1.4.1",
|
2017-06-30 14:45:11 +00:00
|
|
|
"moment": "^2.18.1",
|
2017-05-27 18:41:10 +00:00
|
|
|
"nyaapi": "^1.2.2",
|
2017-07-26 21:46:30 +00:00
|
|
|
"progress-bar-webpack-plugin": "^1.10.0",
|
2017-09-13 11:24:52 +00:00
|
|
|
"randomstring": "^1.1.5",
|
2017-09-19 12:18:18 +00:00
|
|
|
"serve-favicon": "^2.4.4",
|
|
|
|
"vue": "^2.4.4",
|
2017-08-03 05:57:31 +00:00
|
|
|
"vue-clipboards": "^1.1.0",
|
2017-08-07 12:01:04 +00:00
|
|
|
"vue-lazyload": "^1.0.6",
|
2017-09-19 12:18:18 +00:00
|
|
|
"vue-loader": "^13.0.5",
|
2017-07-24 08:45:00 +00:00
|
|
|
"vue-router": "^2.7.0",
|
2017-09-19 12:18:18 +00:00
|
|
|
"vue-server-renderer": "^2.4.4",
|
2017-09-25 00:10:30 +00:00
|
|
|
"vuetify": "^0.15.5",
|
2017-07-24 08:45:00 +00:00
|
|
|
"vuex": "^2.3.1",
|
2017-09-19 12:18:18 +00:00
|
|
|
"vuex-router-sync": "^4.3.2"
|
2017-03-05 22:05:10 +00:00
|
|
|
},
|
2017-04-15 14:16:14 +00:00
|
|
|
"devDependencies": {
|
2017-07-24 08:45:00 +00:00
|
|
|
"autoprefixer": "^7.1.1",
|
2017-05-21 20:51:56 +00:00
|
|
|
"ava": "^0.19.1",
|
2017-07-27 08:05:02 +00:00
|
|
|
"babel-eslint": "^7.2.3",
|
2017-07-24 08:45:00 +00:00
|
|
|
"babel-loader": "^7.0.0",
|
2017-08-30 09:04:04 +00:00
|
|
|
"babel-plugin-add-filehash": "^6.9.4",
|
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-07-24 08:45:00 +00:00
|
|
|
"babel-plugin-transform-runtime": "^6.22.0",
|
|
|
|
"babel-polyfill": "^6.23.0",
|
|
|
|
"babel-preset-env": "^1.3.2",
|
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-05-21 20:51:56 +00:00
|
|
|
"chai": "^3.5.0",
|
2017-05-24 08:08:08 +00:00
|
|
|
"cloc": "^2.2.0",
|
2017-05-23 20:01:13 +00:00
|
|
|
"codecov": "^2.2.0",
|
2017-08-03 05:57:31 +00:00
|
|
|
"cross-env": "^5.0.2",
|
2017-07-24 08:45:00 +00:00
|
|
|
"css-loader": "^0.28.4",
|
2017-09-19 12:18:18 +00:00
|
|
|
"electron": "^1.8.0",
|
|
|
|
"electron-builder": "^19.28.4",
|
2017-05-23 14:19:25 +00:00
|
|
|
"env2": "^2.2.0",
|
2017-07-24 08:45:00 +00:00
|
|
|
"es6-promise": "^4.1.0",
|
2017-05-13 14:38:17 +00:00
|
|
|
"eslint-plugin-vue": "^2.0.1",
|
2017-07-24 08:45:00 +00:00
|
|
|
"eventsource-polyfill": "^0.9.6",
|
|
|
|
"extract-text-webpack-plugin": "^2.1.0",
|
|
|
|
"file-loader": "^0.11.2",
|
|
|
|
"friendly-errors-webpack-plugin": "^1.6.1",
|
|
|
|
"highlight.js": "^9.12.0",
|
|
|
|
"html-webpack-plugin": "^2.29.0",
|
2017-05-23 14:19:25 +00:00
|
|
|
"nightwatch": "^0.9.15",
|
2017-05-21 20:51:56 +00:00
|
|
|
"nyc": "^10.3.2",
|
2017-09-19 12:18:18 +00:00
|
|
|
"optimize-css-assets-webpack-plugin": "^3.2.0",
|
2017-05-08 13:52:42 +00:00
|
|
|
"pre-commit": "^1.2.2",
|
2017-08-03 05:57:31 +00:00
|
|
|
"pug": "^2.0.0-rc.3",
|
2017-09-19 12:18:18 +00:00
|
|
|
"rimraf": "^2.6.2",
|
2017-07-24 08:45:00 +00:00
|
|
|
"script-ext-html-webpack-plugin": "^1.8.5",
|
2017-05-23 14:19:25 +00:00
|
|
|
"selenium-download": "^2.0.10",
|
2017-07-27 09:04:14 +00:00
|
|
|
"snazzy": "^7.0.0",
|
2017-05-08 13:18:10 +00:00
|
|
|
"standard": "^10.0.2",
|
2017-07-24 08:45:00 +00:00
|
|
|
"style-loader": "^0.18.2",
|
2017-04-15 14:16:14 +00:00
|
|
|
"stylus": "^0.54.5",
|
|
|
|
"stylus-loader": "^3.0.1",
|
2017-07-24 08:45:00 +00:00
|
|
|
"sw-precache-webpack-plugin": "^0.11.4",
|
|
|
|
"url-loader": "^0.5.9",
|
|
|
|
"vue-devtools": "^3.1.2",
|
2017-09-19 12:18:18 +00:00
|
|
|
"vue-style-loader": "^3.0.3",
|
|
|
|
"vue-template-compiler": "^2.4.4",
|
|
|
|
"webpack": "^3.6.0",
|
2017-07-24 08:45:00 +00:00
|
|
|
"webpack-dev-middleware": "^1.11.0",
|
|
|
|
"webpack-hot-middleware": "^2.18.2",
|
|
|
|
"webpack-merge": "^4.1.0",
|
|
|
|
"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-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-06-18 23:12:38 +00:00
|
|
|
"**/openExternal.js",
|
|
|
|
"assets/serverStart.js"
|
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
|
|
|
}
|