-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
171 lines (171 loc) · 5.85 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
163
164
165
166
167
168
169
170
171
{
"name": "terraware-web",
"version": "0.1.0",
"private": true,
"license": "Apache-2.0",
"scripts": {
"start": "craco start",
"build": "craco --max_old_space_size=4096 build",
"start:dev": "craco start",
"build-with-version": "export REACT_APP_TERRAWARE_FE_BUILD_VERSION=$(git rev-parse --short HEAD) && craco build",
"build-version-file": "echo $(git rev-parse --short HEAD) > public/build-version.txt",
"test": "TZ=America/Los_Angeles craco test",
"test-coverage": "TZ=America/Los_Angeles craco test --coverage --coverageDirectory='docs/coverage'",
"eject": "craco eject",
"generate-collateral": "yarn build-version-file && yarn generate-strings",
"generate-strings": "node scripts/generate-strings.js",
"generate-types": "node scripts/openapi-typescript-formatter.mjs",
"license-report": "license-report --only=prod --department.value=terraware --relatedTo.value=terraware-web --output=html > docs/license-report.html",
"lint": "tslint --project tsconfig.json",
"ts": "tsc --project ./tsconfig.json",
"format": "prettier --write .",
"docker:start": "./scripts/launch_server.sh",
"docker:stop": "docker-compose -f docker-compose.yml kill",
"wait-be": "wait-on -t 120000 http://localhost:8080/swagger-ui/index.html",
"server:prepare": "./scripts/preparedb.sh",
"server:reset": "./scripts/resetdb.sh",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"pre-commit": "yarn format && yarn lint && yarn ts && yarn test && yarn build",
"playwright:run": "yarn run playwright test playwright/e2e",
"playwright:debug": "yarn run playwright test playwright/e2e --debug",
"test:e2e": "NODE_OPTIONS=--max-old-space-size=16384 start-server-and-test start http://127.0.0.1:3000 playwright:run"
},
"dependencies": {
"@dnd-kit/core": "^6.0.5",
"@dnd-kit/sortable": "^8.0.0",
"@emotion/react": "^11.11.3",
"@emotion/styled": "^11.11.0",
"@mapbox/mapbox-gl-draw": "^1.4.2",
"@mui/base": "^5.0.0-beta.20",
"@mui/icons-material": "^5.15.3",
"@mui/lab": "^5.0.0-alpha.159",
"@mui/material": "^5.15.3",
"@mui/styled-engine-sc": "^5.12.0",
"@mui/styles": "^5.15.3",
"@reduxjs/toolkit": "^1.9.3",
"@terraware/web-components": "^2.12.1",
"@testing-library/jest-dom": "^6.0.0",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3",
"@turf/area": "^6.5.0",
"@turf/bbox": "^6.5.0",
"@turf/bbox-polygon": "^6.5.0",
"@turf/center": "^6.5.0",
"@turf/centroid": "^6.5.0",
"@turf/difference": "^6.5.0",
"@turf/intersect": "^6.5.0",
"@turf/union": "^6.5.0",
"axios": "^1.6.3",
"chart.js": "^4.2.0",
"chartjs-adapter-date-fns": "^3.0.0",
"chartjs-plugin-annotation": "^3.0.1",
"classnames": "^2.5.1",
"cookies-js": "^1.2.3",
"coordinate-parser": "^1.0.7",
"date-fns": "^2.29.3",
"hex-rgb": "^5.0.0",
"immer": "^9.0.19",
"jwt-decode": "^3.1.2",
"lodash": "^4.17.21",
"luxon": "^3.3.0",
"mapbox-gl": "^2.13.0",
"moment": "^2.30.1",
"re-reselect": "^4.0.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-localization": "^1.0.17",
"react-map-gl": "^7.0.21",
"react-multi-carousel": "^2.8.2",
"react-redux": "^8.0.5",
"react-responsive": "^9.0.0-beta.6",
"react-router-dom": "^6.0.0",
"styled-components": "^6.0.0",
"utm": "^1.1.1",
"web-vitals": "^3.1.1",
"worker-loader": "^3.0.8"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest",
"plugin:storybook/recommended"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"jest": {
"moduleNameMapper": {
"^axios$": "axios/dist/axios.js"
}
},
"devDependencies": {
"@craco/craco": "^7.0.0",
"@playwright/test": "^1.40.1",
"@storybook/addon-essentials": "^7.0.12",
"@storybook/addon-interactions": "^7.0.12",
"@storybook/addon-links": "^7.0.12",
"@storybook/blocks": "^7.0.12",
"@storybook/preset-create-react-app": "^7.0.12",
"@storybook/react": "^7.0.12",
"@storybook/react-webpack5": "^7.0.12",
"@storybook/testing-library": "^0.2.0",
"@testing-library/jest-dom": "^6.0.0",
"@testing-library/react": "^14.0.0",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/user-event": "^14.4.3",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/geojson": "^7946.0.10",
"@types/jest": "^29.4.0",
"@types/lodash": "^4.14.202",
"@types/luxon": "^3.2.0",
"@types/mapbox__mapbox-gl-draw": "^1.4.0",
"@types/node": "^18.15.11",
"@types/react": "^18.0.9",
"@types/react-dom": "^17.0.6",
"@types/react-router-dom": "^5.1.7",
"babel-plugin-named-exports-order": "^0.0.2",
"btoa": "^1.2.1",
"csv": "^6.2.8",
"eslint-plugin-storybook": "^0.6.15",
"esm": "^3.2.25",
"express": "^4.19.2",
"http-proxy-middleware": "^2.0.1",
"jest": "^29.7.0",
"jest-mock-axios": "^4.4.1",
"jest-mock-extended": "^3.0.1",
"license-report": "^6.0.0",
"nyc": "^15.1.0",
"openapi-typescript": "^6.7.3",
"playwright": "^1.40.1",
"prettier": "^3.0.3",
"prop-types": "^15.8.1",
"react-scripts": "^5.0.1",
"react-test-renderer": "17.0.2",
"sass": "^1.38.0",
"start-server-and-test": "^2.0.3",
"storybook": "^7.0.12",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"tslint-eslint-rules": "^5.4.0",
"tslint-plugin-cypress": "^1.0.4",
"tslint-react": "^5.0.0",
"tslint-react-hooks": "^2.2.2",
"typescript": "^5.0.0",
"webpack-dev-middleware": "^5.3.4"
},
"resolutions": {
"@babel/traverse": "7.24.1",
"fork-ts-checker-webpack-plugin": "^6.5.3"
}
}