202 lines
6.7 KiB
JSON
202 lines
6.7 KiB
JSON
{
|
|
"name": "Whalebird",
|
|
"version": "2.6.0",
|
|
"author": "AkiraFukushima <h3.poteto@gmail.com>",
|
|
"description": "An Electron based Mastodon client for Windows, Mac and Linux",
|
|
"license": "MIT",
|
|
"keywords": [
|
|
"mastodon",
|
|
"client",
|
|
"electron",
|
|
"vue"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/h3poteto/whalebird-desktop.git"
|
|
},
|
|
"config": {
|
|
"buildVersion": "62",
|
|
"appVersion": "2.6.0"
|
|
},
|
|
"main": "./dist/electron/main.js",
|
|
"scripts": {
|
|
"build": "node .electron-vue/build.js && electron-builder",
|
|
"build:dir": "node .electron-vue/build.js && electron-builder --dir",
|
|
"build:clean": "cross-env BUILD_TARGET=clean node .electron-vue/build.js",
|
|
"build:web": "cross-env BUILD_TARGET=web node .electron-vue/build.js",
|
|
"build:mac": "node .electron-vue/build.js && electron-builder --mac --x64",
|
|
"build:linux": "node .electron-vue/build.js && electron-builder --linux --x64",
|
|
"build:windows": "node .electron-vue/build.js && electron-builder --win --x64",
|
|
"build:mas": "npm run build:clean && npm run pack && electron-packager ./ 'Whalebird' --platform=mas --arch=x64 --electron-version=3.0.8 --asar.unpackDir='build/sounds' --out=packages --ignore='^/src' --ignore='^/test' --ignore='^/.electron-vue' --ignore='^/.envrc' --ignore='^/packages' --ignore='^/plist' --ignore='^/static' --ignore='^/whalebird.db' --ignore='^/screenshot.png' --prune=true --icon=./build/icons/icon.icns --overwrite --app-bundle-id=org.whalebird.desktop --app-version=$npm_package_config_appVersion --build-version=$npm_package_config_buildVersion --extend-info='./plist/team.plist' --osx-sign --app-category-type=public.app-category.social-networking",
|
|
"dev": "node .electron-vue/dev-runner.js",
|
|
"e2e": "npm run pack && mocha test/e2e",
|
|
"lint": "eslint --ext .js,.vue -f ./node_modules/eslint-friendly-formatter src test",
|
|
"lint:fix": "eslint --ext .js,.vue -f ./node_modules/eslint-friendly-formatter --fix src test",
|
|
"stylelint": "stylelint '**/*.vue' --syntax scss",
|
|
"pack": "npm run pack:main && npm run pack:renderer",
|
|
"pack:main": "cross-env NODE_ENV=production webpack --mode production --progress --colors --config .electron-vue/webpack.main.config.js",
|
|
"pack:renderer": "cross-env NODE_ENV=production webpack --mode production --progress --colors --config .electron-vue/webpack.renderer.config.js",
|
|
"test": "npm run unit && npm run e2e",
|
|
"unit": "karma start test/unit/karma.conf.js",
|
|
"postinstall": "npm run lint:fix",
|
|
"mocha": "BABEL_ENV=test mocha --require babel-register --recursive ./test/mocha/**/*.js"
|
|
},
|
|
"build": {
|
|
"productName": "Whalebird",
|
|
"appId": "org.whalebird.desktop",
|
|
"directories": {
|
|
"output": "build"
|
|
},
|
|
"extraResources": [
|
|
"build/sounds/*"
|
|
],
|
|
"files": [
|
|
"dist/electron/**/*",
|
|
"build/icons/*"
|
|
],
|
|
"dmg": {
|
|
"contents": [
|
|
{
|
|
"x": 410,
|
|
"y": 150,
|
|
"type": "link",
|
|
"path": "/Applications"
|
|
},
|
|
{
|
|
"x": 130,
|
|
"y": 150,
|
|
"type": "file"
|
|
}
|
|
]
|
|
},
|
|
"mac": {
|
|
"icon": "build/icons/icon.icns",
|
|
"target": [
|
|
"dmg"
|
|
],
|
|
"category": "public.app-category.social-networking"
|
|
},
|
|
"win": {
|
|
"icon": "build/icons/icon.ico",
|
|
"target": "nsis"
|
|
},
|
|
"linux": {
|
|
"icon": "build/icons",
|
|
"target": [
|
|
"deb",
|
|
"rpm",
|
|
"snap"
|
|
],
|
|
"category": "Network"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@panter/vue-i18next": "^0.13.0",
|
|
"@trodi/electron-splashscreen": "^0.3.4",
|
|
"about-window": "^1.11.0",
|
|
"animate.css": "^3.7.0",
|
|
"axios": "^0.18.0",
|
|
"boom": "^7.3.0",
|
|
"deep-extend": "^0.5.1",
|
|
"electron-context-menu": "^0.10.1",
|
|
"electron-json-storage": "^4.1.5",
|
|
"electron-log": "^2.2.17",
|
|
"electron-window-state": "^5.0.3",
|
|
"element-ui": "^2.4.11",
|
|
"emoji-mart-vue": "^2.6.6",
|
|
"emojilib": "^2.4.0",
|
|
"hawk": "^7.0.10",
|
|
"hoek": "^6.1.2",
|
|
"i18next": "^12.1.0",
|
|
"i18next-sync-fs-backend": "^1.1.0",
|
|
"is-empty": "^1.2.0",
|
|
"lodash": "^4.17.11",
|
|
"megalodon": "0.4.5",
|
|
"moment": "^2.21.0",
|
|
"mousetrap": "^1.6.2",
|
|
"nedb": "^1.8.0",
|
|
"object-assign-deep": "^0.4.0",
|
|
"parse-link-header": "^1.0.1",
|
|
"rc": "^1.2.7",
|
|
"request": "^2.88.0",
|
|
"sanitize-html": "^1.19.2",
|
|
"simplayer": "0.0.8",
|
|
"system-font-families": "^0.4.1",
|
|
"tunnel-agent": "^0.6.0",
|
|
"vue": "^2.5.17",
|
|
"vue-awesome": "^3.2.0",
|
|
"vue-click-outside": "^1.0.7",
|
|
"vue-electron": "^1.0.6",
|
|
"vue-popperjs": "^1.6.1",
|
|
"vue-router": "^3.0.2",
|
|
"vue-shortkey": "^3.1.0",
|
|
"vuex": "^3.0.1",
|
|
"vuex-router-sync": "^5.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@mapbox/stylelint-processor-arbitrary-tags": "^0.2.0",
|
|
"ajv": "^6.6.1",
|
|
"babel-core": "^6.26.3",
|
|
"babel-eslint": "^8.2.6",
|
|
"babel-loader": "^7.1.4",
|
|
"babel-minify-webpack-plugin": "^0.3.1",
|
|
"babel-plugin-istanbul": "^4.1.1",
|
|
"babel-plugin-transform-runtime": "^6.23.0",
|
|
"babel-preset-env": "^1.7.0",
|
|
"babel-preset-stage-0": "^6.24.1",
|
|
"babel-register": "^6.26.0",
|
|
"cfonts": "^2.3.0",
|
|
"chai": "^4.2.0",
|
|
"chalk": "^2.4.1",
|
|
"copy-webpack-plugin": "^4.6.0",
|
|
"cross-env": "^5.1.6",
|
|
"css-loader": "^0.28.11",
|
|
"del": "^3.0.0",
|
|
"devtron": "^1.4.0",
|
|
"electron": "3.0.10",
|
|
"electron-builder": "^20.38.2",
|
|
"electron-debug": "^2.0.0",
|
|
"electron-devtools-installer": "^2.2.4",
|
|
"electron-packager": "^12.2.0",
|
|
"eslint": "^5.9.0",
|
|
"eslint-config-standard": "^12.0.0",
|
|
"eslint-friendly-formatter": "^4.0.1",
|
|
"eslint-loader": "^2.1.1",
|
|
"eslint-plugin-html": "^4.0.6",
|
|
"eslint-plugin-import": "^2.14.0",
|
|
"eslint-plugin-node": "^7.0.1",
|
|
"eslint-plugin-promise": "^4.0.1",
|
|
"eslint-plugin-standard": "^4.0.0",
|
|
"file-loader": "^2.0.0",
|
|
"html-webpack-plugin": "^3.2.0",
|
|
"jsdom": "^12.2.0",
|
|
"karma": "^3.1.3",
|
|
"karma-chai": "^0.1.0",
|
|
"karma-coverage": "^1.1.2",
|
|
"karma-electron": "^5.1.1",
|
|
"karma-mocha": "^1.2.0",
|
|
"karma-sourcemap-loader": "^0.3.7",
|
|
"karma-spec-reporter": "0.0.32",
|
|
"karma-webpack": "^4.0.0-rc.5",
|
|
"mini-css-extract-plugin": "^0.4.5",
|
|
"mocha": "^5.2.0",
|
|
"multispinner": "^0.2.1",
|
|
"node-loader": "^0.6.0",
|
|
"node-sass": "^4.10.0",
|
|
"sass-loader": "^7.0.3",
|
|
"style-loader": "^0.23.1",
|
|
"stylelint": "^9.9.0",
|
|
"stylelint-config-standard": "^18.2.0",
|
|
"url-loader": "^1.1.2",
|
|
"vue-html-loader": "^1.2.4",
|
|
"vue-loader": "^15.2.4",
|
|
"vue-style-loader": "^4.1.0",
|
|
"vue-template-compiler": "^2.5.17",
|
|
"webpack": "^4.27.0",
|
|
"webpack-cli": "^3.1.2",
|
|
"webpack-dev-server": "^3.1.4",
|
|
"webpack-hot-middleware": "^2.24.3",
|
|
"webpack-merge": "^4.1.4"
|
|
}
|
|
}
|