-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
58 lines (58 loc) · 2.2 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
{
"name": "react-electron-typescript-boilerplate",
"version": "1.0.0",
"description": "Boilerplate for an Electron project with React and Typescript Integration",
"main": "./dist/main.js",
"scripts": {
"check-types": "tsc --project tsconfig.json",
"lint": "eslint --fix --ext .ts,.tsx ./src",
"dev:react": "cross-env NODE_ENV=development webpack-dev-server --config webpack.react.config.js",
"dev:electron": "wait-on tcp:3000 && cross-env NODE_ENV=development webpack --config webpack.electron.config.js && electron .",
"dev": "concurrently -k \"npm run dev:react\" \"npm run dev:electron\"",
"build:react": "cross-env NODE_ENV=production webpack --config webpack.react.config.js",
"build:electron": "cross-env NODE_ENV=production webpack --config webpack.electron.config.js && electron .",
"build": "npm run check-types && npm run lint && npm run build:react && npm run build:electron"
},
"author": "Faiz Bachoo Shah",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.20.12",
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@types/estree": "^1.0.0",
"@types/node": "^18.11.18",
"@types/react": "^18.0.27",
"@types/react-dom": "^18.0.10",
"@types/react-router-dom": "^5.3.3",
"@typescript-eslint/eslint-plugin": "^5.50.0",
"@typescript-eslint/parser": "^5.50.0",
"babel-loader": "^9.1.2",
"concurrently": "^7.6.0",
"cross-env": "^7.0.3",
"css-loader": "^6.7.3",
"electron": "^22.0.3",
"eslint": "^8.33.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"html-webpack-plugin": "^5.5.0",
"mini-css-extract-plugin": "^2.7.2",
"sass": "^1.57.1",
"sass-loader": "^13.2.0",
"style-loader": "^3.3.1",
"typescript": "^4.9.4",
"wait-on": "^7.0.1",
"webpack": "^5.75.0",
"webpack-cli": "^5.0.1",
"webpack-dev-server": "^4.11.1"
},
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.7.0"
}
}