-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
executable file
·145 lines (145 loc) · 4.72 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
{
"name": "emage",
"productName": "E-Mage",
"version": "1.0.0",
"description": "From developers to developers: a cross-platform tool for losslessly image compression.",
"private": true,
"keywords": [
"image-optimization",
"image-compression",
"electron",
"developer-tools",
"developer-experience"
],
"author": {
"name": "Douglas Nassif Roma Junior",
"email": "[email protected]",
"url": "http://douglasjunior.me"
},
"repository": {
"type": "git",
"url": "https://github.com/douglasjunior/emage.git"
},
"license": "MIT",
"husky": {
"hooks": {
"pre-push": "npm run lint"
}
},
"scripts": {
"build": "run-p clear-release build-main build-renderer",
"build-dll": "cross-env NODE_ENV=development node --trace-warnings -r babel-register ./node_modules/webpack/bin/webpack --config webpack.config.renderer.dev.dll.js --colors",
"build-main": "cross-env NODE_ENV=production node --trace-warnings -r babel-register ./node_modules/webpack/bin/webpack --config webpack.config.main.prod.js --colors",
"build-renderer": "cross-env NODE_ENV=production node --trace-warnings -r babel-register ./node_modules/webpack/bin/webpack --config webpack.config.renderer.prod.js --colors",
"dev": "cross-env START_HOT=1 node -r babel-register ./internals/scripts/CheckPortInUse.js && cross-env START_HOT=1 yarn start-renderer-dev",
"electron-rebuild": "electron-rebuild --parallel --force --types prod,dev,optional --module-dir app",
"package": "yarn build && electron-builder build --publish never",
"package-all": "yarn build && electron-builder build -mwl",
"package-linux": "yarn build && electron-builder build --linux",
"package-win": "yarn build && electron-builder build --win --x64",
"postinstall": "node -r babel-register internals/scripts/CheckNativeDep.js && yarn build-dll && electron-builder install-app-deps package.json",
"prestart": "yarn build",
"start": "cross-env NODE_ENV=production electron ./app/",
"start-main-dev": "cross-env HOT=1 NODE_ENV=development electron -r babel-register -r babel-polyfill ./app/main.dev.js",
"start-renderer-dev": "cross-env NODE_ENV=development node --trace-warnings -r babel-register ./node_modules/webpack-dev-server/bin/webpack-dev-server --config webpack.config.renderer.dev.js",
"clear-release": "rimraf release",
"lint": "eslint . --cache --color"
},
"build": {
"productName": "E-Mage",
"appId": "me.douglasjunior.emage",
"files": [
"dist/",
"node_modules/",
"app.html",
"main.prod.js",
"main.prod.js.map",
"package.json"
],
"dmg": {
"contents": [
{
"x": 130,
"y": 220
},
{
"x": 410,
"y": 220,
"type": "link",
"path": "/Applications"
}
]
},
"win": {
"target": [
"nsis"
]
},
"linux": {
"target": [
"deb",
"AppImage"
],
"category": "Development"
},
"directories": {
"buildResources": "resources",
"output": "release"
}
},
"dependencies": {
"antd": "3.8.4",
"axios": "0.18.0",
"bluebird": "3.5.1",
"electron-debug": "2.0.0",
"prop-types": "15.6.2",
"react": "16.4.2",
"react-dom": "16.4.2",
"react-hot-loader": "4.3.5",
"react-router-dom": "4.3.1",
"source-map-support": "0.5.9"
},
"devDependencies": {
"babel-core": "6.26.3",
"babel-eslint": "9.0.0",
"babel-loader": "7.1.5",
"babel-plugin-import": "1.8.0",
"babel-plugin-transform-class-properties": "6.24.1",
"babel-polyfill": "6.26.0",
"babel-preset-es2015": "6.24.1",
"babel-preset-react": "6.24.1",
"babel-preset-stage-2": "6.24.1",
"chalk": "2.4.1",
"clean-webpack-plugin": "0.1.19",
"cross-env": "5.2.0",
"css-loader": "1.0.0",
"detect-port": "1.2.3",
"electron": "2.0.8",
"electron-builder": "20.26.0",
"electron-devtools-installer": "2.2.4",
"electron-rebuild": "1.8.2",
"eslint": "5.5.0",
"eslint-config-airbnb": "17.1.0",
"eslint-loader": "2.1.0",
"eslint-plugin-import": "2.14.0",
"eslint-plugin-jsx-a11y": "6.1.1",
"eslint-plugin-react": "7.11.1",
"html-webpack-plugin": "3.2.0",
"husky": "1.0.0-rc.13",
"less": "3.8.1",
"less-loader": "4.1.0",
"mini-css-extract-plugin": "0.4.1",
"moment-timezone": "0.5.21",
"node-sass": "4.9.3",
"npm-run-all": "4.1.3",
"optimize-css-assets-webpack-plugin": "5.0.0",
"rimraf": "2.6.2",
"sass-loader": "7.1.0",
"style-loader": "0.23.0",
"uglifyjs-webpack-plugin": "1.3.0",
"webpack": "4.17.1",
"webpack-cli": "3.1.0",
"webpack-dev-server": "3.1.7",
"webpack-merge": "4.1.4"
}
}