2018-03-07 14:28:48 +01:00
|
|
|
{
|
2018-03-26 11:25:44 +02:00
|
|
|
"name": "Whalebird",
|
2021-01-13 14:53:34 +01:00
|
|
|
"version": "4.3.2",
|
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": {
|
2021-01-13 14:53:34 +01:00
|
|
|
"buildVersion": "105",
|
|
|
|
"appVersion": "4.3.2"
|
2018-03-30 17:40:43 +02:00
|
|
|
},
|
2018-03-07 14:28:48 +01:00
|
|
|
"main": "./dist/electron/main.js",
|
|
|
|
"scripts": {
|
|
|
|
"dev": "node .electron-vue/dev-runner.js",
|
2019-04-03 15:15:46 +02:00
|
|
|
"lint": "eslint --ext .js,.vue,.ts -f ./node_modules/eslint-friendly-formatter src spec",
|
2019-07-08 15:32:48 +02:00
|
|
|
"lint:fix": "eslint --ext .js,.vue,.ts -f ./node_modules/eslint-friendly-formatter --fix src spec",
|
2018-07-05 15:33:51 +02:00
|
|
|
"stylelint": "stylelint '**/*.vue' --syntax scss",
|
2019-04-24 14:25:11 +02:00
|
|
|
"build": "node .electron-vue/build.js",
|
|
|
|
"build:clean": "cross-env BUILD_TARGET=clean node .electron-vue/build.js",
|
|
|
|
"build:web": "cross-env BUILD_TARGET=web node .electron-vue/build.js",
|
2020-09-13 10:13:22 +02:00
|
|
|
"build:mac": "yarn run build && yarn run package:mac",
|
|
|
|
"build:linux": "yarn run build && yarn run package:linux",
|
|
|
|
"build:win32": "yarn run build && yarn run package:win32",
|
|
|
|
"build:win64": "yarn run build && yarn run package:win64",
|
2021-01-13 14:53:34 +01:00
|
|
|
"build:mas": "yarn run build:clean && yarn run pack && electron-packager ./ 'Whalebird' --platform=mas --arch=x64 --electron-version=11.2.0 --asar.unpackDir='build/sounds' --out=packages --ignore='^/src' --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",
|
2019-04-24 14:25:11 +02:00
|
|
|
"package:mac": "electron-builder --mac --x64",
|
|
|
|
"package:linux": "electron-builder --linux",
|
|
|
|
"package:win32": "electron-builder --win --ia32",
|
|
|
|
"package:win64": "electron-builder --win --x64",
|
2020-09-13 10:13:22 +02:00
|
|
|
"pack": "yarn run pack:main && yarn run pack:renderer",
|
2020-12-02 14:46:13 +01:00
|
|
|
"pack:main": "cross-env NODE_ENV=production webpack --mode production --progress --config .electron-vue/webpack.main.config.js",
|
|
|
|
"pack:renderer": "cross-env NODE_ENV=production webpack --mode production --progress --config .electron-vue/webpack.renderer.config.js",
|
2020-09-13 10:13:22 +02:00
|
|
|
"postinstall": "yarn run lint:fix",
|
2019-04-02 16:49:55 +02:00
|
|
|
"spec": "NODE_ENV=test jest -u --maxWorkers=3"
|
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-04-23 16:30:39 +02:00
|
|
|
"artifactName": "${productName}-${version}-${os}-${arch}.${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",
|
2019-04-24 02:07:50 +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": [
|
2019-11-07 15:55:32 +01:00
|
|
|
{
|
|
|
|
"target": "AppImage",
|
|
|
|
"arch": [
|
|
|
|
"x64"
|
|
|
|
]
|
|
|
|
},
|
2019-04-23 16:30:39 +02:00
|
|
|
{
|
|
|
|
"target": "deb",
|
|
|
|
"arch": [
|
|
|
|
"x64",
|
|
|
|
"ia32"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"target": "rpm",
|
|
|
|
"arch": [
|
|
|
|
"x64",
|
|
|
|
"ia32"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"target": "tar.bz2",
|
|
|
|
"arch": [
|
|
|
|
"x64",
|
2019-05-27 17:48:20 +02:00
|
|
|
"ia32",
|
|
|
|
"armv7l",
|
|
|
|
"arm64"
|
2019-04-23 16:30:39 +02:00
|
|
|
]
|
|
|
|
},
|
2019-09-18 15:35:31 +02:00
|
|
|
{
|
|
|
|
"target": "pacman",
|
|
|
|
"arch": [
|
|
|
|
"x64",
|
|
|
|
"ia32"
|
|
|
|
]
|
|
|
|
},
|
2019-04-23 16:30:39 +02:00
|
|
|
{
|
|
|
|
"target": "snap",
|
|
|
|
"arch": [
|
|
|
|
"x64"
|
|
|
|
]
|
|
|
|
}
|
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": {
|
2019-03-25 13:51:24 +01:00
|
|
|
"moduleFileExtensions": [
|
|
|
|
"ts",
|
2019-08-07 16:12:27 +02:00
|
|
|
"js",
|
|
|
|
"json"
|
2019-03-25 13:51:24 +01:00
|
|
|
],
|
2018-12-28 16:04:17 +01:00
|
|
|
"moduleNameMapper": {
|
2019-03-25 13:51:24 +01:00
|
|
|
"@/router": "<rootDir>/spec/mock/router.ts",
|
2018-12-28 16:04:17 +01:00
|
|
|
"^@/(.+)": "<rootDir>/src/renderer/$1",
|
2019-12-04 15:09:11 +01:00
|
|
|
"^~/(.+)": "<rootDir>/$1"
|
2018-12-29 07:38:29 +01:00
|
|
|
},
|
2018-12-30 06:59:53 +01:00
|
|
|
"testMatch": [
|
2019-03-25 13:51:24 +01:00
|
|
|
"**/spec/**/*.spec.ts"
|
|
|
|
],
|
2019-03-25 15:50:11 +01:00
|
|
|
"preset": "ts-jest/presets/js-with-ts",
|
|
|
|
"transform": {
|
|
|
|
"^.+\\.(js|jsx)$": "babel-jest",
|
|
|
|
"^.+\\.(ts|tsx)$": "ts-jest"
|
|
|
|
},
|
2019-04-02 16:49:55 +02:00
|
|
|
"setupFiles": [
|
|
|
|
"core-js"
|
|
|
|
],
|
2019-03-25 13:51:24 +01:00
|
|
|
"globals": {
|
|
|
|
"ts-jest": {
|
|
|
|
"tsConfig": "tsconfig.json"
|
|
|
|
}
|
|
|
|
}
|
2018-12-28 16:04:17 +01:00
|
|
|
},
|
2018-03-07 14:28:48 +01:00
|
|
|
"dependencies": {
|
2020-06-01 12:05:46 +02:00
|
|
|
"@panter/vue-i18next": "^0.15.2",
|
2020-02-06 09:22:06 +01:00
|
|
|
"@trodi/electron-splashscreen": "^1.0.0",
|
2020-06-11 11:45:47 +02:00
|
|
|
"about-window": "^1.13.4",
|
2020-06-10 16:50:32 +02:00
|
|
|
"animate.css": "^4.1.0",
|
2019-09-23 12:31:25 +02:00
|
|
|
"auto-launch": "^5.0.5",
|
2021-01-04 22:52:17 +01:00
|
|
|
"axios": "^0.21.1",
|
2020-07-31 15:22:17 +02:00
|
|
|
"blueimp-load-image": "^5.14.0",
|
2018-12-07 15:31:40 +01:00
|
|
|
"deep-extend": "^0.6.0",
|
2020-08-10 11:44:19 +02:00
|
|
|
"electron-context-menu": "^2.3.0",
|
2020-11-30 07:53:04 +01:00
|
|
|
"electron-json-storage": "^4.3.0",
|
2020-11-30 14:39:15 +01:00
|
|
|
"electron-log": "^4.3.0",
|
2018-12-05 12:42:32 +01:00
|
|
|
"electron-window-state": "^5.0.3",
|
2020-11-28 13:55:22 +01:00
|
|
|
"element-ui": "2.14.1",
|
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",
|
2020-11-30 07:54:57 +01:00
|
|
|
"i18next": "^19.8.4",
|
2020-08-31 07:02:37 +02:00
|
|
|
"lodash": "^4.17.20",
|
2020-10-27 05:37:39 +01:00
|
|
|
"megalodon": "3.3.2",
|
2020-10-27 13:33:56 +01:00
|
|
|
"moment": "^2.29.1",
|
2020-03-19 15:33:09 +01:00
|
|
|
"mousetrap": "^1.6.5",
|
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",
|
2021-01-13 14:02:39 +01:00
|
|
|
"sanitize-html": "^2.3.0",
|
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",
|
2019-12-28 17:17:23 +01:00
|
|
|
"vue": "^2.6.11",
|
2020-07-20 11:57:06 +02:00
|
|
|
"vue-awesome": "^4.1.0",
|
2020-04-17 10:39:06 +02:00
|
|
|
"vue-click-outside": "^1.1.0",
|
2018-03-07 14:28:48 +01:00
|
|
|
"vue-electron": "^1.0.6",
|
2020-04-30 11:02:40 +02:00
|
|
|
"vue-popperjs": "^2.3.0",
|
2020-06-18 16:35:51 +02:00
|
|
|
"vue-resize": "^0.5.0",
|
2020-11-30 07:52:26 +01:00
|
|
|
"vue-router": "^3.4.9",
|
2020-01-07 09:24:42 +01:00
|
|
|
"vue-shortkey": "^3.1.7",
|
2020-10-14 18:01:55 +02:00
|
|
|
"vue-virtual-scroller": "^1.0.10",
|
2020-11-30 14:41:23 +01:00
|
|
|
"vuex": "^3.6.0",
|
2018-04-22 15:07:58 +02:00
|
|
|
"vuex-router-sync": "^5.0.0"
|
2018-03-07 14:28:48 +01:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2020-11-28 15:05:01 +01:00
|
|
|
"@babel/core": "^7.12.9",
|
2020-11-28 14:27:17 +01:00
|
|
|
"@babel/plugin-proposal-class-properties": "^7.12.1",
|
2020-10-28 11:39:52 +01:00
|
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.12.1",
|
2020-10-29 00:49:27 +01:00
|
|
|
"@babel/plugin-transform-runtime": "^7.12.1",
|
2020-11-28 14:46:15 +01:00
|
|
|
"@babel/preset-env": "^7.12.7",
|
2020-11-28 14:27:26 +01:00
|
|
|
"@babel/runtime": "7.12.5",
|
2020-01-13 10:08:56 +01:00
|
|
|
"@mapbox/stylelint-processor-arbitrary-tags": "^0.3.0",
|
2019-09-23 12:31:25 +02:00
|
|
|
"@types/auto-launch": "^5.0.1",
|
2019-04-16 15:35:46 +02:00
|
|
|
"@types/electron-json-storage": "^4.0.0",
|
2019-12-04 15:26:12 +01:00
|
|
|
"@types/i18next": "^13.0.0",
|
2021-01-08 08:39:33 +01:00
|
|
|
"@types/jest": "26.0.20",
|
2020-11-28 14:26:52 +01:00
|
|
|
"@types/lodash": "^4.14.165",
|
2020-07-13 11:49:05 +02:00
|
|
|
"@types/nedb": "^1.8.10",
|
2020-11-28 14:46:49 +01:00
|
|
|
"@types/node": "^14.14.10",
|
2019-04-14 15:51:28 +02:00
|
|
|
"@types/parse-link-header": "^1.0.0",
|
2020-08-31 07:38:39 +02:00
|
|
|
"@typescript-eslint/eslint-plugin": "^3.10.1",
|
2020-08-26 07:07:06 +02:00
|
|
|
"@typescript-eslint/parser": "^3.10.1",
|
2021-01-12 08:07:57 +01:00
|
|
|
"@typescript-eslint/typescript-estree": "^4.13.0",
|
2020-11-30 07:59:17 +01:00
|
|
|
"@vue/test-utils": "^1.1.1",
|
2020-10-28 11:38:48 +01:00
|
|
|
"ajv": "^6.12.6",
|
2020-01-15 07:29:25 +01:00
|
|
|
"all-object-keys": "^2.1.1",
|
2020-03-30 15:33:09 +02:00
|
|
|
"babel-eslint": "^10.1.0",
|
2021-01-13 14:02:35 +01:00
|
|
|
"babel-jest": "^26.6.3",
|
2020-11-30 07:51:32 +01:00
|
|
|
"babel-loader": "^8.2.2",
|
2020-02-06 09:24:14 +01:00
|
|
|
"babel-plugin-istanbul": "^6.0.0",
|
2018-11-12 15:54:39 +01:00
|
|
|
"babel-register": "^6.26.0",
|
2020-07-17 11:06:40 +02:00
|
|
|
"cfonts": "^2.8.6",
|
2018-12-05 12:42:32 +01:00
|
|
|
"chai": "^4.2.0",
|
2020-06-11 11:29:37 +02:00
|
|
|
"chalk": "^4.1.0",
|
2021-01-13 14:02:44 +01:00
|
|
|
"copy-webpack-plugin": "^6.4.1",
|
2021-01-13 14:18:11 +01:00
|
|
|
"core-js": "^3.8.2",
|
2021-01-13 14:11:48 +01:00
|
|
|
"cross-env": "^7.0.3",
|
2020-12-01 07:59:15 +01:00
|
|
|
"css-loader": "^5.0.1",
|
2020-09-28 14:55:54 +02:00
|
|
|
"del": "^6.0.0",
|
2018-03-07 14:28:48 +01:00
|
|
|
"devtron": "^1.4.0",
|
2021-01-13 14:25:43 +01:00
|
|
|
"electron": "11.2.0",
|
2020-10-29 01:17:13 +01:00
|
|
|
"electron-builder": "^22.9.1",
|
2020-06-09 15:34:39 +02:00
|
|
|
"electron-debug": "^3.1.0",
|
2020-07-17 11:08:03 +02:00
|
|
|
"electron-devtools-installer": "^3.1.1",
|
2020-11-30 14:30:06 +01:00
|
|
|
"electron-mock-ipc": "^0.3.9",
|
2020-12-07 07:43:22 +01:00
|
|
|
"electron-packager": "^15.2.0",
|
2021-01-13 14:18:11 +01:00
|
|
|
"eslint": "^7.17.0",
|
2021-01-13 14:03:23 +01:00
|
|
|
"eslint-config-prettier": "^7.1.0",
|
2020-11-18 07:47:47 +01:00
|
|
|
"eslint-config-standard": "^16.0.2",
|
2018-07-28 14:42:57 +02:00
|
|
|
"eslint-friendly-formatter": "^4.0.1",
|
2020-05-21 10:58:57 +02:00
|
|
|
"eslint-loader": "^4.0.2",
|
2020-12-01 07:56:11 +01:00
|
|
|
"eslint-plugin-html": "^6.1.1",
|
2020-09-28 14:55:21 +02:00
|
|
|
"eslint-plugin-import": "^2.22.1",
|
2020-04-29 16:03:44 +02:00
|
|
|
"eslint-plugin-node": "^11.1.0",
|
2021-01-13 14:12:44 +01:00
|
|
|
"eslint-plugin-prettier": "^3.3.1",
|
2020-03-25 15:05:29 +01:00
|
|
|
"eslint-plugin-promise": "^4.2.1",
|
2020-11-28 14:27:14 +01:00
|
|
|
"eslint-plugin-standard": "^5.0.0",
|
2021-01-13 14:02:20 +01:00
|
|
|
"eslint-plugin-vue": "^7.4.1",
|
2020-10-29 01:24:16 +01:00
|
|
|
"file-loader": "^6.2.0",
|
2021-01-14 07:59:39 +01:00
|
|
|
"html-webpack-plugin": "^4.5.1",
|
2020-12-02 14:56:02 +01:00
|
|
|
"jest": "^26.6.3",
|
2020-08-10 11:41:35 +02:00
|
|
|
"jsdom": "^16.4.0",
|
2019-11-26 16:29:02 +01:00
|
|
|
"json-loader": "^0.5.7",
|
2019-09-17 13:41:12 +02:00
|
|
|
"listr": "^0.14.3",
|
2020-12-11 07:57:06 +01:00
|
|
|
"mini-css-extract-plugin": "^1.3.3",
|
2020-10-29 17:19:13 +01:00
|
|
|
"node-loader": "^1.0.2",
|
2020-11-30 15:05:38 +01:00
|
|
|
"node-sass": "^5.0.0",
|
2020-11-30 14:36:16 +01:00
|
|
|
"prettier": "^2.2.1",
|
2019-06-05 15:23:48 +02:00
|
|
|
"prettier-stylelint": "^0.4.2",
|
2020-07-31 13:31:53 +02:00
|
|
|
"regenerator-runtime": "^0.13.7",
|
2020-11-12 07:55:59 +01:00
|
|
|
"sass-loader": "^10.1.0",
|
2020-10-27 13:35:19 +01:00
|
|
|
"style-loader": "^2.0.0",
|
2020-11-30 07:51:10 +01:00
|
|
|
"stylelint": "^13.8.0",
|
2020-05-18 11:42:23 +02:00
|
|
|
"stylelint-config-standard": "^20.0.0",
|
2020-11-30 14:37:40 +01:00
|
|
|
"ts-jest": "^26.4.4",
|
2020-11-28 14:26:36 +01:00
|
|
|
"ts-loader": "^8.0.11",
|
2019-03-20 01:45:28 +01:00
|
|
|
"ttfinfo": "^0.2.0",
|
2021-01-13 14:18:44 +01:00
|
|
|
"typescript": "^4.1.3",
|
2020-10-29 00:48:42 +01:00
|
|
|
"url-loader": "^4.1.1",
|
2018-03-07 14:28:48 +01:00
|
|
|
"vue-html-loader": "^1.2.4",
|
2020-11-28 14:26:49 +01:00
|
|
|
"vue-loader": "^15.9.5",
|
2018-11-12 15:54:39 +01:00
|
|
|
"vue-style-loader": "^4.1.0",
|
2019-12-28 17:17:23 +01:00
|
|
|
"vue-template-compiler": "^2.6.11",
|
2020-11-30 15:46:58 +01:00
|
|
|
"webpack": "^4.44.2",
|
2020-11-28 14:27:16 +01:00
|
|
|
"webpack-cli": "^4.2.0",
|
2020-06-01 12:07:45 +02:00
|
|
|
"webpack-dev-server": "^3.11.0",
|
2019-11-01 15:20:37 +01:00
|
|
|
"webpack-hot-middleware": "^2.25.0",
|
2020-11-30 07:59:07 +01:00
|
|
|
"webpack-merge": "^5.4.0"
|
2018-03-07 14:28:48 +01:00
|
|
|
}
|
|
|
|
}
|