-
-
Notifications
You must be signed in to change notification settings - Fork 42
/
package.json
100 lines (100 loc) · 3.24 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
{
"name": "electron-react-typescript-webpack-boilerplate",
"version": "4.1.3",
"description": "Pre-configured boilerplate for Electron + React + TypeScript",
"main": "./dist/main.bundle.js",
"scripts": {
"start": "electron ./dist/main.bundle.js",
"dev": "rimraf dist && cross-env NODE_ENV=development webpack --watch --progress --color",
"prod": "rimraf dist && cross-env NODE_ENV=production webpack --progress --color",
"jest": "cross-env NODE_ENV=test NODE_OPTIONS=--experimental-vm-modules NODE_NO_WARNINGS=1 jest",
"jest-ci": "npm run jest -- --config jest.config.ci.mjs",
"watch-jest": "npm run jest -- --watchAll",
"lint": "eslint . --cache --ext js,jsx,cjs,mjs,ts,tsx",
"test": "npm run lint && npm run jest",
"next-rc": "npm --no-git-tag-version version prerelease --preid=rc",
"next-patch": "npm --no-git-tag-version version patch",
"next-minor": "npm --no-git-tag-version version minor",
"next-major": "npm --no-git-tag-version version major",
"build:win": "electron-builder build --win",
"build:mac": "electron-builder build --mac"
},
"build": {
"appId": "com.devtography.electron_boilerplate",
"productName": "Electron+React+TypeScript Boilerplate",
"directories": {
"app": "./dist/",
"output": "./out/"
},
"mac": {
"target": {
"target": "dmg",
"arch": "universal"
}
},
"win": {
"target": {
"target": "nsis",
"arch": [
"x64",
"ia32"
]
}
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true
},
"buildVersion": "1"
},
"author": "Wing Chau @Devtography",
"license": "MIT",
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@types/jest": "^29.1.2",
"@types/react": "^18.0.21",
"@types/react-dom": "^18.0.6",
"@typescript-eslint/eslint-plugin": "^5.40.0",
"@typescript-eslint/parser": "^5.40.0",
"cross-env": "^7.0.3",
"electron": "^21.1.0",
"eslint": "^8.25.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-import-resolver-typescript": "^3.5.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.1.1",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-react": "^7.31.10",
"eslint-plugin-react-hooks": "^4.6.0",
"jest": "^29.1.2",
"ts-jest": "^29.0.3",
"typescript": "^4.8.4"
},
"optionalDependencies": {
"copy-webpack-plugin": "^11.0.0",
"css-loader": "^6.7.1",
"electron-builder": "^23.6.0",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.5.0",
"rimraf": "^3.0.2",
"style-loader": "^3.3.1",
"ts-loader": "^9.4.1",
"tsconfig-paths": "^4.1.0",
"tsconfig-paths-webpack-plugin": "^4.0.0",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0",
"webpack-merge": "^5.8.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Devtography/electron-react-typescript-webpack-boilerplate"
},
"bugs": {
"url": "https://github.com/Devtography/electron-react-typescript-webpack-boilerplate/issues"
},
"homepage": "https://github.com/Devtography/electron-react-typescript-webpack-boilerplate#readme"
}