-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
176 lines (176 loc) · 7.22 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
172
173
174
175
176
{
"name": "trafimage-maps",
"description": "trafimage-maps web component",
"version": "1.30.13",
"private": true,
"main": "build/bundle.js",
"proxy": "http://127.0.0.1:8000",
"dependencies": {
"@emotion/react": "11.13.0",
"@emotion/styled": "11.13.0",
"@geops/create-react-web-component": "3.0.5",
"@jonkoops/matomo-tracker-react": "^0.7.0",
"@mui/icons-material": "5.16.6",
"@mui/material": "5.16.6",
"@mui/styles": "5.16.6",
"@reduxjs/toolkit": "^2.2.7",
"@turf/intersect": "7.1.0",
"abortcontroller-polyfill": "1.7.5",
"cancelable-promise": "4.3.1",
"canvas-size": "2.0.0",
"color": "4.2.3",
"deepmerge": "4.3.1",
"html2canvas": "^1.4.1",
"i18next": "23.14.0",
"i18next-browser-languagedetector": "8.0.0",
"i18next-xhr-backend": "3.2.2",
"jspdf": "2.5.1",
"mapbox-gl": "1.13.3",
"maplibre-gl": "4.5.1",
"mobility-toolbox-js": "2.4.2",
"ol": "9.2.4",
"proj4": "2.12.0",
"prop-types": "15.8.1",
"proxy-polyfill": "0.3.2",
"query-string": "9.1.0",
"re-resizable": "6.9.17",
"react": "18.3.1",
"react-app-polyfill": "3.0.0",
"react-autosuggest": "10.1.0",
"react-dom": "18.3.1",
"react-draggable": "4.4.6",
"react-helmet": "^6.1.0",
"react-i18next": "14.1.2",
"react-icons": "^5.2.1",
"react-redux": "^9.1.2",
"react-select": "5.8.0",
"react-spatial": "1.12.1",
"react-styleguidist": "13.1.3",
"react-web-component": "2.0.2",
"redux": "^5.0.1",
"redux-debounced": "0.5.0",
"redux-thunk": "^3.1.0",
"resize-observer-polyfill": "1.5.1",
"style-it": "^2.1.4",
"styled-components": "^6.1.12"
},
"devDependencies": {
"@babel/cli": "^7.24.8",
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@commitlint/cli": "19.4.1",
"@commitlint/config-conventional": "19.4.1",
"@svgr/webpack": "8.1.0",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "6.5.0",
"@testing-library/react": "16.0.1",
"@testing-library/user-event": "^14.5.2",
"babel-jest": "29.7.0",
"babel-loader": "^9.1.3",
"babel-plugin-named-asset-import": "0.3.8",
"canvas": "2.11.2",
"css-loader": "^7.1.2",
"css-mediaquery": "0.1.2",
"cypress": "13.14.0",
"cypress-enter-plugin": "1.0.1",
"cypress-plugin-tab": "1.0.5",
"dotenv-webpack": "^8.1.0",
"esbuild": "^0.23.1",
"esdoc-standard-plugin": "1.0.0",
"eslint": "8.57.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-cypress": "3.5.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jsx-a11y": "6.9.0",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-react": "7.35.0",
"eslint-plugin-react-hooks": "4.6.2",
"fetch-mock": "9.11.0",
"file-loader": "^6.2.0",
"fixpack": "4.0.0",
"generact": "0.4.0",
"gensync": "1.0.0-beta.2",
"husky": "9.1.5",
"is-ci": "3.0.1",
"jest-canvas-mock": "^2.5.2",
"jest-serializer-html": "7.1.0",
"lint-staged": "15.2.9",
"mock-socket": "9.3.1",
"postcss-normalize": "^10.0.1",
"prettier": "3.3.3",
"react-app-rewired": "2.2.1",
"react-error-overlay": "6.0.11",
"react-scripts": "5.0.1",
"redux-mock-store": "1.5.4",
"resemblejs": "5.0.0",
"sass": "1.77.8",
"sass-loader": "^16.0.1",
"sort-json": "2.0.1",
"source-map-explorer": "^2.5.3",
"standard-version": "9.5.0",
"start-server-and-test": "2.0.5",
"stream-array": "1.1.2",
"style-loader": "^4.0.0",
"stylelint": "16.9.0",
"stylelint-config-recommended-scss": "14.1.0",
"stylelint-config-standard": "36.0.1",
"stylelint-scss": "6.5.1",
"terser-webpack-plugin": "^5.3.10",
"to-string-loader": "1.2.0",
"url-loader": "^4.1.1",
"vinyl-fs": "4.0.0",
"xmlserializer": "^0.6.1"
},
"scripts": {
"analyze": "GENERATE_SOURCEMAP=true react-app-rewired build && source-map-explorer 'build/bundle.js'",
"build": "GENERATE_SOURCEMAP=false react-app-rewired build && bash ./scripts/build-es.sh && node scripts/prepare-package.js",
"clean": "rm -rf node_modules/ && yarn install",
"coverage": "yarn test --watchAll=false --coverage --coverageDirectory=coverage",
"cp": "generact --root src",
"cy:open": "cypress open",
"cy:test": "start-server-and-test start:http http://localhost:3000 'cypress run --browser chrome'",
"cy:test:chrome": "yarn build && start-server-and-test start:http http://localhost:3000 'cypress run --browser chrome'",
"cy:test:edge": "yarn build && start-server-and-test start:http http://localhost:3000 'cypress run --browser edge'",
"cy:test:firefox": "yarn build && start-server-and-test start:http http://localhost:3000 'cypress run --browser firefox'",
"doc": "styleguidist build && cp -rf src/img/ doc/build",
"eject": "react-scripts eject",
"esbuild": "esbuild src/*.js src/**/*.js src/**/**/*.js --target=chrome100 --outdir=build/es --loader:.js=jsx --sourcemap=external",
"fixpack": "fixpack",
"format": "prettier --write 'cypress/**/*.js' '*.js' '*.json' 'src/**/*.js' '*.md' && eslint 'src/**/*.js' --fix && stylelint 'src/**/*.css' 'src/**/*.scss' --fix",
"link2": "cmdToAdd=$(node ./scripts/read-pkg-json.js add) && $cmdToAdd && yarn build && cmdToRemove=$(node ./scripts/read-pkg-json.js remove) && $cmdToRemove && cd build && yarn link",
"lint": "eslint 'cypress/**/*.js' '*.js' 'src/**/*.js' && stylelint 'src/**/*.css' 'src/**/*.scss'",
"prebuild": "rm -rf build/",
"prepare": "husky",
"publish:alpha": "yarn release -- --prerelease alpha --skip.changelog && yarn run build && HUSKY=0 yarn publish build/ --access public --tag beta && git push origin HEAD && git push --tags",
"publish:beta": "yarn release -- --prerelease beta --skip.changelog && yarn run build && HUSKY=0 yarn publish build/ --access public --tag beta && git push origin HEAD && git push --tags",
"publish:beta:dryrun": "yarn release -- --prerelease beta --dry-run --skip.changelog",
"publish:public": "yarn release && yarn run build && HUSKY=0 yarn publish build/ --access public && git push origin HEAD && git push --tags",
"publish:public:dryrun": "yarn release --dry-run",
"release": "standard-version",
"sort": "sort-json src/lang/*.json -i",
"start": "ESLINT_NO_DEV_ERRORS=true HTTPS=true react-app-rewired start",
"start:doc": "ESLINT_NO_DEV_ERRORS=true styleguidist server",
"start:http": "ESLINT_NO_DEV_ERRORS=true react-app-rewired start",
"test": "react-app-rewired test --env=jsdom --transformIgnorePatterns \"/node_modules/(?!(color-.*|@geops/create-react-web-component|filter-obj|split-on-first|node-fetch|query-string|decode-uri-component|fetch-blob|@geops/react-ui|jsts|ol|react-spatial|mobility-toolbox-js|ol-mapbox-style|geotiff|quick-lru)/).*/\"",
"up": "yarn upgrade-interactive --latest"
},
"browserslist": [
">0.2%",
"not dead",
"not op_mini all",
"not ie <= 11",
"not android < 5"
],
"config-overrides-path": "packages/wc/config-overrides.js",
"jest": {
"resetMocks": false,
"coverageReporters": [
"text",
"html"
],
"snapshotSerializers": [
"jest-serializer-html"
]
},
"packageManager": "yarn@1.22.19+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447"
}