294 lines
8.7 KiB
JSON
294 lines
8.7 KiB
JSON
{
|
|
"name": "Whalebird",
|
|
"version": "3.0.3",
|
|
"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": "86",
|
|
"appVersion": "3.0.3"
|
|
},
|
|
"main": "./dist/electron/main.js",
|
|
"scripts": {
|
|
"dev": "node .electron-vue/dev-runner.js",
|
|
"lint": "eslint --ext .js,.vue,.ts -f ./node_modules/eslint-friendly-formatter src spec",
|
|
"lint:fix": "eslint --ext .js,.vue,.ts -f ./node_modules/eslint-friendly-formatter --fix src spec",
|
|
"stylelint": "stylelint '**/*.vue' --syntax scss",
|
|
"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",
|
|
"build:mac": "npm run build && npm run package:mac",
|
|
"build:linux": "npm run build && npm run package:linux",
|
|
"build:win32": "npm run build && npm run package:win32",
|
|
"build:win64": "npm run build && npm run package:win64",
|
|
"build:mas": "npm run build:clean && npm run pack && electron-packager ./ 'Whalebird' --platform=mas --arch=x64 --electron-version=6.1.7 --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",
|
|
"package:mac": "electron-builder --mac --x64",
|
|
"package:linux": "electron-builder --linux",
|
|
"package:win32": "electron-builder --win --ia32",
|
|
"package:win64": "electron-builder --win --x64",
|
|
"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",
|
|
"postinstall": "npm run lint:fix",
|
|
"spec": "NODE_ENV=test jest -u --maxWorkers=3"
|
|
},
|
|
"build": {
|
|
"productName": "Whalebird",
|
|
"appId": "org.whalebird.desktop",
|
|
"artifactName": "${productName}-${version}-${os}-${arch}.${ext}",
|
|
"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"
|
|
},
|
|
"nsis": {
|
|
"oneClick": false,
|
|
"allowToChangeInstallationDirectory": true
|
|
},
|
|
"linux": {
|
|
"icon": "build/icons",
|
|
"target": [
|
|
{
|
|
"target": "AppImage",
|
|
"arch": [
|
|
"x64"
|
|
]
|
|
},
|
|
{
|
|
"target": "deb",
|
|
"arch": [
|
|
"x64",
|
|
"ia32"
|
|
]
|
|
},
|
|
{
|
|
"target": "rpm",
|
|
"arch": [
|
|
"x64",
|
|
"ia32"
|
|
]
|
|
},
|
|
{
|
|
"target": "tar.bz2",
|
|
"arch": [
|
|
"x64",
|
|
"ia32",
|
|
"armv7l",
|
|
"arm64"
|
|
]
|
|
},
|
|
{
|
|
"target": "pacman",
|
|
"arch": [
|
|
"x64",
|
|
"ia32"
|
|
]
|
|
},
|
|
{
|
|
"target": "snap",
|
|
"arch": [
|
|
"x64"
|
|
]
|
|
}
|
|
],
|
|
"category": "Network"
|
|
}
|
|
},
|
|
"jest": {
|
|
"moduleFileExtensions": [
|
|
"ts",
|
|
"js",
|
|
"json"
|
|
],
|
|
"moduleNameMapper": {
|
|
"@/router": "<rootDir>/spec/mock/router.ts",
|
|
"^@/(.+)": "<rootDir>/src/renderer/$1",
|
|
"^~/(.+)": "<rootDir>/$1"
|
|
},
|
|
"testMatch": [
|
|
"**/spec/**/*.spec.ts"
|
|
],
|
|
"preset": "ts-jest/presets/js-with-ts",
|
|
"transform": {
|
|
"^.+\\.(js|jsx)$": "babel-jest",
|
|
"^.+\\.(ts|tsx)$": "ts-jest"
|
|
},
|
|
"setupFiles": [
|
|
"core-js"
|
|
],
|
|
"globals": {
|
|
"ts-jest": {
|
|
"tsConfig": "tsconfig.json"
|
|
}
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@panter/vue-i18next": "^0.15.1",
|
|
"@trodi/electron-splashscreen": "^0.3.4",
|
|
"about-window": "^1.13.2",
|
|
"animate.css": "^3.7.2",
|
|
"auto-launch": "^5.0.5",
|
|
"axios": "^0.19.1",
|
|
"boom": "^7.3.0",
|
|
"deep-extend": "^0.6.0",
|
|
"electron-context-menu": "^0.15.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.3",
|
|
"i18next": "^19.0.3",
|
|
"lodash": "^4.17.15",
|
|
"megalodon": "2.1.1",
|
|
"moment": "^2.24.0",
|
|
"mousetrap": "^1.6.3",
|
|
"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.20.1",
|
|
"simplayer": "0.0.8",
|
|
"system-font-families": "^0.4.1",
|
|
"tunnel-agent": "^0.6.0",
|
|
"vue": "^2.6.11",
|
|
"vue-awesome": "^4.0.2",
|
|
"vue-click-outside": "^1.0.7",
|
|
"vue-electron": "^1.0.6",
|
|
"vue-popperjs": "^2.2.0",
|
|
"vue-router": "^3.1.3",
|
|
"vue-shortkey": "^3.1.7",
|
|
"vuex": "^3.0.1",
|
|
"vuex-router-sync": "^5.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.7.7",
|
|
"@babel/plugin-proposal-class-properties": "^7.7.0",
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.7.7",
|
|
"@babel/plugin-transform-runtime": "^7.6.2",
|
|
"@babel/preset-env": "^7.7.1",
|
|
"@babel/runtime": "^7.7.7",
|
|
"@mapbox/stylelint-processor-arbitrary-tags": "^0.2.0",
|
|
"@types/auto-launch": "^5.0.1",
|
|
"@types/electron-json-storage": "^4.0.0",
|
|
"@types/i18next": "^13.0.0",
|
|
"@types/jest": "^24.0.25",
|
|
"@types/lodash": "^4.14.149",
|
|
"@types/nedb": "^1.8.9",
|
|
"@types/node": "^11.11.4",
|
|
"@types/parse-link-header": "^1.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^1.5.0",
|
|
"@typescript-eslint/parser": "^1.5.0",
|
|
"@typescript-eslint/typescript-estree": "^1.5.0",
|
|
"@vue/test-utils": "^1.0.0-beta.30",
|
|
"ajv": "^6.6.1",
|
|
"all-object-keys": "^1.1.1",
|
|
"babel-eslint": "^10.0.3",
|
|
"babel-jest": "^24.9.0",
|
|
"babel-loader": "^8.0.6",
|
|
"babel-plugin-istanbul": "^5.1.0",
|
|
"babel-register": "^6.26.0",
|
|
"cfonts": "^2.4.6",
|
|
"chai": "^4.2.0",
|
|
"chalk": "^3.0.0",
|
|
"copy-webpack-plugin": "^5.1.1",
|
|
"core-js": "^3.6.1",
|
|
"cross-env": "^5.1.6",
|
|
"css-loader": "^3.2.0",
|
|
"del": "^5.1.0",
|
|
"devtron": "^1.4.0",
|
|
"electron": "6.1.7",
|
|
"electron-builder": "^22.0.0",
|
|
"electron-debug": "^3.0.1",
|
|
"electron-devtools-installer": "^2.2.4",
|
|
"electron-mock-ipc": "^0.3.2",
|
|
"electron-packager": "^14.0.5",
|
|
"eslint": "^5.16.0",
|
|
"eslint-config-prettier": "^6.9.0",
|
|
"eslint-config-standard": "^12.0.0",
|
|
"eslint-friendly-formatter": "^4.0.1",
|
|
"eslint-loader": "^2.1.1",
|
|
"eslint-plugin-html": "^6.0.0",
|
|
"eslint-plugin-import": "^2.19.1",
|
|
"eslint-plugin-node": "^11.0.0",
|
|
"eslint-plugin-prettier": "^3.1.2",
|
|
"eslint-plugin-promise": "^4.0.1",
|
|
"eslint-plugin-standard": "^4.0.0",
|
|
"eslint-plugin-vue": "^6.1.2",
|
|
"file-loader": "^2.0.0",
|
|
"html-webpack-plugin": "^3.2.0",
|
|
"jest": "^24.9.0",
|
|
"jsdom": "^15.2.1",
|
|
"json-loader": "^0.5.7",
|
|
"listr": "^0.14.3",
|
|
"mini-css-extract-plugin": "^0.4.5",
|
|
"node-loader": "^0.6.0",
|
|
"node-sass": "^4.13.0",
|
|
"prettier": "^1.17.0",
|
|
"prettier-stylelint": "^0.4.2",
|
|
"regenerator-runtime": "^0.13.3",
|
|
"sass-loader": "^7.0.3",
|
|
"style-loader": "^1.1.2",
|
|
"stylelint": "^12.0.1",
|
|
"stylelint-config-standard": "^19.0.0",
|
|
"ts-jest": "^24.2.0",
|
|
"ts-loader": "^6.2.1",
|
|
"ttfinfo": "^0.2.0",
|
|
"typescript": "^3.3.4000",
|
|
"url-loader": "^3.0.0",
|
|
"vue-html-loader": "^1.2.4",
|
|
"vue-loader": "^15.7.2",
|
|
"vue-style-loader": "^4.1.0",
|
|
"vue-template-compiler": "^2.6.11",
|
|
"webpack": "^4.39.2",
|
|
"webpack-cli": "^3.1.2",
|
|
"webpack-dev-server": "^3.10.1",
|
|
"webpack-hot-middleware": "^2.25.0",
|
|
"webpack-merge": "^4.1.4"
|
|
}
|
|
}
|