2018-03-07 14:28:48 +01:00
|
|
|
{
|
2018-03-26 11:25:44 +02:00
|
|
|
"name": "Whalebird",
|
2019-02-25 11:55:21 +01:00
|
|
|
"version": "2.6.3",
|
2018-03-07 14:28:48 +01:00
|
|
|
"author": "AkiraFukushima <h3.poteto@gmail.com>",
|
2018-07-14 15:58:43 +02:00
|
|
|
"description": "An Electron based Mastodon client for Windows, Mac and Linux",
|
2018-03-22 08:55:58 +01:00
|
|
|
"license": "MIT",
|
2018-07-14 15:58:43 +02:00
|
|
|
"keywords": [
|
|
|
|
"mastodon",
|
|
|
|
"client",
|
|
|
|
"electron",
|
|
|
|
"vue"
|
|
|
|
],
|
2018-03-22 08:55:58 +01:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/h3poteto/whalebird-desktop.git"
|
|
|
|
},
|
2018-03-30 17:40:43 +02:00
|
|
|
"config": {
|
2019-02-25 11:55:21 +01:00
|
|
|
"buildVersion": "65",
|
|
|
|
"appVersion": "2.6.3"
|
2018-03-30 17:40:43 +02:00
|
|
|
},
|
2018-03-07 14:28:48 +01:00
|
|
|
"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",
|
2018-03-26 11:25:44 +02:00
|
|
|
"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",
|
2018-12-12 15:14:26 +01:00
|
|
|
"build:mas": "npm run build:clean && npm run pack && electron-packager ./ 'Whalebird' --platform=mas --arch=x64 --electron-version=3.0.10 --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",
|
2018-03-07 14:28:48 +01:00
|
|
|
"dev": "node .electron-vue/dev-runner.js",
|
|
|
|
"e2e": "npm run pack && mocha test/e2e",
|
2018-12-28 16:04:17 +01:00
|
|
|
"lint": "eslint --ext .js,.vue -f ./node_modules/eslint-friendly-formatter src spec",
|
2018-07-05 15:50:27 +02:00
|
|
|
"lint:fix": "eslint --ext .js,.vue -f ./node_modules/eslint-friendly-formatter --fix src test",
|
2018-07-05 15:33:51 +02:00
|
|
|
"stylelint": "stylelint '**/*.vue' --syntax scss",
|
2018-03-07 14:28:48 +01:00
|
|
|
"pack": "npm run pack:main && npm run pack:renderer",
|
2018-11-14 14:52:34 +01:00
|
|
|
"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",
|
2018-03-07 14:28:48 +01:00
|
|
|
"test": "npm run unit && npm run e2e",
|
|
|
|
"unit": "karma start test/unit/karma.conf.js",
|
2018-09-29 12:20:05 +02:00
|
|
|
"postinstall": "npm run lint:fix",
|
2018-12-30 07:27:46 +01:00
|
|
|
"spec": "NODE_ENV=test jest -u"
|
2018-03-07 14:28:48 +01:00
|
|
|
},
|
|
|
|
"build": {
|
2018-06-04 15:08:10 +02:00
|
|
|
"productName": "Whalebird",
|
2018-03-26 11:25:44 +02:00
|
|
|
"appId": "org.whalebird.desktop",
|
2019-01-02 15:07:29 +01:00
|
|
|
"artifactName": "${productName}-${version}-${os}.${ext}",
|
2018-03-07 14:28:48 +01:00
|
|
|
"directories": {
|
|
|
|
"output": "build"
|
|
|
|
},
|
2018-04-05 02:00:42 +02:00
|
|
|
"extraResources": [
|
2018-04-08 04:58:22 +02:00
|
|
|
"build/sounds/*"
|
2018-04-05 02:00:42 +02:00
|
|
|
],
|
2018-03-07 14:28:48 +01:00
|
|
|
"files": [
|
2018-03-27 05:17:55 +02:00
|
|
|
"dist/electron/**/*",
|
|
|
|
"build/icons/*"
|
2018-03-07 14:28:48 +01:00
|
|
|
],
|
|
|
|
"dmg": {
|
|
|
|
"contents": [
|
|
|
|
{
|
|
|
|
"x": 410,
|
|
|
|
"y": 150,
|
|
|
|
"type": "link",
|
|
|
|
"path": "/Applications"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"x": 130,
|
|
|
|
"y": 150,
|
|
|
|
"type": "file"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"mac": {
|
2018-03-26 11:25:44 +02:00
|
|
|
"icon": "build/icons/icon.icns",
|
2018-03-30 17:40:43 +02:00
|
|
|
"target": [
|
|
|
|
"dmg"
|
2018-03-31 14:43:52 +02:00
|
|
|
],
|
|
|
|
"category": "public.app-category.social-networking"
|
2018-03-07 14:28:48 +01:00
|
|
|
},
|
|
|
|
"win": {
|
2018-03-26 11:25:44 +02:00
|
|
|
"icon": "build/icons/icon.ico",
|
2018-04-08 04:58:22 +02:00
|
|
|
"target": "nsis"
|
2018-03-07 14:28:48 +01:00
|
|
|
},
|
2019-03-05 17:16:16 +01:00
|
|
|
"nsis": {
|
|
|
|
"oneClick": false,
|
|
|
|
"allowToChangeInstallationDirectory": true
|
|
|
|
},
|
2018-03-07 14:28:48 +01:00
|
|
|
"linux": {
|
2018-03-26 11:25:44 +02:00
|
|
|
"icon": "build/icons",
|
|
|
|
"target": [
|
|
|
|
"deb",
|
2018-05-05 10:34:40 +02:00
|
|
|
"rpm",
|
2019-01-02 15:07:29 +01:00
|
|
|
"snap",
|
|
|
|
"tar.bz2"
|
2018-03-31 14:43:52 +02:00
|
|
|
],
|
|
|
|
"category": "Network"
|
2018-03-07 14:28:48 +01:00
|
|
|
}
|
|
|
|
},
|
2018-12-28 16:04:17 +01:00
|
|
|
"jest": {
|
|
|
|
"moduleNameMapper": {
|
2018-12-30 16:03:36 +01:00
|
|
|
"@/router": "<rootDir>/spec/mock/router.js",
|
2018-12-28 16:04:17 +01:00
|
|
|
"^@/(.+)": "<rootDir>/src/renderer/$1",
|
|
|
|
"^~/(.+)": "<rootDir>/$1",
|
|
|
|
"electron": "<rootDir>/spec/mock/electron.js"
|
2018-12-29 07:38:29 +01:00
|
|
|
},
|
2018-12-30 06:59:53 +01:00
|
|
|
"testMatch": [
|
|
|
|
"**/spec/**/*.spec.js?(x)"
|
|
|
|
]
|
2018-12-28 16:04:17 +01:00
|
|
|
},
|
2018-03-07 14:28:48 +01:00
|
|
|
"dependencies": {
|
2018-11-16 01:44:21 +01:00
|
|
|
"@panter/vue-i18next": "^0.13.0",
|
2018-11-16 02:30:16 +01:00
|
|
|
"@trodi/electron-splashscreen": "^0.3.4",
|
2018-04-17 15:34:09 +02:00
|
|
|
"about-window": "^1.11.0",
|
2018-11-19 15:59:04 +01:00
|
|
|
"animate.css": "^3.7.0",
|
2018-03-13 11:18:02 +01:00
|
|
|
"axios": "^0.18.0",
|
2018-12-05 12:42:32 +01:00
|
|
|
"boom": "^7.3.0",
|
2018-12-07 15:31:40 +01:00
|
|
|
"deep-extend": "^0.6.0",
|
2018-11-16 02:30:16 +01:00
|
|
|
"electron-context-menu": "^0.10.1",
|
2018-12-05 12:42:32 +01:00
|
|
|
"electron-json-storage": "^4.1.5",
|
2018-11-16 02:30:16 +01:00
|
|
|
"electron-log": "^2.2.17",
|
2018-12-05 12:42:32 +01:00
|
|
|
"electron-window-state": "^5.0.3",
|
2018-11-21 17:18:38 +01:00
|
|
|
"element-ui": "^2.4.11",
|
2018-12-05 12:42:32 +01:00
|
|
|
"emoji-mart-vue": "^2.6.6",
|
2018-11-21 17:18:38 +01:00
|
|
|
"emojilib": "^2.4.0",
|
2018-12-05 12:42:32 +01:00
|
|
|
"hawk": "^7.0.10",
|
|
|
|
"hoek": "^6.1.2",
|
|
|
|
"i18next": "^12.1.0",
|
2018-08-10 01:47:29 +02:00
|
|
|
"i18next-sync-fs-backend": "^1.1.0",
|
2018-03-08 10:36:09 +01:00
|
|
|
"is-empty": "^1.2.0",
|
2018-11-19 15:59:04 +01:00
|
|
|
"lodash": "^4.17.11",
|
2019-02-23 13:03:32 +01:00
|
|
|
"megalodon": "0.5.0",
|
2018-03-12 12:04:30 +01:00
|
|
|
"moment": "^2.21.0",
|
2018-06-06 13:25:28 +02:00
|
|
|
"mousetrap": "^1.6.2",
|
2018-03-08 15:08:33 +01:00
|
|
|
"nedb": "^1.8.0",
|
2018-04-18 16:35:35 +02:00
|
|
|
"object-assign-deep": "^0.4.0",
|
2018-07-27 14:33:05 +02:00
|
|
|
"parse-link-header": "^1.0.1",
|
2018-05-15 12:46:59 +02:00
|
|
|
"rc": "^1.2.7",
|
2018-11-19 15:59:04 +01:00
|
|
|
"request": "^2.88.0",
|
2018-12-07 15:31:40 +01:00
|
|
|
"sanitize-html": "^1.19.3",
|
2018-04-05 02:00:42 +02:00
|
|
|
"simplayer": "0.0.8",
|
2018-09-29 12:20:05 +02:00
|
|
|
"system-font-families": "^0.4.1",
|
2018-05-15 12:46:59 +02:00
|
|
|
"tunnel-agent": "^0.6.0",
|
2018-11-16 15:07:57 +01:00
|
|
|
"vue": "^2.5.17",
|
|
|
|
"vue-awesome": "^3.2.0",
|
2018-11-02 15:58:34 +01:00
|
|
|
"vue-click-outside": "^1.0.7",
|
2018-03-07 14:28:48 +01:00
|
|
|
"vue-electron": "^1.0.6",
|
2018-11-16 15:07:57 +01:00
|
|
|
"vue-popperjs": "^1.6.1",
|
2018-12-05 12:42:32 +01:00
|
|
|
"vue-router": "^3.0.2",
|
2018-04-03 15:47:41 +02:00
|
|
|
"vue-shortkey": "^3.1.0",
|
2018-05-02 10:47:54 +02:00
|
|
|
"vuex": "^3.0.1",
|
2018-04-22 15:07:58 +02:00
|
|
|
"vuex-router-sync": "^5.0.0"
|
2018-03-07 14:28:48 +01:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2018-07-27 14:59:44 +02:00
|
|
|
"@mapbox/stylelint-processor-arbitrary-tags": "^0.2.0",
|
2018-12-30 06:59:53 +01:00
|
|
|
"@vue/test-utils": "^1.0.0-beta.28",
|
2018-12-05 12:42:32 +01:00
|
|
|
"ajv": "^6.6.1",
|
2018-11-12 15:54:39 +01:00
|
|
|
"babel-core": "^6.26.3",
|
2018-12-07 15:31:40 +01:00
|
|
|
"babel-eslint": "^10.0.1",
|
2018-12-28 16:04:17 +01:00
|
|
|
"babel-jest": "^23.6.0",
|
2018-11-12 15:54:39 +01:00
|
|
|
"babel-loader": "^7.1.4",
|
2018-07-27 14:59:44 +02:00
|
|
|
"babel-minify-webpack-plugin": "^0.3.1",
|
2018-12-07 15:31:40 +01:00
|
|
|
"babel-plugin-istanbul": "^5.1.0",
|
2018-03-07 14:28:48 +01:00
|
|
|
"babel-plugin-transform-runtime": "^6.23.0",
|
2018-11-12 15:54:39 +01:00
|
|
|
"babel-preset-env": "^1.7.0",
|
2018-03-07 14:28:48 +01:00
|
|
|
"babel-preset-stage-0": "^6.24.1",
|
2018-11-12 15:54:39 +01:00
|
|
|
"babel-register": "^6.26.0",
|
2018-11-21 17:18:38 +01:00
|
|
|
"cfonts": "^2.3.0",
|
2018-12-05 12:42:32 +01:00
|
|
|
"chai": "^4.2.0",
|
2018-11-12 15:54:39 +01:00
|
|
|
"chalk": "^2.4.1",
|
2018-11-21 17:18:38 +01:00
|
|
|
"copy-webpack-plugin": "^4.6.0",
|
2018-11-12 15:54:39 +01:00
|
|
|
"cross-env": "^5.1.6",
|
|
|
|
"css-loader": "^0.28.11",
|
2018-03-07 14:28:48 +01:00
|
|
|
"del": "^3.0.0",
|
|
|
|
"devtron": "^1.4.0",
|
2019-03-10 13:07:19 +01:00
|
|
|
"electron": "4.0.8",
|
2019-03-20 13:26:15 +01:00
|
|
|
"electron-builder": "^20.39.0",
|
2018-11-16 02:30:16 +01:00
|
|
|
"electron-debug": "^2.0.0",
|
2018-07-21 08:47:14 +02:00
|
|
|
"electron-devtools-installer": "^2.2.4",
|
2018-12-28 18:06:36 +01:00
|
|
|
"electron-ipc-mock": "0.0.3",
|
2018-11-14 14:52:34 +01:00
|
|
|
"electron-packager": "^12.2.0",
|
2018-12-05 12:42:32 +01:00
|
|
|
"eslint": "^5.9.0",
|
|
|
|
"eslint-config-standard": "^12.0.0",
|
2018-07-28 14:42:57 +02:00
|
|
|
"eslint-friendly-formatter": "^4.0.1",
|
2018-11-21 17:18:38 +01:00
|
|
|
"eslint-loader": "^2.1.1",
|
2018-12-05 12:42:32 +01:00
|
|
|
"eslint-plugin-html": "^4.0.6",
|
2018-11-21 17:18:38 +01:00
|
|
|
"eslint-plugin-import": "^2.14.0",
|
2018-12-07 15:31:40 +01:00
|
|
|
"eslint-plugin-node": "^8.0.0",
|
2018-12-05 15:02:37 +01:00
|
|
|
"eslint-plugin-promise": "^4.0.1",
|
|
|
|
"eslint-plugin-standard": "^4.0.0",
|
2018-12-05 12:42:32 +01:00
|
|
|
"file-loader": "^2.0.0",
|
2018-11-12 15:54:39 +01:00
|
|
|
"html-webpack-plugin": "^3.2.0",
|
2018-12-26 12:29:05 +01:00
|
|
|
"jest": "^23.6.0",
|
2018-12-07 15:31:40 +01:00
|
|
|
"jsdom": "^13.0.0",
|
2018-12-05 12:42:32 +01:00
|
|
|
"karma": "^3.1.3",
|
2018-03-07 14:28:48 +01:00
|
|
|
"karma-chai": "^0.1.0",
|
2018-05-11 11:47:38 +02:00
|
|
|
"karma-coverage": "^1.1.2",
|
2018-12-07 15:31:40 +01:00
|
|
|
"karma-electron": "^6.0.0",
|
2018-03-07 14:28:48 +01:00
|
|
|
"karma-mocha": "^1.2.0",
|
|
|
|
"karma-sourcemap-loader": "^0.3.7",
|
2018-12-05 12:42:32 +01:00
|
|
|
"karma-spec-reporter": "0.0.32",
|
2018-12-05 15:02:37 +01:00
|
|
|
"karma-webpack": "^4.0.0-rc.5",
|
2018-12-05 12:42:32 +01:00
|
|
|
"mini-css-extract-plugin": "^0.4.5",
|
2018-07-11 17:46:55 +02:00
|
|
|
"mocha": "^5.2.0",
|
2018-03-07 14:28:48 +01:00
|
|
|
"multispinner": "^0.2.1",
|
|
|
|
"node-loader": "^0.6.0",
|
2018-11-19 15:59:04 +01:00
|
|
|
"node-sass": "^4.10.0",
|
2018-12-28 16:04:17 +01:00
|
|
|
"regenerator-runtime": "^0.13.1",
|
2018-11-12 15:54:39 +01:00
|
|
|
"sass-loader": "^7.0.3",
|
2018-12-05 12:42:32 +01:00
|
|
|
"style-loader": "^0.23.1",
|
|
|
|
"stylelint": "^9.9.0",
|
2018-07-05 15:33:51 +02:00
|
|
|
"stylelint-config-standard": "^18.2.0",
|
2019-03-20 01:45:28 +01:00
|
|
|
"ttfinfo": "^0.2.0",
|
2018-11-19 15:59:04 +01:00
|
|
|
"url-loader": "^1.1.2",
|
2018-03-07 14:28:48 +01:00
|
|
|
"vue-html-loader": "^1.2.4",
|
2018-11-12 15:54:39 +01:00
|
|
|
"vue-loader": "^15.2.4",
|
|
|
|
"vue-style-loader": "^4.1.0",
|
2018-11-16 15:07:57 +01:00
|
|
|
"vue-template-compiler": "^2.5.17",
|
2018-12-07 16:42:50 +01:00
|
|
|
"webpack": "^4.27.1",
|
2018-11-14 14:52:34 +01:00
|
|
|
"webpack-cli": "^3.1.2",
|
2018-11-12 15:54:39 +01:00
|
|
|
"webpack-dev-server": "^3.1.4",
|
2018-12-05 12:42:32 +01:00
|
|
|
"webpack-hot-middleware": "^2.24.3",
|
2018-11-21 17:18:38 +01:00
|
|
|
"webpack-merge": "^4.1.4"
|
2018-03-07 14:28:48 +01:00
|
|
|
}
|
|
|
|
}
|