mirror of https://github.com/Kylart/KawAnime.git
128 lines
2.9 KiB
JSON
Executable File
128 lines
2.9 KiB
JSON
Executable File
{
|
|
"name": "KawAnime",
|
|
"version": "0.4.1",
|
|
"description": "A Software for Otaku Community.",
|
|
"main": "main.js",
|
|
"repository": "https://github.com/Kylart/KawAnime.git",
|
|
"author": {
|
|
"name": "Kylart",
|
|
"email": "tempMail@mail.com"
|
|
},
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"dev": "cross-env NODE_ENV=development electron .",
|
|
"dev:server": "node assets/serverStart.js",
|
|
"cloc": "cloc $(git ls-files | grep -vE \".mkv|mp4|lock\")",
|
|
"test:server": "nyc ava --verbose --serial test/server.test.js",
|
|
"test:front": "nightwatch",
|
|
"test": "standard --fix && npm test:front && npm test:server",
|
|
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
|
|
"build": "nuxt build",
|
|
"start": "electron .",
|
|
"bstart": "nuxt build && npm start",
|
|
"lint": "standard --fix --plugin vue '**/*.{js,vue}'",
|
|
"buildLinux": "build --linux deb AppImage zip tar.gz",
|
|
"buildWin": "build --win nsis --ia32 x64 appx zip squirrel",
|
|
"buildMac": "build --mac dmg zip pkg",
|
|
"buildAll": "nuxt build && npm run buildMac && npm run buildWin && npm run buildLinux && build --armv7l",
|
|
"postinstall": "node nightwatch.conf.js"
|
|
},
|
|
"dependencies": {
|
|
"axios": "^0.16.0",
|
|
"horrible-api": "^1.0.5",
|
|
"mal-scraper": "^1.4.1",
|
|
"nuxt": "^0.10.5",
|
|
"nyaapi": "^1.2.2",
|
|
"play-sound": "^1.1.1",
|
|
"url-parse": "^1.1.8",
|
|
"vuetify": "^0.11.1"
|
|
},
|
|
"devDependencies": {
|
|
"ava": "^0.19.1",
|
|
"babel-plugin-add-module-exports": "^0.2.1",
|
|
"babel-preset-es2015": "^6.24.1",
|
|
"chai": "^3.5.0",
|
|
"cloc": "^2.2.0",
|
|
"codecov": "^2.2.0",
|
|
"colors": "^1.1.2",
|
|
"cross-env": "^3.1.4",
|
|
"devtron": "^1.4.0",
|
|
"electron": "^1.6.6",
|
|
"electron-builder": "^17.1.1",
|
|
"env2": "^2.2.0",
|
|
"eslint-plugin-vue": "^2.0.1",
|
|
"nightwatch": "^0.9.15",
|
|
"nyc": "^10.3.2",
|
|
"pre-commit": "^1.2.2",
|
|
"selenium-download": "^2.0.10",
|
|
"standard": "^10.0.2",
|
|
"stylus": "^0.54.5",
|
|
"stylus-loader": "^3.0.1",
|
|
"vue-devtools": "^3.1.2"
|
|
},
|
|
"precommit": "lint",
|
|
"build": {
|
|
"appId": "KawAnime",
|
|
"dmg": {
|
|
"contents": [
|
|
{
|
|
"x": 150,
|
|
"y": 90
|
|
},
|
|
{
|
|
"x": 150,
|
|
"y": 275,
|
|
"type": "link",
|
|
"path": "/Applications"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"standard": {
|
|
"ignore": [
|
|
"test/front.test.js"
|
|
]
|
|
},
|
|
"ava": {
|
|
"require": [
|
|
"babel-register"
|
|
]
|
|
},
|
|
"babel": {
|
|
"presets": [
|
|
"es2015"
|
|
],
|
|
"plugins": [
|
|
"add-module-exports"
|
|
]
|
|
},
|
|
"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
|
|
]
|
|
}
|
|
}
|
|
}
|