-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
86 lines (86 loc) · 2.23 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
{
"name": "electron-react-app",
"version": "0.1.0",
"private": true,
"dependencies": {
"@stitches/react": "^1.1.0",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"electron": "^14.0.1",
"electron-is-dev": "^2.0.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-scripts": "4.0.3",
"web-vitals": "^1.0.1"
},
"homepage": "./",
"main": "public/main.js",
"scripts": {
"react:start": "react-scripts start",
"react:build": "react-scripts build",
"react:test": "react-scripts test",
"react:eject": "react-scripts eject",
"electron:start": "wait-on http://localhost:3000 && electron .",
"start": "concurrently \"yarn react:start\" \"yarn electron:start\"",
"storybook": "start-storybook -p 6006 -s public",
"build-storybook": "build-storybook -s public",
"lint:fix": "eslint --fix",
"build": "yarn react:build && electron-builder --publish=always"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
],
"overrides": [
{
"files": [
"**/*.stories.*"
],
"rules": {
"import/no-anonymous-default-export": "off"
}
}
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@storybook/addon-actions": "^6.4.0-alpha.35",
"@storybook/addon-essentials": "^6.4.0-alpha.35",
"@storybook/addon-links": "^6.4.0-alpha.35",
"@storybook/node-logger": "^6.4.0-alpha.35",
"@storybook/preset-create-react-app": "^3.2.0",
"@storybook/react": "^6.4.0-alpha.35",
"concurrently": "^6.2.1",
"electron-builder": "^22.11.7",
"electron-devtools-installer": "^3.2.0",
"eslint": "^7.32.0",
"eslint-plugin-react": "^7.25.1",
"wait-on": "^6.0.0"
},
"resolutions": {
"babel-loader": "8.1.0"
},
"build": {
"appId": "com.sample.electron-react-app",
"files": [
"build/**/*",
"node_modules/**/*"
],
"directories": {
"buildResources": "assets"
}
}
}