-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
162 lines (162 loc) · 4.78 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
{
"name": "electron-webpack-boilerplate",
"version": "1.0.5",
"description": "Minimal Electron boilerplate built with Typescript, Webpack 5 and Babel 7",
"main": "build/index.js",
"types": "build/types/index.d.ts",
"scripts": {
"start": "cross-env NODE_ENV=development node scripts/start.js",
"serve:dist": "npm run build && electron ./build",
"build": "cross-env NODE_ENV=production node scripts/build.js",
"pack": "npm run build && electron-builder --dir",
"dist": "npm run build && electron-builder",
"test": "jest --silent",
"test:verbose": "jest --verbose",
"coverage": "npm run test -- --coverage",
"trypublish": "npm publish || true"
},
"repository": {
"type": "git",
"url": "https://github.com/hodgef/electron-webpack-boilerplate"
},
"author": "Francisco Hodge <hello@franciscohodge.com> (https://github.com/hodgef)",
"license": "MIT",
"bugs": {
"url": "https://github.com/hodgef/electron-webpack-boilerplate/issues"
},
"homepage": "https://github.com/hodgef/electron-webpack-boilerplate",
"keywords": [
"electron",
"webpack",
"typescript",
"babel",
"react",
"boilerplate",
"starter"
],
"build": {
"extends": null,
"productName": "PRSS",
"appId": "io.prss.app",
"copyright": "2022-present, Francisco Hodge",
"artifactName": "${productName}-${platform}.${ext}",
"files": [
"build/**/*",
"embedded.provisionprofile"
],
"extraFiles": [
{
"from": "static",
"to": "resources/static",
"filter": [
"**/*"
]
}
],
"publish": [
{
"provider": "github",
"owner": "hodgef",
"repo": "electron-webpack-boilerplate"
}
],
"appx": {
"applicationId": "PRSS",
"identityName": "electron-webpack",
"publisher": "CN=Francisco Hodge, O=Francisco Hodge, L=Vancouver, S=British Columbia, C=CA"
},
"win": {
"icon": "public/icons/icon.ico",
"target": [
"appx",
"nsis"
],
"publisherName": "Francisco Hodge"
},
"linux": {
"icon": "public/icons/icon.png",
"target": "zip"
},
"afterAllArtifactBuild": "scripts/afterSignHook.js",
"mac": {
"category": "public.app-category.productivity",
"entitlements": "public/entitlements.mac.plist",
"entitlementsInherit": "./public/entitlements.mac.plist",
"identity": "F7735AA14D8A32CE021D86077797AE9457C53603",
"icon": "public/icons/icon.icns",
"target": [
"dmg"
],
"hardenedRuntime": true,
"provisioningProfile": "embedded.provisionprofile"
},
"dmg": {
"icon": false
}
},
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.17.5",
"@babel/plugin-proposal-class-properties": "^7.16.0",
"@babel/plugin-transform-typescript": "^7.16.8",
"@babel/polyfill": "^7.12.1",
"@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.16.7",
"@babel/preset-typescript": "^7.16.0",
"@electron/remote": "^2.0.5",
"@types/enzyme": "^3.10.11",
"@types/jest": "^27.4.1",
"@types/react": "^17.0.38",
"@types/react-dom": "^17.0.10",
"@types/react-router-dom": "^5.3.3",
"@typescript-eslint/eslint-plugin": "^4.32.0",
"@typescript-eslint/parser": "^4.33.0",
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.6",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.2.3",
"babel-preset-minify": "^0.5.0",
"classnames": "^2.2.6",
"cross-env": "7.0.3",
"css-loader": "^6.6.0",
"del": "^5.1.0",
"dotenv": "^16.0.0",
"electron": "^17.1.0",
"electron-builder": "^22.14.13",
"electron-builder-notarize": "^1.4.0",
"electron-notarize": "^1.1.1",
"enzyme": "^3.11.0",
"eslint": "^7.32.0",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.5.0",
"jest": "^27.5.1",
"mini-css-extract-plugin": "^2.6.0",
"optimize-css-assets-webpack-plugin": "^6.0.1",
"prettier": "^2.5.1",
"prettier-webpack-plugin": "^1.2.0",
"react": "^17.0.0",
"react-dom": "^17.0.0",
"react-router-dom": "^5.1.2",
"style-loader": "^3.3.1",
"terser-webpack-plugin": "^5.3.1",
"ts-jest": "^27.1.3",
"typescript": "^4.6.2",
"url-loader": "^4.1.1",
"webpack": "^5.70.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "4.7.4"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "jest-environment-jsdom",
"transform": {
"node_modules/variables/.+\\.(j|t)sx?$": "ts-jest"
},
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/scripts/testMock.js",
"\\.(css|less)$": "<rootDir>/scripts/testMock.js"
},
"transformIgnorePatterns": [
"node_modules/(?!variables/.*)"
]
}
}