KawAnime/package.json

193 lines
5.5 KiB
JSON

{
"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.7.1",
"chalk": "^2.4.1",
"colors": "^1.3.0",
"compression": "^1.7.3",
"electron-log": "^2.2.16",
"electron-updater": "^2.23.3",
"express": "^4.16.2",
"horrible-api": "^1.1.1",
"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.0.19",
"vuex": "^3.0.1",
"vuex-router-sync": "^5.0.0",
"webtorrent": "^0.99.3"
},
"devDependencies": {
"autoprefixer": "^8.6.5",
"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.10",
"electron": "^2.0.5",
"electron-builder": "^20.22.0",
"env2": "^2.2.2",
"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.9.0",
"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-devtools": "^3.1.9",
"vue-loader": "^14.2.3",
"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.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
}
},
"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
]
}
}
}