2018-03-07 22:28:48 +09:00
|
|
|
{
|
2018-03-26 18:25:44 +09:00
|
|
|
"name": "Whalebird",
|
2023-02-07 01:32:06 +09:00
|
|
|
"version": "5.0.0-beta.3",
|
2018-03-07 22:28:48 +09:00
|
|
|
"author": "AkiraFukushima <h3.poteto@gmail.com>",
|
2018-07-14 22:58:43 +09:00
|
|
|
"description": "An Electron based Mastodon client for Windows, Mac and Linux",
|
2018-03-22 16:55:58 +09:00
|
|
|
"license": "MIT",
|
2018-07-14 22:58:43 +09:00
|
|
|
"keywords": [
|
|
|
|
"mastodon",
|
|
|
|
"client",
|
|
|
|
"electron",
|
|
|
|
"vue"
|
|
|
|
],
|
2018-03-22 16:55:58 +09:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/h3poteto/whalebird-desktop.git"
|
|
|
|
},
|
2018-03-31 00:40:43 +09:00
|
|
|
"config": {
|
2023-02-07 01:32:06 +09:00
|
|
|
"buildVersion": "142",
|
2023-01-13 20:35:32 +09:00
|
|
|
"appVersion": "5.0.0"
|
2018-03-31 00:40:43 +09:00
|
|
|
},
|
2018-03-07 22:28:48 +09:00
|
|
|
"main": "./dist/electron/main.js",
|
|
|
|
"scripts": {
|
|
|
|
"dev": "node .electron-vue/dev-runner.js",
|
2022-05-01 18:02:47 +09:00
|
|
|
"dev:main": "webpack --node-env=development --mode development --progress --config .electron-vue/webpack.main.config.js",
|
|
|
|
"dev:renderer": "webpack --node-env=development --mode development --progress --config .electron-vue/webpack.renderer.config.js",
|
2022-07-28 00:27:21 +09:00
|
|
|
"lint:eslint": "eslint -c .eslintrc.js --ext .js,.vue,.ts src spec",
|
|
|
|
"lint:stylelint": "stylelint '**/*.vue'",
|
2019-04-24 21:25:11 +09: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",
|
2023-01-29 21:04:10 +09:00
|
|
|
"build:mas": "yarn run build:clean && yarn run pack && electron-packager ./ 'Whalebird' --platform=mas --arch=x64 --arch=arm64 --electron-version=20.3.10 --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=social.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 23:15:59 +09: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 11:04:02 +09:00
|
|
|
"package:pacman": "electron-builder --linux pacman --publish never --config electron-builder.json",
|
2023-01-04 01:39:28 +09:00
|
|
|
"package:appx2": "electron-builder --win --x64 --config electron-builder.json && electron-windows-store --assets .\\build\\icons --input-directory .\\build\\win-unpacked --output-directory .\\build\\appx --package-name Whalebird --package-display-name Whalebird --package-version 4.7.4.0 --publisher-display-name h3poteto --identity-name 45610h3poteto.Whalebird",
|
2020-09-13 17:13:22 +09:00
|
|
|
"pack": "yarn run pack:main && yarn run pack:renderer",
|
2021-02-04 11:22:41 +09: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",
|
2022-05-01 18:02:47 +09:00
|
|
|
"typecheck": "tsc -p . --noEmit",
|
2019-04-02 23:49:55 +09:00
|
|
|
"spec": "NODE_ENV=test jest -u --maxWorkers=3"
|
2018-03-07 22:28:48 +09:00
|
|
|
},
|
2018-12-29 00:04:17 +09:00
|
|
|
"jest": {
|
2019-03-25 21:51:24 +09:00
|
|
|
"moduleFileExtensions": [
|
|
|
|
"ts",
|
2019-08-07 23:12:27 +09:00
|
|
|
"js",
|
|
|
|
"json"
|
2019-03-25 21:51:24 +09:00
|
|
|
],
|
2018-12-29 00:04:17 +09:00
|
|
|
"moduleNameMapper": {
|
2019-03-25 21:51:24 +09:00
|
|
|
"@/router": "<rootDir>/spec/mock/router.ts",
|
2018-12-29 00:04:17 +09:00
|
|
|
"^@/(.+)": "<rootDir>/src/renderer/$1",
|
2022-12-19 23:06:27 +09:00
|
|
|
"^~/(.+)": "<rootDir>/$1",
|
2022-12-20 01:29:17 +09:00
|
|
|
"axios": "axios/dist/node/axios.cjs"
|
2018-12-29 15:38:29 +09:00
|
|
|
},
|
2018-12-30 14:59:53 +09:00
|
|
|
"testMatch": [
|
2019-03-25 21:51:24 +09:00
|
|
|
"**/spec/**/*.spec.ts"
|
|
|
|
],
|
2019-03-25 23:50:11 +09:00
|
|
|
"preset": "ts-jest/presets/js-with-ts",
|
|
|
|
"transform": {
|
|
|
|
"^.+\\.(js|jsx)$": "babel-jest",
|
|
|
|
"^.+\\.(ts|tsx)$": "ts-jest"
|
|
|
|
},
|
2022-12-20 01:29:17 +09:00
|
|
|
"transformIgnorePatterns": [
|
|
|
|
"/node_modules/(?!axios)"
|
|
|
|
],
|
2019-04-02 23:49:55 +09:00
|
|
|
"setupFiles": [
|
2021-12-30 00:17:23 +09:00
|
|
|
"core-js",
|
|
|
|
"<rootDir>/spec/setupJest.ts"
|
2019-04-02 23:49:55 +09:00
|
|
|
],
|
2019-03-25 21:51:24 +09:00
|
|
|
"globals": {
|
|
|
|
"ts-jest": {
|
2021-12-30 00:17:23 +09:00
|
|
|
"tsconfig": "tsconfig.json"
|
2019-03-25 21:51:24 +09:00
|
|
|
}
|
|
|
|
}
|
2018-12-29 00:04:17 +09:00
|
|
|
},
|
2018-03-07 22:28:48 +09:00
|
|
|
"dependencies": {
|
2022-11-22 08:07:25 +00:00
|
|
|
"@fortawesome/fontawesome-svg-core": "^6.2.1",
|
2022-11-26 08:59:35 +00:00
|
|
|
"@fortawesome/free-regular-svg-icons": "^6.2.1",
|
2022-11-28 08:12:20 +00:00
|
|
|
"@fortawesome/free-solid-svg-icons": "^6.2.1",
|
2023-01-30 13:15:30 +00:00
|
|
|
"@fortawesome/vue-fontawesome": "^3.0.3",
|
2021-07-23 16:19:35 +00:00
|
|
|
"@trodi/electron-splashscreen": "^1.0.2",
|
2023-01-30 08:06:13 +00:00
|
|
|
"@vueuse/core": "9.12.0",
|
2023-01-30 13:16:08 +00:00
|
|
|
"@vueuse/math": "^9.12.0",
|
2021-11-03 08:07:14 +00:00
|
|
|
"about-window": "^1.15.2",
|
2020-06-10 14:50:32 +00:00
|
|
|
"animate.css": "^4.1.0",
|
2019-09-23 19:31:25 +09:00
|
|
|
"auto-launch": "^5.0.5",
|
2022-12-29 08:04:18 +00:00
|
|
|
"axios": "1.2.2",
|
2021-10-24 15:23:14 +00:00
|
|
|
"blueimp-load-image": "^5.16.0",
|
2022-12-11 13:42:43 +00:00
|
|
|
"electron-context-menu": "^3.6.1",
|
2022-11-26 08:59:29 +00:00
|
|
|
"electron-json-storage": "^4.6.0",
|
2022-06-23 10:43:06 +00:00
|
|
|
"electron-log": "^4.4.8",
|
2018-12-05 11:42:32 +00:00
|
|
|
"electron-window-state": "^5.0.3",
|
2023-02-03 08:04:51 +00:00
|
|
|
"element-plus": "^2.2.29",
|
2022-11-28 08:07:35 +00:00
|
|
|
"emoji-mart-vue-fast": "^12.0.1",
|
2023-01-13 12:34:39 +00:00
|
|
|
"i18next": "^22.4.9",
|
2023-01-27 08:59:37 +00:00
|
|
|
"megalodon": "5.1.1",
|
2022-11-21 12:30:23 +00:00
|
|
|
"minimist": "^1.2.7",
|
2022-04-26 00:04:49 +09:00
|
|
|
"mitt": "^3.0.0",
|
2022-07-10 05:47:27 +00:00
|
|
|
"moment": "^2.29.4",
|
2020-03-19 14:33:09 +00:00
|
|
|
"mousetrap": "^1.6.5",
|
2018-04-18 23:35:35 +09:00
|
|
|
"object-assign-deep": "^0.4.0",
|
2021-12-30 01:30:44 +00:00
|
|
|
"parse-link-header": "^2.0.0",
|
2023-02-02 08:06:17 +00:00
|
|
|
"sanitize-html": "^2.9.0",
|
2018-04-05 09:00:42 +09:00
|
|
|
"simplayer": "0.0.8",
|
2022-12-31 22:45:14 +09:00
|
|
|
"sqlite3": "^5.1.4",
|
2021-10-26 13:08:35 +00:00
|
|
|
"system-font-families": "^0.6.0",
|
2022-11-28 08:03:18 +00:00
|
|
|
"unicode-emoji-json": "^0.4.0",
|
2023-02-06 14:35:54 +00:00
|
|
|
"vue": "^3.2.47",
|
2020-04-30 09:02:40 +00:00
|
|
|
"vue-popperjs": "^2.3.0",
|
2022-04-18 20:32:21 +09:00
|
|
|
"vue-resize": "^2.0.0-alpha.1",
|
2022-12-12 08:02:02 +00:00
|
|
|
"vue-router": "^4.1.6",
|
2022-12-19 13:55:40 +00:00
|
|
|
"vue-virtual-scroller": "2.0.0-beta.7",
|
2023-01-02 08:02:23 +00:00
|
|
|
"vue3-i18next": "^0.2.2",
|
2022-11-22 08:03:58 +00:00
|
|
|
"vuex": "^4.1.0",
|
2022-04-18 20:32:21 +09:00
|
|
|
"vuex-router-sync": "^6.0.0-rc.1"
|
2018-03-07 22:28:48 +09:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-01-05 08:01:51 +00:00
|
|
|
"@babel/core": "^7.20.12",
|
2022-07-10 06:21:36 +00:00
|
|
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
2022-12-30 11:21:17 +00:00
|
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
|
2022-11-07 08:09:38 +00:00
|
|
|
"@babel/plugin-transform-runtime": "^7.19.6",
|
2022-11-21 12:31:38 +00:00
|
|
|
"@babel/preset-env": "^7.20.2",
|
2023-01-23 08:03:32 +00:00
|
|
|
"@babel/runtime": "7.20.13",
|
2022-12-11 13:48:52 +00:00
|
|
|
"@electron/universal": "^1.3.4",
|
2021-07-24 09:13:38 +00:00
|
|
|
"@types/auto-launch": "^5.0.2",
|
2021-05-22 07:28:02 +00:00
|
|
|
"@types/electron-json-storage": "^4.5.0",
|
2022-02-23 08:04:29 +00:00
|
|
|
"@types/jest": "27.4.1",
|
2022-11-21 12:32:06 +00:00
|
|
|
"@types/jsdom": "^20.0.1",
|
2023-02-06 08:04:09 +00:00
|
|
|
"@types/node": "^18.11.19",
|
2023-02-06 14:35:52 +00:00
|
|
|
"@types/parse-link-header": "^2.0.1",
|
2023-02-01 08:03:27 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.50.0",
|
2023-02-06 14:35:54 +00:00
|
|
|
"@typescript-eslint/parser": "^5.50.0",
|
2023-02-02 08:09:22 +00:00
|
|
|
"@vue/compiler-sfc": "^3.2.47",
|
2022-07-28 00:27:21 +09:00
|
|
|
"@vue/eslint-config-prettier": "^7.0.0",
|
2022-09-22 08:08:27 +00:00
|
|
|
"@vue/eslint-config-typescript": "^11.0.2",
|
2021-02-04 02:17:29 +00:00
|
|
|
"all-object-keys": "^2.2.0",
|
2022-04-10 01:10:14 +09:00
|
|
|
"assert": "^2.0.0",
|
2020-03-30 13:33:09 +00:00
|
|
|
"babel-eslint": "^10.1.0",
|
2023-01-30 13:15:14 +00:00
|
|
|
"babel-jest": "^29.4.1",
|
2023-01-05 08:01:33 +00:00
|
|
|
"babel-loader": "^9.1.2",
|
2021-10-26 13:09:45 +00:00
|
|
|
"babel-plugin-istanbul": "^6.1.1",
|
2018-11-12 23:54:39 +09:00
|
|
|
"babel-register": "^6.26.0",
|
2022-04-10 01:10:14 +09:00
|
|
|
"browserify-zlib": "^0.2.0",
|
|
|
|
"buffer": "^6.0.3",
|
2022-11-07 08:07:36 +00:00
|
|
|
"bufferutil": "^4.0.7",
|
2022-07-10 05:52:05 +00:00
|
|
|
"cfonts": "^3.1.1",
|
2023-01-14 10:11:58 +09:00
|
|
|
"cli-color": "^2.0.3",
|
2022-11-26 09:11:08 +00:00
|
|
|
"copy-webpack-plugin": "^11.0.0",
|
2023-01-19 08:03:45 +00:00
|
|
|
"core-js": "^3.27.2",
|
2021-01-13 13:11:48 +00:00
|
|
|
"cross-env": "^7.0.3",
|
2022-04-10 01:10:14 +09:00
|
|
|
"crypto-browserify": "^3.12.0",
|
2022-12-19 14:12:45 +00:00
|
|
|
"css-loader": "^6.7.3",
|
2022-09-07 01:05:20 +09:00
|
|
|
"del": "^6.1.1",
|
2018-03-07 22:28:48 +09:00
|
|
|
"devtron": "^1.4.0",
|
2023-01-29 12:08:44 +00:00
|
|
|
"electron": "20.3.11",
|
2022-12-11 17:31:34 +09:00
|
|
|
"electron-builder": "23.3.3",
|
2021-01-14 07:05:33 +00:00
|
|
|
"electron-debug": "^3.2.0",
|
2021-04-29 16:54:07 +00:00
|
|
|
"electron-devtools-installer": "^3.2.0",
|
2022-02-12 07:33:57 +00:00
|
|
|
"electron-mock-ipc": "^0.3.12",
|
2022-11-07 08:09:55 +00:00
|
|
|
"electron-notarize": "^1.2.2",
|
2022-11-21 12:31:39 +00:00
|
|
|
"electron-packager": "^17.1.1",
|
2022-12-30 22:50:24 +09:00
|
|
|
"electron-windows-store": "^2.1.0",
|
2023-01-30 08:04:06 +00:00
|
|
|
"eslint": "^8.33.0",
|
2023-01-13 08:02:06 +00:00
|
|
|
"eslint-plugin-vue": "^9.9.0",
|
2020-10-29 00:24:16 +00:00
|
|
|
"file-loader": "^6.2.0",
|
2021-10-26 08:05:13 +00:00
|
|
|
"html-webpack-plugin": "^5.5.0",
|
2022-04-10 01:10:14 +09:00
|
|
|
"https-browserify": "^1.0.0",
|
2020-12-02 13:56:02 +00:00
|
|
|
"jest": "^26.6.3",
|
2023-01-23 08:06:07 +00:00
|
|
|
"jsdom": "^21.1.0",
|
2019-11-27 00:29:02 +09:00
|
|
|
"json-loader": "^0.5.7",
|
2019-09-17 20:41:12 +09:00
|
|
|
"listr": "^0.14.3",
|
2022-12-11 13:49:47 +00:00
|
|
|
"mini-css-extract-plugin": "^2.7.2",
|
2021-05-22 12:08:13 +00:00
|
|
|
"node-loader": "^2.0.0",
|
2022-11-26 07:44:16 +00:00
|
|
|
"node-sass": "^8.0.0",
|
2022-04-10 01:10:14 +09:00
|
|
|
"os-browserify": "^0.3.0",
|
|
|
|
"path-browserify": "^1.0.1",
|
2023-01-09 08:02:06 +00:00
|
|
|
"postcss": "^8.4.21",
|
2022-08-13 02:50:03 +00:00
|
|
|
"postcss-html": "^1.5.0",
|
2022-11-28 08:10:02 +00:00
|
|
|
"postcss-scss": "^4.0.6",
|
2023-01-16 08:02:35 +00:00
|
|
|
"prettier": "^2.8.3",
|
2022-04-10 01:10:14 +09:00
|
|
|
"process": "^0.11.10",
|
2022-11-22 08:02:58 +00:00
|
|
|
"regenerator-runtime": "^0.13.11",
|
2022-11-10 08:24:49 +00:00
|
|
|
"sass-loader": "^13.2.0",
|
2022-04-10 01:10:14 +09:00
|
|
|
"stream-browserify": "^3.0.0",
|
|
|
|
"stream-http": "^3.2.0",
|
2021-10-24 15:23:43 +00:00
|
|
|
"style-loader": "^3.3.1",
|
2022-12-29 08:03:42 +00:00
|
|
|
"stylelint": "^14.16.1",
|
2022-07-11 08:05:47 +00:00
|
|
|
"stylelint-config-html": "^1.1.0",
|
2022-12-11 13:41:49 +00:00
|
|
|
"stylelint-config-prettier": "^9.0.4",
|
2022-12-19 13:57:06 +00:00
|
|
|
"stylelint-config-standard": "^29.0.0",
|
2022-08-13 03:35:31 +00:00
|
|
|
"stylelint-scss": "^4.3.0",
|
2022-04-10 01:10:14 +09:00
|
|
|
"timers-browserify": "^2.0.12",
|
2021-05-24 05:15:13 +00:00
|
|
|
"ts-jest": "^26.5.6",
|
2022-12-11 13:47:29 +00:00
|
|
|
"ts-loader": "^9.4.2",
|
2019-03-20 09:45:28 +09:00
|
|
|
"ttfinfo": "^0.2.0",
|
2023-01-31 08:02:08 +00:00
|
|
|
"typescript": "^4.9.5",
|
2022-04-10 01:10:14 +09:00
|
|
|
"url": "^0.11.0",
|
2020-10-28 23:48:42 +00:00
|
|
|
"url-loader": "^4.1.1",
|
2023-01-27 08:58:31 +00:00
|
|
|
"utf-8-validate": "^6.0.2",
|
2018-03-07 22:28:48 +09:00
|
|
|
"vue-html-loader": "^1.2.4",
|
2022-11-28 08:13:07 +00:00
|
|
|
"vue-loader": "^17.0.1",
|
2021-03-22 07:07:58 +00:00
|
|
|
"vue-style-loader": "^4.1.3",
|
2022-12-11 08:35:24 +00:00
|
|
|
"webpack": "^5.75.0",
|
2022-12-06 08:11:48 +00:00
|
|
|
"webpack-cli": "^5.0.1",
|
2022-09-20 08:03:45 +00:00
|
|
|
"webpack-dev-server": "^4.11.1",
|
2022-11-28 08:05:45 +00:00
|
|
|
"webpack-hot-middleware": "^2.25.3"
|
2018-03-07 22:28:48 +09:00
|
|
|
}
|
|
|
|
}
|