-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
118 lines (118 loc) · 3.17 KB
/
Copy pathpackage.json
File metadata and controls
118 lines (118 loc) · 3.17 KB
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
{
"name": "CO2PipelineRouteTool",
"version": "1.1.0",
"private": true,
"author": "NETL",
"description": "CO2 Pipeline Electron App",
"homepage": "/co2-pipeline-routing-tool/",
"proxy": "http://127.0.0.1:5000/",
"main": "./public/electron.js",
"dependencies": {
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.0",
"@mui/material": "^6.4.2",
"@testing-library/jest-dom": "^5.17.0",
"axios": "^1.5.1",
"axios-mock-adapter": "^2.1.0",
"bootstrap": "^5.3.2",
"buffer": "^6.0.3",
"chai": "^5.3.1",
"concurrently": "^8.2.2",
"cors": "^2.8.5",
"cross-env": "^7.0.3",
"electronmon": "^2.0.3",
"esri-leaflet": "^3.0.13",
"husky": "^9.1.7",
"lint-staged": "^15.5.2",
"mapbox-gl": "^3.14.0",
"maplibre-gl": "^5.1.0",
"prettier": "^3.5.3",
"react": "^18.3.1",
"react-bootstrap": "^2.9.0",
"react-dom": "^18.3.1",
"react-esri-leaflet": "^2.0.1",
"react-leaflet": "^4.2.1",
"react-leaflet-custom-control": "^1.5.0",
"react-router-dom": "^6.21.1",
"react-scripts": "^5.0.1",
"react-widgets": "^5.8.4",
"shpjs": "^4.0.4",
"wait-on": "^7.2.0",
"web-vitals": "^2.1.4"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --write"
]
},
"scripts": {
"start": "react-scripts start",
"start-backend": "cd Flask && flask run --no-debugger",
"build": "react-scripts build",
"test": "react-scripts test --silent --transformIgnorePatterns \"node_modules/(?!CO2PipelineRouteTool)/\" --env=jsdom",
"eject": "react-scripts eject",
"electron:start": "concurrently -k \"cross-env BROWSER=none npm start\" \"wait-on http://localhost:3000 && electronmon .\"",
"electron:package:win": "npm run build && electron-builder -w -c.extraMetadata.main=build/electron.js"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"build": {
"appId": "com.electron.myapp",
"productName": "CO2Pipeline",
"files": [
"build/**/*",
"node_modules/**/*"
],
"extraFiles": [
"dist/CO2PRT_Flask.exe"
],
"directories": {
"buildResources": "public"
},
"win": {
"target": "nsis"
}
},
"browserslist": {
"production": [
"last 1 electron version",
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 electron version",
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@babel/core": "^7.28.0",
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@babel/preset-env": "^7.28.3",
"@babel/preset-react": "^7.27.1",
"@babel/register": "^7.27.1",
"@testing-library/dom": "^10.4.1",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"babel-jest": "^30.0.5",
"electron": "^31.0.0",
"electron-builder": "^24.6.3",
"jest": "^30.0.5",
"jsdom": "26.1.0",
"jsdom-global": "3.0.2",
"leaflet": "^1.9.4",
"react-test-renderer": "^19.1.1",
"sinon": "^21.0.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}