This repository has been archived by the owner on Dec 13, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
82 lines (82 loc) · 3.02 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"name": "WhaleTongue",
"version": "0.1.0",
"main": "dist/main.js",
"author": "ebith",
"license": "MIT",
"private": true,
"devDependencies": {
"@babel/core": "^7.0.0-beta.39",
"@babel/preset-env": "^7.0.0-beta.39",
"@babel/preset-react": "^7.0.0-beta.39",
"babel-eslint": "^8.2.2",
"babel-loader": "^8.0.0-beta.0",
"chokidar": "^2.0.1",
"css-loader": "^0.28.10",
"electron-connect": "^0.6.3",
"electron-load-devtool": "^1.0.0",
"electron-packager": "^11.0.1",
"eslint-config-xo-react": "^0.16.0",
"eslint-plugin-prettier": "^2.6.0",
"eslint-plugin-react": "^7.7.0",
"node-sass": "^4.7.2",
"npm-run-all": "^4.1.2",
"prettier": "^1.10.2",
"sass-loader": "^6.0.7",
"style-loader": "^0.20.3",
"webpack": "^4.1.1",
"webpack-cli": "^2.0.12",
"xo": "^0.20.3"
},
"xo": {
"env": [
"node",
"browser"
],
"parser": "babel-eslint",
"space": true,
"rules": {
"react/jsx-no-bind": 0,
"capitalized-comments": 0
},
"prettier": true,
"extends": "xo-react"
},
"prettier": {
"printWidth": 120
},
"scripts": {
"build": "npm-run-all clean build:script build:package compress",
"clean": "rm -rf build/*",
"compress": "npm-run-all --parallel compress:win compress:mac",
"compress:win": "tar Jcfv build/WhaleTongue-$(git show -s --format=%h)-Windows.tar.xz -C build WhaleTongue-win32-x64",
"compress:mac": "tar Jcfv build/WhaleTongue-$(git show -s --format=%h)-MacOS.tar.xz -C build/WhaleTongue-darwin-x64 WhaleTongue.app",
"build:package": "npm-run-all --parallel build:package:mac build:package:win",
"build:package:mac": "electron-packager . --out=build --platform=darwin --arch=x64 --asar --ignore='^/node_modules|^/src|^/script|^/tmp|^/build'",
"build:package:win": "electron-packager . --out=build --platform=win32 --arch=x64 --asar --ignore='^/node_modules|^/src|^/script|^/tmp|^/build'",
"build:script": "npm-run-all --parallel build:main build:renderer",
"build:main": "webpack --mode production --config webpack.config.main.js",
"build:renderer": "webpack --mode production --config webpack.config.renderer.js",
"dev": "npm-run-all --parallel dev:main dev:renderer dev:watch",
"dev:main": "webpack --watch --mode development --config webpack.config.main.js",
"dev:renderer": "webpack --watch --mode development --config webpack.config.renderer.js",
"xo": "xo --fix src/*.js src/**/*.js webpack.config* script/*.js || true"
},
"dependencies": {
"@fortawesome/fontawesome": "^1.1.3",
"@fortawesome/fontawesome-free-regular": "^5.0.6",
"@fortawesome/fontawesome-free-solid": "^5.0.6",
"@fortawesome/react-fontawesome": "^0.0.17",
"axios": "^0.17.1",
"date-fns": "^2.0.0-alpha.7",
"electron": "^2.0.0-beta.5",
"electron-store": "^1.3.0",
"oauth": "^0.9.15",
"office-ui-fabric-react": "^5.54.0",
"prop-types": "^15.6.1",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"twemoji": "^2.5.1",
"twitter-text": "^2.0.4"
}
}