-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
89 lines (89 loc) · 2.41 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
{
"name": "reactree",
"version": "0.1.0",
"private": true,
"main": "public/Electron/main.js",
"dependencies": {
"@codemirror/lang-javascript": "^6.1.4",
"@electron/remote": "^2.0.9",
"@reduxjs/toolkit": "^1.9.3",
"@testing-library/react": "^13.4.0",
"@uiw/react-codemirror": "^4.19.11",
"concurrently": "^7.6.0",
"cross-env": "^7.0.3",
"d3": "^7.8.2",
"electron": "^23.1.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-redux": "^8.0.5",
"react-scripts": "5.0.1",
"redux": "^4.2.1",
"styled-components": "^5.3.9",
"styled-reset": "^4.4.5",
"uuid": "^9.0.0",
"wait-on": "^7.0.1"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "jest",
"test-util": "jest ./__tests__/unit/react/util.test.js",
"eject": "react-scripts eject",
"electron:serve": "concurrently -k \"cross-env PORT=9357 BROWSER=none npm start\" \"npm run electron:start\"",
"electron:build": "",
"electron:start": "wait-on tcp:9357 && electron .",
"pre-commit": "rm -rf .git/hooks && ln -s ../.husky .git/hooks"
},
"jest": {
"testEnvironment": "jsdom",
"transformIgnorePatterns": [
"/node_modules/(?!d3|d3-array|internmap|delaunator|robust-predicates)"
]
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@babel/core": "^7.21.3",
"@babel/preset-env": "^7.20.2",
"@jest-runner/electron": "^3.0.1",
"@playwright/test": "^1.31.2",
"@testing-library/jest-dom": "^5.16.5",
"babel-jest": "^29.5.0",
"electron-playwright-helpers": "^1.5.4",
"eslint": "^8.36.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.7.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^8.0.3",
"jest": "^27.5.1",
"lint-staged": "^13.2.0",
"playwright": "^1.31.2",
"prettier": "^2.8.4"
},
"lint-staged": {
"**/*.{js, jsx, html, css, json}": [
"prettier --write .",
"eslint --fix ."
]
}
}