-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
46 lines (46 loc) · 2.01 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
{
"name": "Electron-Webpack2-React-Sass",
"version": "0.2.0",
"author": "Joachim Wendenburg <[email protected]>",
"main": "main.js",
"devDependencies": {
"acorn": "^6.1.1",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-eslint": "^10.0.1",
"babel-loader": "^7.1.5",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.7.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"css-loader": "^2.1.1",
"electron": "^5.0.2",
"electron-packager": "^13.1.1",
"mini-css-extract-plugin": "^0.7.0",
"node-sass": "^4.12.0",
"raw-loader": "^2.0.0",
"sass-loader": "^7.1.0",
"webpack": "^4.32.2",
"webpack-cli": "^3.3.2",
"webpack-dev-server": "^3.5.0",
"webpack-merge": "^4.2.1"
},
"scripts": {
"build": "rm -rf build && webpack --config webpack.config.electron.js --mode production",
"web": "rm -rf build && webpack-dev-server --config webpack.config.web.js --mode development --hot --inline",
"//": "@TODO Linux 1024x1024.png, Win ico, Win works only with installed wine",
"packageMac": "electron-packager ./ ElectronReactSass --overwrite --platform=darwin --arch=x64 --icon=assets/timeTracker.icns --prune=true --out=bin",
"packageLinux": "electron-packager ./ ElectronReactSass --overwrite --asar=true --platform=linux --arch=x64 --icon=assets/timeTracker.icns --prune=true --out=bin",
"packageWin": "electron-packager ./ --overwrite --asar=true --platform=win32 --arch=ia32 --icon=assets/timeTracker.icns --prune=true --out=bin --version-string.CompanyName=CE --version-string.FileDescription=CE --version-string.ProductName=\"ElectronReactSass\"",
"electronDebug": "npm run build && electron . debug",
"electron": "npm run build && electron .",
"bin": "npm run build && npm run packageMac"
},
"dependencies": {
"react": "^16.8.6",
"react-dom": "^16.8.6",
"pouchdb-browser": "^7.0.0",
"pouchdb-find": "^7.0.0"
}
}