168 lines
5.6 KiB
JSON
168 lines
5.6 KiB
JSON
{
|
|
"name": "Whalebird",
|
|
"version": "0.5.0",
|
|
"author": "AkiraFukushima <h3.poteto@gmail.com>",
|
|
"description": "A Electron based Mastodon client for Windows, Mac and Linux",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/h3poteto/whalebird-desktop.git"
|
|
},
|
|
"config": {
|
|
"buildVersion": "6",
|
|
"appVersion": "0.5.0"
|
|
},
|
|
"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",
|
|
"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",
|
|
"build:mas": "npm run pack && electron-packager ./ 'Whalebird for Mastodon' --platform=mas --arch=x64 --electron-version=1.8.3 --asar --out=packages --ignore='^/src' --ignore='^/test' --ignore='^/.electron-vue' --ignore='^/.envrc' --ignore='^/packages' --ignore='^/build' --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='./team.plist' --osx-sign",
|
|
"dev": "node .electron-vue/dev-runner.js",
|
|
"e2e": "npm run pack && mocha test/e2e",
|
|
"lint": "eslint --ext .js,.vue -f ./node_modules/eslint-friendly-formatter src test",
|
|
"lint:fix": "eslint --ext .js,.vue -f ./node_modules/eslint-friendly-formatter --fix src test",
|
|
"pack": "npm run pack:main && npm run pack:renderer",
|
|
"pack:main": "cross-env NODE_ENV=production webpack --progress --colors --config .electron-vue/webpack.main.config.js",
|
|
"pack:renderer": "cross-env NODE_ENV=production webpack --progress --colors --config .electron-vue/webpack.renderer.config.js",
|
|
"test": "npm run unit && npm run e2e",
|
|
"unit": "karma start test/unit/karma.conf.js",
|
|
"postinstall": "npm run lint:fix"
|
|
},
|
|
"build": {
|
|
"productName": "Whalebird for Mastodon",
|
|
"appId": "org.whalebird.desktop",
|
|
"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"
|
|
},
|
|
"linux": {
|
|
"icon": "build/icons",
|
|
"target": [
|
|
"deb",
|
|
"rpm"
|
|
],
|
|
"category": "Network"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"axios": "^0.18.0",
|
|
"electron-json-storage": "^4.0.2",
|
|
"electron-log": "^2.2.14",
|
|
"electron-window-state": "^4.1.1",
|
|
"element-ui": "^2.3.4",
|
|
"is-empty": "^1.2.0",
|
|
"mastodon-api": "^1.3.0",
|
|
"moment": "^2.21.0",
|
|
"nedb": "^1.8.0",
|
|
"simplayer": "0.0.8",
|
|
"vue": "^2.3.3",
|
|
"vue-awesome": "^2.3.5",
|
|
"vue-electron": "^1.0.6",
|
|
"vue-popperjs": "^1.2.6",
|
|
"vue-router": "^2.5.3",
|
|
"vue-shortkey": "^3.1.0",
|
|
"vuex": "^2.3.1"
|
|
},
|
|
"devDependencies": {
|
|
"babel-core": "^6.25.0",
|
|
"babel-eslint": "^7.2.3",
|
|
"babel-loader": "^7.1.1",
|
|
"babel-plugin-istanbul": "^4.1.1",
|
|
"babel-plugin-transform-runtime": "^6.23.0",
|
|
"babel-preset-env": "^1.6.0",
|
|
"babel-preset-stage-0": "^6.24.1",
|
|
"babel-register": "^6.24.1",
|
|
"babili-webpack-plugin": "^0.1.2",
|
|
"cfonts": "^1.1.3",
|
|
"chai": "^4.0.0",
|
|
"chalk": "^2.1.0",
|
|
"copy-webpack-plugin": "^4.0.1",
|
|
"cross-env": "^5.0.5",
|
|
"css-loader": "^0.28.4",
|
|
"del": "^3.0.0",
|
|
"devtron": "^1.4.0",
|
|
"electron": "^1.7.5",
|
|
"electron-builder": "^19.56.2",
|
|
"electron-debug": "^1.4.0",
|
|
"electron-devtools-installer": "^2.2.0",
|
|
"electron-packager": "^11.2.0",
|
|
"eslint": "^4.4.1",
|
|
"eslint-config-standard": "^10.2.1",
|
|
"eslint-friendly-formatter": "^3.0.0",
|
|
"eslint-loader": "^1.9.0",
|
|
"eslint-plugin-html": "^3.1.1",
|
|
"eslint-plugin-import": "^2.7.0",
|
|
"eslint-plugin-node": "^5.1.1",
|
|
"eslint-plugin-promise": "^3.5.0",
|
|
"eslint-plugin-standard": "^3.0.1",
|
|
"extract-text-webpack-plugin": "^3.0.0",
|
|
"file-loader": "^0.11.2",
|
|
"html-webpack-plugin": "^2.30.1",
|
|
"inject-loader": "^3.0.0",
|
|
"karma": "^1.3.0",
|
|
"karma-chai": "^0.1.0",
|
|
"karma-coverage": "^1.1.1",
|
|
"karma-electron": "^5.1.1",
|
|
"karma-mocha": "^1.2.0",
|
|
"karma-sourcemap-loader": "^0.3.7",
|
|
"karma-spec-reporter": "^0.0.31",
|
|
"karma-webpack": "^2.0.1",
|
|
"mocha": "^3.0.2",
|
|
"multispinner": "^0.2.1",
|
|
"node-loader": "^0.6.0",
|
|
"node-sass": "^4.7.2",
|
|
"rcedit": "^1.0.0",
|
|
"require-dir": "^0.3.0",
|
|
"sass-loader": "^6.0.7",
|
|
"spectron": "^3.7.1",
|
|
"style-loader": "^0.18.2",
|
|
"url-loader": "^0.5.9",
|
|
"vue-html-loader": "^1.2.4",
|
|
"vue-loader": "^13.0.5",
|
|
"vue-style-loader": "^3.0.1",
|
|
"vue-template-compiler": "^2.4.2",
|
|
"webpack": "^3.5.2",
|
|
"webpack-dev-server": "^2.7.1",
|
|
"webpack-hot-middleware": "^2.18.2",
|
|
"webpack-merge": "^4.1.0",
|
|
"webpack-obfuscator": "^0.14.3"
|
|
}
|
|
}
|