{ "name": "KawAnime", "description": "Desktop app for anime fans", "version": "0.2.5", "main": "main.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 main.js", "start": "cross-env NODE_ENV=production electron main.js", "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", "test": "standard --fix && npm run test:front && npm run test:server", "coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov", "lint": "standard --fix --verbose --plugin vue '**/*.{js,vue}' | snazzy", "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 nightwatch.conf.js" }, "dependencies": { "axios": "^0.18.0", "buttercup": "^1.5.1", "chalk": "^2.4.1", "colors": "^1.1.2", "compression": "^1.7.2", "electron-devtools-installer": "^2.2.3", "electron-log": "^2.2.14", "electron-updater": "^2.21.3", "express": "^4.16.2", "horrible-api": "^1.1.1", "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.21.0", "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", "vue": "^2.5.13", "vue-clipboards": "^1.2.4", "vue-lazyload": "^1.2.1", "vue-markdown": "^2.2.4", "vue-router": "^3.0.1", "vue-server-renderer": "^2.5.13", "vuetify": "^1.0.17", "vuex": "^3.0.1", "vuex-router-sync": "^5.0.0", "webtorrent": "^0.99.3" }, "devDependencies": { "autoprefixer": "^8.4.1", "ava": "^0.25.0", "babel-core": "^6.26.3", "babel-eslint": "^8.2.2", "babel-loader": "^7.1.3", "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.1", "cross-env": "^5.1.3", "css-loader": "^0.28.10", "electron": "^2.0.0-beta.8", "electron-builder": "^20.10.0", "env2": "^2.2.0", "es6-promise": "^4.2.4", "eslint-plugin-vue": "^2.1.0", "eventsource-polyfill": "^0.9.6", "extract-text-webpack-plugin": "^2.1.2", "file-loader": "^1.1.11", "friendly-errors-webpack-plugin": "^1.6.1", "highlight.js": "^9.12.0", "html-webpack-plugin": "^3.1.0", "nightwatch": "^0.9.21", "nyc": "^11.7.1", "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", "script-ext-html-webpack-plugin": "^2.0.1", "selenium-download": "^2.0.12", "snazzy": "^7.1.1", "standard": "^10.0.3", "style-loader": "^0.20.3", "stylus": "^0.54.5", "stylus-loader": "^3.0.2", "sw-precache-webpack-plugin": "^0.11.4", "url-loader": "^1.0.1", "vue-loader": "^14.2.2", "vue-style-loader": "^4.1.0", "vue-template-compiler": "^2.5.13", "webpack": "^3.11.0", "webpack-dev-middleware": "^2.0.6", "webpack-hot-middleware": "^2.21.1", "webpack-merge": "^4.1.2", "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" } }, "standard": { "parser": "babel-eslint", "ignore": [ "test/front.test.js", "public" ] }, "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 ] } } }