-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
180 lines (180 loc) · 6.77 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
177
178
179
180
{
"name": "@mtes-mct/monitor-ui__root",
"description": "Common React components, hooks, utilities and CSS stylesheets for MonitorFish, MonitorEnv and RapportNav.",
"version": "24.5.0",
"license": "AGPL-3.0",
"private": true,
"type": "module",
"engines": {
"node": ">=20"
},
"main": "dist/index.js",
"scripts": {
"build": "yarn build:clean && rollup -c && yarn build:type && yarn build:copy && yarn build:package",
"build:clean": "rm -Rf ./dist",
"build:copy": "sh ./scripts/build/copyPublicFiles.sh",
"build:package": "node ./scripts/build/generatePackageJson.js",
"build:storybook": "storybook build",
"build:storybook:deploy": "yarn build:storybook && touch ./storybook-static/.nojekyll",
"build:type": "tsc -p ./tsconfig.dist.json",
"clean": "yarn build:clean && rm -Rf ./node_modules/.cache && rm -Rf ./node_modules/.vite",
"dev": "storybook dev --no-open -p 6006",
"serve": "http-server ./storybook-static --port 3000 --silent",
"start": "storybook dev -p 6006",
"icons": "yarn icons:clean && yarn icons:generate && yarn icons:lint",
"icons:clean": "rm -Rf ./src/icons && mkdir ./src/icons",
"icons:generate": "node ./scripts/icons/generateIcons.js",
"icons:lint": "echo 'Linting generated icons…' && yarn eslint --fix ./src/icons && echo 'Done.'",
"postinstall": "husky",
"preview": "echo 'Linting generated icons…' && yarn eslint --fix ./src/icons && echo 'Done.'",
"test": "yarn test:lint && yarn test:type",
"test:e2e": "yarn cypress run --browser firefox --config-file ./config/cypress.config.ts --component",
"test:e2e:open": "yarn cypress open --browser firefox --config-file ./config/cypress.config.ts --component",
"test:e2e:release": "yarn cypress run --browser firefox --config-file ./config/cypress.config.ts --e2e",
"test:e2e:release:open": "yarn cypress open --browser firefox --config-file ./config/cypress.config.ts --e2e",
"test:e2e:release:setup": "sh ./scripts/e2e/run_release_sample.sh",
"test:lint": "yarn eslint --ext js,jsx,ts,tsx .",
"test:type": "tsc",
"test:unit": "jest --config=./config/jest.config.js",
"test:unit:watch": "yarn test:unit --watch"
},
"dependencies": {
"@babel/runtime": "7.26.0",
"@tanstack/react-table": "8.20.5",
"@tanstack/react-virtual": "beta",
"prop-types": "15.8.1",
"tslib": "2.8.1"
},
"devDependencies": {
"@babel/core": "7.26.0",
"@babel/preset-env": "7.26.0",
"@babel/preset-react": "7.25.9",
"@babel/preset-typescript": "7.26.0",
"@chrisneedham/rollup-plugin-peer-deps-external": "2.3.1",
"@commitlint/cli": "19.5.0",
"@commitlint/config-conventional": "19.5.0",
"@faker-js/faker": "8.4.1",
"@jest/globals": "29.7.0",
"@rollup/plugin-commonjs": "25.0.3",
"@rollup/plugin-node-resolve": "15.3.0",
"@rollup/plugin-replace": "6.0.1",
"@rollup/plugin-url": "8.0.2",
"@semantic-release/changelog": "6.0.3",
"@semantic-release/commit-analyzer": "13.0.0",
"@semantic-release/exec": "6.0.3",
"@semantic-release/github": "11.0.0",
"@semantic-release/npm": "12.0.1",
"@semantic-release/release-notes-generator": "14.0.1",
"@sentry/react": "8.36.0",
"@storybook/addon-a11y": "8.4.1",
"@storybook/addon-actions": "8.4.1",
"@storybook/addon-essentials": "8.4.1",
"@storybook/addon-storysource": "8.4.1",
"@storybook/blocks": "8.4.1",
"@storybook/react": "8.4.1",
"@storybook/react-vite": "8.4.1",
"@storybook/test": "8.4.1",
"@storybook/test-runner": "0.19.1",
"@storybook/testing-react": "2.0.1",
"@swc/core": "1.8.0",
"@swc/jest": "0.2.37",
"@tanstack/react-table": "8.20.5",
"@tanstack/react-virtual": "3.8.4",
"@testing-library/react": "16.0.1",
"@types/diacritics": "1.3.3",
"@types/jabber": "1.2.4",
"@types/jest": "29.5.14",
"@types/node": "20.14.10",
"@types/react": "18.3.12",
"@types/react-dom": "18.3.1",
"@types/sha1": "1.1.5",
"@types/styled-components": "5.1.30",
"@typescript-eslint/eslint-plugin": "6.21.0",
"@typescript-eslint/parser": "7.15.0",
"@vitejs/plugin-react": "4.3.3",
"browser-assert": "1.2.1",
"chromatic": "11.16.3",
"classnames": "2.5.1",
"commitlint-plugin-selective-scope": "1.0.1",
"cypress": "13.15.1",
"date-fns": "4.1.0",
"dayjs": "1.11.13",
"diacritics": "1.3.0",
"eslint": "8.43.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-airbnb-typescript": "17.0.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-cypress": "4.1.0",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-jest": "27.9.0",
"eslint-plugin-jsx-a11y": "6.10.2",
"eslint-plugin-mocha": "10.5.0",
"eslint-plugin-no-null": "1.0.2",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-react": "7.37.2",
"eslint-plugin-react-hooks": "4.6.2",
"eslint-plugin-sort-destructure-keys": "1.5.0",
"eslint-plugin-sort-keys-fix": "1.1.2",
"eslint-plugin-typescript-sort-keys": "3.3.0",
"formik": "2.4.6",
"fuse.js": "7.0.0",
"gh-pages": "6.2.0",
"glob": "11.0.0",
"http-server": "14.1.1",
"husky": "9.1.6",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"jest-environment-node": "29.7.0",
"json-stringify-deterministic": "1.0.12",
"ky": "0.33.3",
"lint-staged": "15.2.10",
"lodash": "4.17.21",
"ol": "7.1.0",
"postcss": "8.4.47",
"prettier": "3.3.3",
"react": "18.3.1",
"react-coordinate-input": "1.0.0",
"react-dom": "18.3.1",
"react-imask": "7.6.1",
"react-is": "18.3.1",
"react-toastify": "9.1.3",
"rollup": "4.24.4",
"rollup-plugin-bundle-size": "1.0.3",
"rollup-plugin-import-css": "3.5.6",
"rollup-plugin-peer-deps-external": "2.2.4",
"rollup-plugin-postcss": "4.0.2",
"rollup-plugin-sizes": "1.0.6",
"rollup-plugin-swc3": "0.12.1",
"rsuite": "5.53.2",
"semantic-release": "23.0.8",
"storybook": "8.4.1",
"storybook-addon-performance": "0.17.3",
"styled-components": "5.3.10",
"type-fest": "4.26.1",
"typescript": "5.6.3",
"use-debounce": "10.0.4",
"vite": "5.4.10",
"vite-tsconfig-paths": "5.0.1",
"yup": "1.4.0"
},
"peerDependencies": {
"@sentry/react": "^7.0.0 || ^8.0.0",
"@tanstack/react-table": "^8.0.0",
"@tanstack/react-virtual": "^3.0.0",
"cypress": "^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0",
"formik": "^2.0.0",
"react": "^18.0.0",
"react-router-dom": "^6.0.0",
"rsuite": "^5.53.2",
"styled-components": "^5.0.0 || ^6.0.0"
},
"//": "https://github.com/okonet/lint-staged/issues/825#issuecomment-674575655",
"lint-staged": {
"*.{json,md,yaml,yml}": "prettier --write",
"*.{ts,tsx}": [
"yarn eslint --ext js,jsx,ts,tsx",
"bash -c 'npm run test:type'"
]
},
"packageManager": "[email protected]"
}