-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
122 lines (122 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"name": "sint-adventure",
"productName": "Hiddo redt het Sinterklaasfeest",
"description": "Help de Sint met de 5 december voorbereidingen",
"author": "Matthijs Groen <[email protected]>",
"version": "1.0.0",
"private": true,
"main": "public/electron.js",
"homepage": "./",
"devDependencies": {
"@types/jest": "^26.0.15",
"@types/node": "^14.14.6",
"@types/react": "^16.9.55",
"@types/react-dom": "^16.9.9",
"@types/react-redux": "^7.1.9",
"@types/styled-components": "^5.1.5",
"@typescript-eslint/eslint-plugin": "^4.6.0",
"@typescript-eslint/parser": "4.6.0",
"concurrently": "^5.3.0",
"electron": "^10.1.5",
"electron-builder": "^22.9.1",
"eslint": "7.12.1",
"eslint-plugin-prettier": "3.1.4",
"node-sass": "^4.14.1",
"prettier": "^2.1.2",
"wait-on": "^5.2.0"
},
"dependencies": {
"@reduxjs/toolkit": "^1.4.0",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",
"electron-is-dev": "^1.2.0",
"express": "4.17.1",
"react": "17.0.1",
"react-dom": "17.0.1",
"react-redux": "^7.2.2",
"react-scripts": "4.0.0",
"redux": "^4.0.5",
"styled-components": "^5.2.1",
"typescript": "^4.0.5"
},
"scripts": {
"electron-dev": "concurrently \"BROWSER=none yarn start\" \"wait-on http://localhost:3000 && electron .\"",
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"lint": "eslint src/ --ext .js,.ts,.jsx,.tsx",
"package": "electron-builder build --mac --win --linux deb -c.extraMetadata.main=build/electron/main.js --publish never",
"preelectron-pack": "yarn build",
"electron-pack": "electron-builder build --mac --win --linux deb --c.extraMetadata.main=build/electron.js",
"release": "yarn build && yarn build-electron && yarn package"
},
"build": {
"appId": "com.example.electron-cra",
"files": [
"build/**/*",
"build/icon.png",
"node_modules/**/*"
],
"directories": {
"buildResources": "assets"
},
"win": {
"icon": "build/icon.png"
},
"mac": {
"category": "public.app-category.adventure-games",
"icon": "build/icon.icns"
},
"linux": {
"category": "AdventureGame"
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"prettier": {
"arrowParens": "avoid"
},
"eslintConfig": {
"extends": [
"react-app",
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"plugins": [
"prettier",
"@typescript-eslint"
],
"rules": {
"prettier/prettier": [
"error"
],
"no-use-before-define": "off",
"@typescript-eslint/no-use-before-define": [
"error"
],
"@typescript-eslint/explicit-module-boundary-types": "off"
},
"overrides": [
{
"files": [
"public/electron.js"
],
"rules": {
"@typescript-eslint/no-var-requires": "off"
}
}
]
}
}