mirror of https://github.com/Kylart/KawAnime.git
178 lines
5.1 KiB
JSON
178 lines
5.1 KiB
JSON
{
|
|
"name": "KawAnime",
|
|
"description": "Desktop app for anime fans",
|
|
"version": "0.1.2",
|
|
"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|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 test:front && npm 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"
|
|
},
|
|
"engines": {
|
|
"node": ">=7.0",
|
|
"npm": ">=4.0"
|
|
},
|
|
"dependencies": {
|
|
"animate.css": "^3.5.2",
|
|
"axios": "^0.16.2",
|
|
"babel-core": "^6.25.0",
|
|
"babel-plugin-transform-object-rest-spread": "^6.26.0",
|
|
"babel-runtime": "^6.25.0",
|
|
"chalk": "^2.0.1",
|
|
"colors": "^1.1.2",
|
|
"compression": "^1.7.1",
|
|
"electron-devtools-installer": "^2.2.0",
|
|
"electron-updater": "^2.10.1",
|
|
"express": "^4.16.1",
|
|
"horrible-api": "^1.0.5",
|
|
"lodash": "^4.17.4",
|
|
"lru-cache": "^4.0.2",
|
|
"mal-scraper": "^1.4.1",
|
|
"moment": "^2.18.1",
|
|
"nyaapi": "^1.2.2",
|
|
"progress-bar-webpack-plugin": "^1.10.0",
|
|
"randomstring": "^1.1.5",
|
|
"serve-favicon": "^2.4.5",
|
|
"vue": "^2.4.4",
|
|
"vue-clipboards": "^1.1.0",
|
|
"vue-lazyload": "^1.0.6",
|
|
"vue-loader": "^13.0.5",
|
|
"vue-markdown": "^2.2.4",
|
|
"vue-router": "^2.7.0",
|
|
"vue-server-renderer": "^2.4.4",
|
|
"vuetify": "^0.16.4",
|
|
"vuex": "^2.4.1",
|
|
"vuex-router-sync": "^4.3.2"
|
|
},
|
|
"devDependencies": {
|
|
"autoprefixer": "^7.1.1",
|
|
"ava": "^0.19.1",
|
|
"babel-eslint": "^7.2.3",
|
|
"babel-loader": "^7.0.0",
|
|
"babel-plugin-add-filehash": "^6.9.4",
|
|
"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-runtime": "^6.22.0",
|
|
"babel-polyfill": "^6.23.0",
|
|
"babel-preset-env": "^1.3.2",
|
|
"babel-preset-es2015": "^6.24.1",
|
|
"babel-preset-stage-2": "^6.22.0",
|
|
"babel-register": "^6.24.1",
|
|
"chai": "^3.5.0",
|
|
"cloc": "^2.2.0",
|
|
"codecov": "^2.2.0",
|
|
"cross-env": "^5.0.2",
|
|
"css-loader": "^0.28.4",
|
|
"electron": "^1.8.1",
|
|
"electron-builder": "^19.33.0",
|
|
"env2": "^2.2.0",
|
|
"es6-promise": "^4.1.0",
|
|
"eslint-plugin-vue": "^2.0.1",
|
|
"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",
|
|
"nightwatch": "^0.9.15",
|
|
"nyc": "^10.3.2",
|
|
"optimize-css-assets-webpack-plugin": "^3.2.0",
|
|
"pre-commit": "^1.2.2",
|
|
"pug": "^2.0.0-rc.3",
|
|
"rimraf": "^2.6.2",
|
|
"script-ext-html-webpack-plugin": "^1.8.5",
|
|
"selenium-download": "^2.0.10",
|
|
"snazzy": "^7.0.0",
|
|
"standard": "^10.0.2",
|
|
"style-loader": "^0.18.2",
|
|
"stylus": "^0.54.5",
|
|
"stylus-loader": "^3.0.1",
|
|
"sw-precache-webpack-plugin": "^0.11.4",
|
|
"url-loader": "^0.5.9",
|
|
"vue-devtools": "^3.1.2",
|
|
"vue-style-loader": "^3.0.3",
|
|
"vue-template-compiler": "^2.4.4",
|
|
"vuetify-loader": "^0.1.0",
|
|
"webpack": "^3.6.0",
|
|
"webpack-dev-middleware": "^1.11.0",
|
|
"webpack-hot-middleware": "^2.18.2",
|
|
"webpack-merge": "^4.1.0",
|
|
"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"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"standard": {
|
|
"parser": "babel-eslint",
|
|
"ignore": [
|
|
"test/front.test.js",
|
|
"public"
|
|
]
|
|
},
|
|
"nyc": {
|
|
"exclude": [
|
|
"test",
|
|
"nightwatch.conf.js",
|
|
"**/*.test.js",
|
|
"**/node_modules/**",
|
|
"**/openExternal.js",
|
|
"assets/serverStart.js"
|
|
],
|
|
"watermarks": {
|
|
"lines": [
|
|
80,
|
|
95
|
|
],
|
|
"functions": [
|
|
80,
|
|
95
|
|
],
|
|
"branches": [
|
|
80,
|
|
95
|
|
],
|
|
"statements": [
|
|
80,
|
|
95
|
|
]
|
|
}
|
|
}
|
|
}
|