-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
175 lines (175 loc) · 5.9 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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
{
"name": "react-redux-unit-cypress-ts-starter-kit",
"version": "1.0.0",
"description": "A React Redux Unit tests and e2e boilerplate with Typescript",
"author": "Ajdin Sahinbegovic",
"license": "MIT",
"repository": {
"type": "git",
"url": "git@github.com:Shekey/react-redux-unit-cypress-ts-starter-kit.git"
},
"engines": {
"npm": "8.11.0",
"node": "16.15.1"
},
"keywords": [],
"main": "public/electron.js",
"homepage": "./",
"scripts": {
"start": "node build/server.bundle.js",
"build": "run-s clean:dist build:client:prod build:server:prod",
"dev": "run-p build:server:dev start:server:dev start:client:dev",
"test:unit": "jest --config=jest.config.js",
"cypress": "cypress open",
"test": "start-server-and-test dev http://localhost:8080 cypress",
"electron:start": "concurrently -k \"cross-env BROWSER=none yarn start\" \"wait-on http://localhost:3000 && electronmon .\"",
"package": "electron-builder build --win -c.extraMetadata.main=build/js/electron.js --publish never",
"publish": "electron-builder build --win --publish always",
"electron:package:mac": "yarn build && electron-builder -m",
"electron:package:win": "yarn build && electron-builder -w",
"electron:package:linux": "yarn build && electron-builder -l",
"clean:dist": "rm -rf build && mkdir build",
"start:client:dev": "cross-env NODE_ENV=development webpack serve --config webpack/webpack.dev.config.js --mode=development",
"start:server:dev": "cross-env NODE_ENV=development webpack --watch --progress --config webpack/webpack.server.config.js --mode=development",
"build:server:dev": "cross-env NODE_ENV=development webpack --config webpack/webpack.server.config.js --mode=development",
"build:client:prod": "cross-env NODE_ENV=production webpack --config webpack/webpack.prod.config.js --mode=production",
"build:server:prod": "cross-env NODE_ENV=production webpack --config webpack/webpack.server.config.js --mode=production",
"lint": "eslint --ext .js,.jsx,.ts,.tsx .",
"lint-fix": "npm run lint -- --fix",
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\""
},
"lint-staged": {
"*.(ts|tsx|js|jsx)": [
"npm run --silent lint:fix"
]
},
"husky": {
"hooks": {
"pre-commit": "npm dedupe && lint-staged && pretty-quick --staged"
}
},
"dependencies": {
"@react-icons/all-files": "^4.1.0",
"@reduxjs/toolkit": "^1.8.2",
"compression": "^1.7.4",
"dateformat": "^5.0.3",
"electron-updater": "^5.0.5",
"eslint-plugin-cypress": "^2.12.1",
"express": "^4.17.1",
"node-sass": "^6.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-redux": "^8.0.2",
"sass": "^1.43.3",
"sass-loader": "^10",
"uuid": "^8.3.2"
},
"devDependencies": {
"@babel/core": "^7.18.0",
"@babel/plugin-proposal-class-properties": "^7.12.13",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/preset-env": "^7.12.17",
"@babel/preset-react": "^7.12.13",
"@babel/preset-typescript": "^7.16.7",
"@testing-library/cypress": "^8.0.3",
"@testing-library/jest-dom": "^5.16.5",
"@types/compression": "^1.7.2",
"@types/dateformat": "^5.0.0",
"@types/express": "^4.17.13",
"@types/mocha": "^9.1.1",
"@types/node": "^17.0.45",
"@types/prop-types": "^15.7.5",
"@types/react": "^18.0.14",
"@types/react-dom": "^18.0.5",
"@types/react-redux": "^7.1.24",
"@types/uuid": "^8.3.4",
"@typescript-eslint/parser": "^5.25.0",
"babel-loader": "^8.2.2",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"concurrently": "^7.3.0",
"copy-webpack-plugin": "^7.0.0",
"cross-env": "^7.0.3",
"css-loader": "^5.0.2",
"css-minimizer-webpack-plugin": "^3.4.1",
"cssnano": "^5.1.12",
"cypress": "^10.5.0",
"electron": "^20.0.2",
"electron-builder": "^23.3.3",
"electron-updater": "^5.0.5",
"electronmon": "^2.0.2",
"eslint": "^8.16.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-standard-with-typescript": "^22.0.0",
"eslint-plugin-css-modules": "2.11.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^15.2.4",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-react": "^7.30.0",
"file-loader": "^6.2.0",
"fork-ts-checker-webpack-plugin": "^7.2.8",
"html-webpack-plugin": "^5.2.0",
"husky": "^5.0.9",
"jest": "^28.0.7",
"jest-environment-jsdom": "^28.1.3",
"lint-staged": "^10.5.4",
"mini-css-extract-plugin": "^1.3.8",
"nodemon": "^2.0.16",
"nodemon-webpack-plugin": "^4.7.1",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.14",
"postcss-import": "^14.1.0",
"postcss-loader": "^5.3.0",
"postcss-preset-env": "^7.7.1",
"prettier": "^2.2.1",
"prop-types": "^15.8.1",
"style-loader": "^3.3.1",
"ts-jest": "^28.0.7",
"ts-loader": "^9.2.6",
"typescript": "^4.6.4",
"url-loader": "^4.1.1",
"webpack": "^5.23.0",
"webpack-cli": "^4.5.0",
"webpack-dev-server": "^4.10.0",
"webpack-manifest-plugin": "^5.0.0",
"webpack-merge": "^5.7.3",
"webpack-node-externals": "^3.0.0",
"workbox-webpack-plugin": "^6.5.4"
},
"build": {
"generateUpdatesFilesForAllChannels": true,
"appId": "Shekey.electronapp",
"productName": "React Electron App",
"copyright": "Shekey",
"mac": {
"publish": {
"provider": "github",
"owner": "Shekey",
"repo": "ART-React-Electron-App"
}
},
"win": {
"publish": {
"provider": "github",
"owner": "Shekey",
"repo": "ART-React-Electron-App"
}
},
"files": [
"build/**/*",
"node_modules/**/*"
],
"publish": {
"provider": "github",
"owner": "Shekey"
}
},
"browserslist": {
"production": [
"last 1 electron version"
],
"development": [
"last 1 electron version"
]
}
}