demarches-normaliennes/package.json

193 lines
5.9 KiB
JSON
Raw Normal View History

{
"type": "module",
"dependencies": {
"@coldwired/actions": "^0.11.2",
"@coldwired/turbo-stream": "^0.11.1",
2023-10-26 16:01:15 +02:00
"@coldwired/utils": "^0.11.4",
2024-03-07 12:06:00 +01:00
"@frsource/autoresize-textarea": "^2.0.53",
"@gouvfr/dsfr": "^1.11.2",
2024-04-04 18:55:06 +02:00
"@graphiql/plugin-explorer": "^1.0.3",
2023-09-01 11:04:34 +02:00
"@graphiql/toolkit": "^0.9.1",
2022-08-03 14:31:42 +02:00
"@headlessui/react": "^1.6.6",
2022-03-31 12:39:17 +02:00
"@heroicons/react": "^1.0.6",
2023-09-01 11:04:34 +02:00
"@hotwired/stimulus": "^3.2.2",
2023-03-18 12:26:20 +01:00
"@hotwired/turbo": "^7.3.0",
"@mapbox/mapbox-gl-draw": "^1.3.0",
2023-09-01 11:04:34 +02:00
"@popperjs/core": "^2.11.8",
2024-04-04 18:55:06 +02:00
"@rails/actiontext": "^7.1.3-2",
"@rails/activestorage": "^7.1.3-2",
"@rails/ujs": "^7.1.3-2",
2022-08-31 15:57:37 +02:00
"@reach/combobox": "^0.17.0",
"@reach/slider": "^0.17.0",
2024-04-04 18:55:06 +02:00
"@sentry/browser": "7.107.0",
"@stimulus/polyfills": "^2.0.0",
2024-04-04 18:55:06 +02:00
"@tiptap/core": "^2.2.4",
"@tiptap/extension-bold": "^2.2.4",
"@tiptap/extension-bullet-list": "^2.2.4",
"@tiptap/extension-document": "^2.2.4",
"@tiptap/extension-gapcursor": "^2.2.4",
"@tiptap/extension-heading": "^2.2.4",
"@tiptap/extension-highlight": "^2.2.4",
"@tiptap/extension-history": "^2.2.4",
"@tiptap/extension-italic": "^2.2.4",
"@tiptap/extension-link": "^2.2.4",
"@tiptap/extension-list-item": "^2.2.4",
"@tiptap/extension-mention": "^2.2.4",
"@tiptap/extension-ordered-list": "^2.2.4",
"@tiptap/extension-paragraph": "^2.2.4",
"@tiptap/extension-strike": "^2.2.4",
"@tiptap/extension-text": "^2.2.4",
"@tiptap/extension-text-align": "^2.2.4",
"@tiptap/extension-typography": "^2.2.4",
"@tiptap/extension-underline": "^2.2.4",
"@tiptap/pm": "^2.2.4",
"@tiptap/suggestion": "^2.2.4",
2023-03-18 12:26:20 +01:00
"@tmcw/togeojson": "^5.6.0",
2023-04-03 12:31:45 +02:00
"chartkick": "^5.0.1",
"core-js": "^3.31.0",
2023-05-04 14:13:41 +02:00
"date-fns": "^2.30.0",
2021-08-31 18:13:38 +02:00
"debounce": "^1.2.1",
"dom4": "^2.1.6",
"email-butler": "^1.0.13",
"geojson": "^0.5.0",
2024-04-04 18:55:06 +02:00
"graphiql": "^3.1.1",
"graphql": "^16.8.1",
2023-03-18 12:26:20 +01:00
"highcharts": "^10.3.3",
2022-07-05 14:36:21 +02:00
"intersection-observer": "^0.12.2",
"is-hotkey": "^0.2.0",
"lightgallery": "^2.7.2",
"maplibre-gl": "^1.15.2",
2024-04-04 18:55:06 +02:00
"match-sorter": "^6.3.4",
2023-05-04 14:13:41 +02:00
"patch-package": "^7.0.0",
2022-07-05 14:36:21 +02:00
"react": "^18.2.0",
"react-coordinate-input": "^1.0.0",
2022-07-05 14:36:21 +02:00
"react-dom": "^18.2.0",
"react-popper": "^2.3.0",
2023-03-18 12:26:20 +01:00
"react-query": "^3.39.3",
2024-04-04 18:55:06 +02:00
"spectaql": "^2.3.1",
"stimulus-use": "^0.52.2",
"terser": "^5.29.2",
"tiny-invariant": "^1.3.3",
2023-11-14 11:44:55 +01:00
"tippy.js": "^6.3.7",
2020-05-13 18:48:53 +02:00
"trix": "^1.2.3",
2023-04-05 12:05:26 +02:00
"turbo-polyfills": "^0.5.0",
2023-04-03 12:31:45 +02:00
"use-debounce": "^9.0.4",
2024-04-04 18:55:06 +02:00
"whatwg-fetch": "^3.6.20",
2022-04-29 14:11:00 +02:00
"yet-another-abortcontroller-polyfill": "^0.0.4",
"zod": "^3.20.2"
},
"devDependencies": {
2024-03-13 11:06:24 +01:00
"@esbuild/darwin-arm64": "=0.19.9",
"@esbuild/linux-x64": "=0.19.9",
"@esbuild/win32-x64": "=0.19.9",
"@rollup/rollup-linux-x64-gnu": "=4.9.1",
"@rollup/rollup-darwin-arm64": "=4.9.1",
"@rollup/rollup-win32-x64-msvc": "=4.9.1",
2024-04-04 18:55:06 +02:00
"@types/debounce": "^1.2.4",
"@types/geojson": "^7946.0.14",
"@types/is-hotkey": "^0.1.10",
2022-08-31 15:57:37 +02:00
"@types/mapbox__mapbox-gl-draw": "^1.2.5",
2024-04-04 18:55:06 +02:00
"@types/rails__activestorage": "^7.1.1",
"@types/rails__ujs": "^6.0.4",
2022-03-31 12:39:17 +02:00
"@types/react": "^17.0.43",
"@types/react-dom": "^17.0.14",
2024-04-04 18:55:06 +02:00
"@types/sortablejs": "^1.15.8",
2023-11-29 01:02:56 +01:00
"@typescript-eslint/eslint-plugin": "^6.13.1",
"@typescript-eslint/parser": "^6.13.1",
"@vitejs/plugin-legacy": "^5.2.0",
"@vitejs/plugin-react": "^4.2.0",
2024-04-04 18:55:06 +02:00
"autoprefixer": "^10.4.19",
"axe-core": "^4.8.4",
2023-09-01 11:04:34 +02:00
"del-cli": "^5.1.0",
2024-04-04 18:55:06 +02:00
"eslint": "^8.57.0",
2023-09-01 11:04:34 +02:00
"eslint-config-prettier": "^9.0.0",
2024-04-04 18:55:06 +02:00
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.34.1",
2022-06-17 12:36:21 +02:00
"eslint-plugin-react-hooks": "^4.6.0",
2023-09-01 11:04:34 +02:00
"jsdom": "^22.1.0",
2024-04-04 18:55:06 +02:00
"postcss": "^8.4.38",
"prettier": "^3.2.5",
"typescript": "^5.4.3",
"vite": "^5.0.12",
2023-11-29 01:02:56 +01:00
"vite-plugin-full-reload": "^1.1.0",
"vite-plugin-ruby": "^5.0.0",
"vitest": "^0.34.6"
},
"scripts": {
"clean": "del tmp public/graphql && bin/vite clobber",
2022-06-17 12:36:21 +02:00
"lint:js": "eslint --ext .js,.jsx,.ts,.tsx ./app/javascript",
2020-09-08 16:37:14 +02:00
"webpack:build": "NODE_ENV=production bin/webpack",
2022-02-02 17:16:50 +01:00
"lint:types": "tsc",
2023-12-13 17:34:06 +01:00
"graphql:doc:build": "RAILS_ENV=production bin/rake graphql:schema:idl && spectaql spectaql_config.yml",
2022-07-05 13:38:00 +02:00
"postinstall": "patch-package",
"test": "vitest",
"coverage": "vitest run --coverage",
"up": "bunx npm-check-updates --root --format group -i"
},
"resolutions": {
"string-width": "4.2.2",
"wrap-ansi": "7.0.0"
2024-03-13 11:06:24 +01:00
},
"trustedDependencies": [
"core-js",
"esbuild",
"rollup"
],
"prettier": {
"singleQuote": true,
"trailingComma": "none"
},
"eslintConfig": {
"root": true,
"parser": "@typescript-eslint/parser",
"globals": {
"process": true,
"gon": true
},
"plugins": ["prettier", "react-hooks"],
"extends": [
"eslint:recommended",
"prettier",
"plugin:react/recommended",
"plugin:react-hooks/recommended"
],
"env": {
"es6": true,
"browser": true
},
"rules": {
"prettier/prettier": "error",
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "error",
"react/prop-types": "off",
"react/no-deprecated": "off"
},
"settings": {
"react": { "version": "detect" }
},
"overrides": [
{
"files": [".eslintrc.js", "vite.config.ts", "postcss.config.js"],
"env": { "node": true }
},
{
"files": ["**/*.ts", "**/*.tsx"],
"plugins": ["@typescript-eslint"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react-hooks/recommended",
"prettier"
],
"rules": {
"prettier/prettier": "error",
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "error",
"@typescript-eslint/no-explicit-any": "error",
"@typescript-eslint/no-unused-vars": "error"
}
}
]
}
}