forked from OnkarRuikar/electron-react-to-print-demo
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
50 lines (50 loc) · 1.42 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
{
"name": "electron-react-to-print-demo",
"productName": "Electron react-to-print demo",
"version": "0.0.0",
"description": "Electron App demoing react-to-print library use",
"author": "Onkar Ruikar",
"homepage": "https://github.com/onkarruikar/electron-react-to-print-demo",
"repository": {
"type": "git",
"url": "https://github.com/onkarruikar/electron-react-to-print-demo.git"
},
"contributors": [
"Onkar Ruikar <https://github.com/onkarruikar>"
],
"license": "MIT",
"main": "main.js",
"scripts": {
"dev": "concurrently -k \"npm run runServer \" \"npm run runElectron\"",
"runServer": "webpack-dev-server --hot --host 0.0.0.0 --port 4000 --config=./webpack.dev.config.js",
"runElectron": "wait-on tcp:4000 && electron ."
},
"devDependencies": {
"@babel/core": "^7.16.7",
"@babel/preset-env": "^7.16.7",
"@babel/preset-react": "^7.16.7",
"babel-loader": "^8.2.3",
"terser-webpack-plugin": "^5.3.0",
"concurrently": "^6.5.1",
"css-loader": "6.5.1",
"electron": "^16.0.5",
"electron-packager": "^15.4.0",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.5.0",
"mini-css-extract-plugin": "^2.4.5",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-to-print": "^2.14.3",
"style-loader": "^3.3.1",
"wait-on": "^6.0.0",
"webpack": "^5.56.0",
"webpack-cli": "^4.9.1",
"webpack-dev-server": "^4.7.2"
},
"babel": {
"presets": [
"@babel/preset-env",
"@babel/preset-react"
]
}
}