2018-03-07 14:28:48 +01:00
|
|
|
{
|
2018-03-26 11:25:44 +02:00
|
|
|
"name": "Whalebird",
|
2022-01-04 06:53:59 +01:00
|
|
|
"version": "4.5.0",
|
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": {
|
2022-01-04 07:10:34 +01:00
|
|
|
"buildVersion": "116",
|
2022-01-04 06:53:59 +01:00
|
|
|
"appVersion": "4.5.0"
|
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",
|
2021-12-25 17:33:02 +01:00
|
|
|
"stylelint": "stylelint '**/*.vue'",
|
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",
|
2021-12-30 03:26:30 +01:00
|
|
|
"build:mas": "yarn run build:clean && yarn run pack && electron-packager ./ 'Whalebird' --platform=mas --arch=x64 --arch=arm64 --electron-version=16.0.4 --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' --app-category-type=public.app-category.social-networking && node ./packages/universal.js",
|
2022-01-03 15:15:59 +01:00
|
|
|
"package:mac": "electron-builder --mac --publish never --config electron-builder.json",
|
|
|
|
"package:linux": "electron-builder --linux --publish never --config electron-builder.json",
|
|
|
|
"package:win32": "electron-builder --win --ia32 --publish never --config electron-builder.json",
|
|
|
|
"package:win64": "electron-builder --win --x64 --publish never --config electron-builder.json",
|
2022-01-04 03:04:02 +01:00
|
|
|
"package:pacman": "electron-builder --linux pacman --publish never --config electron-builder.json",
|
2020-09-13 10:13:22 +02:00
|
|
|
"pack": "yarn run pack:main && yarn run pack:renderer",
|
2021-02-04 03:22:41 +01:00
|
|
|
"pack:main": "webpack --node-env=production --mode production --progress --config .electron-vue/webpack.main.config.js",
|
|
|
|
"pack:renderer": "webpack --node-env=production --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
|
|
|
},
|
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": [
|
2021-12-29 16:17:23 +01:00
|
|
|
"core-js",
|
|
|
|
"<rootDir>/spec/setupJest.ts"
|
2019-04-02 16:49:55 +02:00
|
|
|
],
|
2019-03-25 13:51:24 +01:00
|
|
|
"globals": {
|
|
|
|
"ts-jest": {
|
2021-12-29 16:17:23 +01:00
|
|
|
"tsconfig": "tsconfig.json"
|
2019-03-25 13:51:24 +01:00
|
|
|
}
|
|
|
|
}
|
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",
|
2021-07-23 18:19:35 +02:00
|
|
|
"@trodi/electron-splashscreen": "^1.0.2",
|
2021-11-03 09:07:14 +01:00
|
|
|
"about-window": "^1.15.2",
|
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-10-26 15:20:36 +02:00
|
|
|
"axios": "^0.24.0",
|
2021-10-24 17:23:14 +02:00
|
|
|
"blueimp-load-image": "^5.16.0",
|
2018-12-07 15:31:40 +01:00
|
|
|
"deep-extend": "^0.6.0",
|
2021-07-23 16:11:09 +02:00
|
|
|
"electron-context-menu": "^3.1.1",
|
2021-04-29 18:51:18 +02:00
|
|
|
"electron-json-storage": "^4.5.0",
|
2021-12-30 09:06:40 +01:00
|
|
|
"electron-log": "^4.4.4",
|
2018-12-05 12:42:32 +01:00
|
|
|
"electron-window-state": "^5.0.3",
|
2021-09-02 10:05:14 +02:00
|
|
|
"element-ui": "2.15.6",
|
2018-12-05 12:42:32 +01:00
|
|
|
"emoji-mart-vue": "^2.6.6",
|
2022-02-12 08:14:34 +01:00
|
|
|
"i18next": "^21.6.11",
|
2021-03-21 13:24:42 +01:00
|
|
|
"lodash": "^4.17.21",
|
2021-12-29 08:26:12 +01:00
|
|
|
"lokijs": "^1.5.12",
|
2022-01-02 11:08:38 +01:00
|
|
|
"megalodon": "3.7.2",
|
2021-01-24 11:01:34 +01:00
|
|
|
"minimist": "^1.2.5",
|
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",
|
2021-12-30 02:30:44 +01:00
|
|
|
"parse-link-header": "^2.0.0",
|
2018-05-15 12:46:59 +02:00
|
|
|
"rc": "^1.2.7",
|
2021-12-09 09:05:54 +01:00
|
|
|
"sanitize-html": "^2.6.1",
|
2018-04-05 02:00:42 +02:00
|
|
|
"simplayer": "0.0.8",
|
2021-10-26 15:08:35 +02:00
|
|
|
"system-font-families": "^0.6.0",
|
2018-05-15 12:46:59 +02:00
|
|
|
"tunnel-agent": "^0.6.0",
|
2021-10-04 10:03:36 +02:00
|
|
|
"unicode-emoji-json": "^0.3.0",
|
2021-07-24 11:00:42 +02:00
|
|
|
"vue": "^2.6.14",
|
2021-12-30 11:24:22 +01:00
|
|
|
"vue-awesome": "^4.3.1",
|
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",
|
2021-05-24 07:19:45 +02:00
|
|
|
"vue-resize": "^1.0.1",
|
2021-10-27 10:06:12 +02:00
|
|
|
"vue-router": "^3.5.3",
|
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",
|
2021-02-03 19:52:50 +01:00
|
|
|
"vuex": "^3.6.2",
|
2018-04-22 15:07:58 +02:00
|
|
|
"vuex-router-sync": "^5.0.0"
|
2018-03-07 14:28:48 +01:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-02-12 08:18:41 +01:00
|
|
|
"@babel/core": "^7.17.2",
|
2021-12-31 09:03:45 +01:00
|
|
|
"@babel/plugin-proposal-class-properties": "^7.16.7",
|
2021-12-29 17:40:02 +01:00
|
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.16.5",
|
2021-12-14 09:09:48 +01:00
|
|
|
"@babel/plugin-transform-runtime": "^7.16.5",
|
2021-12-30 02:24:10 +01:00
|
|
|
"@babel/preset-env": "^7.16.5",
|
2022-02-09 09:09:16 +01:00
|
|
|
"@babel/runtime": "7.17.2",
|
2021-10-02 11:24:13 +02:00
|
|
|
"@electron/universal": "^1.1.0",
|
2021-07-24 11:13:38 +02:00
|
|
|
"@types/auto-launch": "^5.0.2",
|
2021-05-22 09:28:02 +02:00
|
|
|
"@types/electron-json-storage": "^4.5.0",
|
2019-12-04 15:26:12 +01:00
|
|
|
"@types/i18next": "^13.0.0",
|
2021-12-31 09:07:25 +01:00
|
|
|
"@types/jest": "27.4.0",
|
2021-12-29 16:17:23 +01:00
|
|
|
"@types/jsdom": "^16.2.14",
|
2021-12-29 17:11:19 +01:00
|
|
|
"@types/lodash": "^4.14.178",
|
2021-12-29 08:26:12 +01:00
|
|
|
"@types/lokijs": "^1.5.7",
|
2021-07-23 16:35:26 +02:00
|
|
|
"@types/nedb": "^1.8.12",
|
2022-02-10 09:11:24 +01:00
|
|
|
"@types/node": "^17.0.17",
|
2021-12-30 11:21:59 +01:00
|
|
|
"@types/parse-link-header": "^1.0.1",
|
2021-10-24 17:05:53 +02:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.33.0",
|
2021-10-05 10:05:56 +02:00
|
|
|
"@typescript-eslint/parser": "^4.33.0",
|
2022-02-08 09:05:36 +01:00
|
|
|
"@typescript-eslint/typescript-estree": "^5.11.0",
|
2021-12-29 17:40:13 +01:00
|
|
|
"@vue/test-utils": "^1.3.0",
|
2022-02-12 08:15:18 +01:00
|
|
|
"ajv": "^8.10.0",
|
2021-02-04 03:17:29 +01:00
|
|
|
"all-object-keys": "^2.2.0",
|
2020-03-30 15:33:09 +02:00
|
|
|
"babel-eslint": "^10.1.0",
|
2021-12-30 11:21:53 +01:00
|
|
|
"babel-jest": "^27.4.5",
|
2021-10-24 15:56:29 +02:00
|
|
|
"babel-loader": "^8.2.3",
|
2021-10-26 15:09:45 +02:00
|
|
|
"babel-plugin-istanbul": "^6.1.1",
|
2018-11-12 15:54:39 +01:00
|
|
|
"babel-register": "^6.26.0",
|
2022-01-03 09:04:03 +01:00
|
|
|
"bufferutil": "^4.0.6",
|
2021-10-02 09:00:39 +02:00
|
|
|
"cfonts": "^2.10.0",
|
2021-05-22 09:38:08 +02:00
|
|
|
"chai": "^4.3.4",
|
2021-08-26 18:20:51 +02:00
|
|
|
"chalk": "^4.1.2",
|
2022-02-12 08:29:18 +01:00
|
|
|
"copy-webpack-plugin": "^10.2.4",
|
2022-02-02 09:05:00 +01:00
|
|
|
"core-js": "^3.21.0",
|
2021-01-13 14:11:48 +01:00
|
|
|
"cross-env": "^7.0.3",
|
2022-02-12 08:16:30 +01:00
|
|
|
"css-loader": "^6.6.0",
|
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-12-30 03:26:30 +01:00
|
|
|
"electron": "16.0.4",
|
2021-12-30 09:04:33 +01:00
|
|
|
"electron-builder": "^22.14.5",
|
2021-01-14 08:05:33 +01:00
|
|
|
"electron-debug": "^3.2.0",
|
2021-04-29 18:54:07 +02:00
|
|
|
"electron-devtools-installer": "^3.2.0",
|
2021-07-24 11:37:35 +02:00
|
|
|
"electron-mock-ipc": "^0.3.11",
|
2021-09-03 10:04:55 +02:00
|
|
|
"electron-notarize": "^1.1.1",
|
2021-10-02 13:58:27 +02:00
|
|
|
"electron-packager": "^15.4.0",
|
2021-08-26 18:20:51 +02:00
|
|
|
"eslint": "^7.32.0",
|
2021-04-29 18:55:44 +02:00
|
|
|
"eslint-config-prettier": "^8.3.0",
|
2021-05-25 07:09:12 +02:00
|
|
|
"eslint-config-standard": "^16.0.3",
|
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",
|
2021-10-02 09:01:03 +02:00
|
|
|
"eslint-plugin-html": "^6.2.0",
|
2022-01-03 09:04:13 +01:00
|
|
|
"eslint-plugin-import": "^2.25.4",
|
2020-04-29 16:03:44 +02:00
|
|
|
"eslint-plugin-node": "^11.1.0",
|
2021-08-31 10:07:26 +02:00
|
|
|
"eslint-plugin-prettier": "^4.0.0",
|
2021-12-30 09:09:18 +01:00
|
|
|
"eslint-plugin-promise": "^5.2.0",
|
2020-11-28 14:27:14 +01:00
|
|
|
"eslint-plugin-standard": "^5.0.0",
|
2022-02-12 08:14:33 +01:00
|
|
|
"eslint-plugin-vue": "^8.4.1",
|
2020-10-29 01:24:16 +01:00
|
|
|
"file-loader": "^6.2.0",
|
2021-10-26 10:05:13 +02:00
|
|
|
"html-webpack-plugin": "^5.5.0",
|
2020-12-02 14:56:02 +01:00
|
|
|
"jest": "^26.6.3",
|
2021-12-29 16:17:23 +01:00
|
|
|
"jsdom": "^19.0.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",
|
2022-01-26 09:07:51 +01:00
|
|
|
"mini-css-extract-plugin": "^2.5.3",
|
2021-05-22 14:08:13 +02:00
|
|
|
"node-loader": "^2.0.0",
|
2021-12-29 17:41:50 +01:00
|
|
|
"node-sass": "^7.0.1",
|
2021-12-26 05:20:25 +01:00
|
|
|
"postcss": "^8.4.5",
|
|
|
|
"postcss-html": "^1.3.0",
|
2022-01-10 09:03:39 +01:00
|
|
|
"postcss-scss": "^4.0.3",
|
2021-12-30 09:07:02 +01:00
|
|
|
"prettier": "^2.5.1",
|
2021-07-24 11:11:28 +02:00
|
|
|
"regenerator-runtime": "^0.13.9",
|
2021-12-26 05:28:41 +01:00
|
|
|
"sass-loader": "^12.4.0",
|
2021-10-24 17:23:43 +02:00
|
|
|
"style-loader": "^3.3.1",
|
2021-12-29 17:12:31 +01:00
|
|
|
"stylelint": "^14.2.0",
|
2021-12-26 05:20:25 +01:00
|
|
|
"stylelint-config-html": "^1.0.0",
|
|
|
|
"stylelint-config-prettier": "^9.0.3",
|
2021-12-30 09:08:39 +01:00
|
|
|
"stylelint-config-standard": "^24.0.0",
|
2021-12-26 05:20:25 +01:00
|
|
|
"stylelint-scss": "^4.1.0",
|
2021-05-24 07:15:13 +02:00
|
|
|
"ts-jest": "^26.5.6",
|
2021-10-02 09:03:49 +02:00
|
|
|
"ts-loader": "^9.2.6",
|
2019-03-20 01:45:28 +01:00
|
|
|
"ttfinfo": "^0.2.0",
|
2021-12-30 02:56:21 +01:00
|
|
|
"typescript": "^4.5.4",
|
2020-10-29 00:48:42 +01:00
|
|
|
"url-loader": "^4.1.1",
|
2022-01-03 09:06:10 +01:00
|
|
|
"utf-8-validate": "^5.0.8",
|
2018-03-07 14:28:48 +01:00
|
|
|
"vue-html-loader": "^1.2.4",
|
2021-08-26 19:37:27 +02:00
|
|
|
"vue-loader": "^15.9.8",
|
2021-03-22 08:07:58 +01:00
|
|
|
"vue-style-loader": "^4.1.3",
|
2021-07-24 11:00:42 +02:00
|
|
|
"vue-template-compiler": "^2.6.14",
|
2021-12-29 17:11:55 +01:00
|
|
|
"webpack": "^5.65.0",
|
2022-02-12 08:13:53 +01:00
|
|
|
"webpack-cli": "^4.9.2",
|
2021-12-30 09:09:48 +01:00
|
|
|
"webpack-dev-server": "^4.7.2",
|
2021-10-02 08:59:54 +02:00
|
|
|
"webpack-hot-middleware": "^2.25.1"
|
2018-03-07 14:28:48 +01:00
|
|
|
}
|
|
|
|
}
|