|
13 | 13 | "author": "Mac", |
14 | 14 | "homepage": "https://github.com/wednesday-solutions/react-graphql-ts-template", |
15 | 15 | "license": "MIT", |
| 16 | + "main": "./main/main.js", |
16 | 17 | "scripts": { |
17 | 18 | "analyze:clean": "rimraf stats.json", |
18 | 19 | "preanalyze": "npm run analyze:clean", |
|
55 | 56 | "storybook": "export ENVIRONMENT_NAME=development && start-storybook -p 6006", |
56 | 57 | "build-storybook": "export ENVIRONMENT_NAME=production && build-storybook", |
57 | 58 | "initialize": "git checkout --orphan temp-branch && git add -A && git commit -m 'Initial commit' && git branch -D master && git branch -m master", |
58 | | - "generate": "react-generate" |
| 59 | + "generate": "react-generate", |
| 60 | + "electron:dev": "export ENVIRONMENT_NAME=local && concurrently -c green.bold,blue.bold,white.bold -n WEBPACK,TYPESCRIPT,ELECTRON \"cross-env NODE_ENV=development node server\" \"yarn tsc:watch\" \"wait-on http://localhost:3000 && cross-env NODE_ENV=development electron .\"" |
59 | 61 | }, |
60 | 62 | "browserslist": [ |
61 | 63 | "last 2 versions", |
|
94 | 96 | "date-fns": "^2.28.0", |
95 | 97 | "deep-map-keys": "^2.0.1", |
96 | 98 | "dotenv": "10.0.0", |
| 99 | + "electron": "^23.1.0", |
97 | 100 | "express": "4.16.4", |
98 | 101 | "fontfaceobserver": "2.1.0", |
99 | 102 | "git-commit-msg-linter": "^4.1.1", |
|
177 | 180 | "concurrently": "^7.0.0", |
178 | 181 | "coveralls": "3.0.3", |
179 | 182 | "css-loader": "^5.2.6", |
| 183 | + "electron-devtools-installer": "^3.2.0", |
180 | 184 | "eslint": "^8.11.0", |
181 | 185 | "eslint-config-airbnb": "17.1.0", |
182 | 186 | "eslint-config-airbnb-base": "13.1.0", |
|
232 | 236 | "terser-webpack-plugin": "5.1.3", |
233 | 237 | "typescript": "^4.6.2", |
234 | 238 | "url-loader": "4.1.1", |
| 239 | + "wait-on": "^7.0.1", |
235 | 240 | "webpack": "^5.40.0", |
236 | 241 | "webpack-bundle-analyzer": "^4.4.2", |
237 | 242 | "webpack-cli": "4.7.2", |
|
0 commit comments