-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
92 lines (92 loc) · 3.33 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
{
"name": "cnc-client",
"version": "0.1.0",
"author": {
"name": "Woodykaixa",
"url": "https://github.com/Woodykaixa",
"email": "[email protected]"
},
"description": "A new client for Command & Conquer games written in electron",
"license": "MIT",
"scripts": {
"dev": "cross-env NODE_ENV=development elecrun --vite --preload preload.ts",
"preview": "npm run build && cross-env NODE_ENV=production electron ./app/",
"build": "elecrun build --preload preload.ts && vite build",
"clean": "elecrun clean",
"pack": "npm run build && npm run rebuild && cross-env CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder -c ./electron-builder.yml --win --linux",
"pack:all": "npm run build && npm run rebuild && cross-env CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder -c ./electron-builder.yml --win --linux --mac",
"pack:win": "npm run build && npm run rebuild && cross-env CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder -c ./electron-builder.yml --win",
"pack:mac": "npm run build && npm run rebuild && cross-env CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder -c ./electron-builder.yml --mac",
"pack:linux": "npm run build && npm run rebuild && cross-env CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder -c ./electron-builder.yml --linux",
"rebuild": "electron-rebuild -m ./app",
"postinstall": "electron-builder install-app-deps",
"prettier": "prettier -w ."
},
"devDependencies": {
"@commitlint/config-conventional": "^16.2.1",
"@types/express": "^4.17.13",
"@types/lodash": "^4.14.178",
"@types/node": "^17.0.15",
"@types/react": "^17.0.39",
"@types/react-dom": "^17.0.11",
"@types/react-helmet": "^6.1.5",
"@types/react-router": "^5.1.18",
"@types/react-router-dom": "^5.3.3",
"@types/styled-components": "^5.1.22",
"@typescript-eslint/eslint-plugin": "^5.10.2",
"@typescript-eslint/parser": "^5.10.2",
"@vitejs/plugin-react-refresh": "^1.3.6",
"chalk": "^5.0.0",
"commitlint": "^16.1.0",
"cross-env": "^7.0.3",
"electron": "^17.0.0",
"electron-builder": "^22.14.13",
"electron-devtools-installer": "^3.2.0",
"electron-rebuild": "^3.2.7",
"electron-run": "^2.2.0",
"esbuild": "^0.14.19",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.2.0",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"husky": "^7.0.4",
"lint-staged": "^12.3.3",
"prettier": "^2.5.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"ts-node": "^10.4.0",
"tslib": "^2.3.1",
"typescript": "^4.5.5",
"vite": "^2.7.13"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -e $GIT_PARAMS"
}
},
"lint-staged": {
"src/**/*.{ts, tsx, css}": [
"prettier --write"
]
},
"dependencies": {
"dayjs": "^1.10.7",
"electron-log": "^4.4.6",
"lodash": "^4.17.21",
"postcss": "^8.4.6",
"react-helmet": "^6.1.0",
"react-router": "^6.2.1",
"react-router-dom": "^6.2.1",
"rehype-parse": "^8.0.4",
"rehype-react": "^7.0.4",
"rehype-sanitize": "^5.0.1",
"styled-components": "^5.3.3",
"swiper": "^8.0.5",
"unified": "^10.1.1"
}
}