demarches-normaliennes/package.json

188 lines
5.8 KiB
JSON
Raw Normal View History

{
"type": "module",
"dependencies": {
2024-07-10 18:15:49 +02:00
"@coldwired/actions": "^0.15.1",
"@coldwired/react": "^0.15.1",
"@coldwired/turbo-stream": "^0.15.1",
2024-05-06 18:07:29 +02:00
"@coldwired/utils": "^0.13.0",
2024-07-05 14:34:53 +02:00
"@frsource/autoresize-textarea": "^2.0.82",
"@gouvfr/dsfr": "^1.11.2",
2024-07-05 14:34:53 +02:00
"@graphiql/plugin-explorer": "^3.1.0",
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-07-05 14:34:53 +02:00
"@rails/actiontext": "^7.1.3-4",
"@rails/activestorage": "^7.1.3-4",
"@rails/ujs": "^7.1.3-4",
2022-08-31 15:57:37 +02:00
"@reach/slider": "^0.17.0",
2024-07-05 14:34:53 +02:00
"@sentry/browser": "8.15.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",
2024-05-30 11:13:21 +02:00
"core-js": "^3.37.1",
2024-07-05 14:34:53 +02:00
"date-fns": "^3.6.0",
"debounce": "^2.1.0",
"geojson": "^0.5.0",
2024-07-05 14:34:53 +02:00
"graphiql": "^3.3.2",
2024-07-10 20:53:12 +02:00
"graphql": "^16.8.1",
2023-03-18 12:26:20 +01:00
"highcharts": "^10.3.3",
"lightgallery": "^2.7.2",
"maplibre-gl": "^1.15.2",
2024-04-04 18:55:06 +02:00
"match-sorter": "^6.3.4",
2024-05-30 11:13:21 +02:00
"patch-package": "^8.0.0",
2024-07-05 14:34:53 +02:00
"react": "^18.3.1",
"react-aria-components": "^1.2.1",
"react-coordinate-input": "^1.0.0",
2024-07-05 14:34:53 +02:00
"react-dom": "^18.3.1",
2022-07-05 14:36:21 +02:00
"react-popper": "^2.3.0",
2024-05-06 18:07:29 +02:00
"react-use-event-hook": "^0.9.6",
2024-04-04 18:55:06 +02:00
"spectaql": "^2.3.1",
"stimulus-use": "^0.52.2",
2024-07-05 14:34:53 +02:00
"superstruct": "^2.0.2",
"terser": "^5.31.1",
2024-04-04 18:55:06 +02:00
"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",
"usehooks-ts": "^3.1.0"
},
"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",
2024-07-05 14:34:53 +02:00
"@react-aria/optimize-locales-plugin": "^1.1.1",
2024-03-13 11:06:24 +01:00
"@rollup/rollup-darwin-arm64": "=4.9.1",
2024-05-06 18:07:29 +02:00
"@rollup/rollup-linux-x64-gnu": "=4.9.1",
2024-03-13 11:06:24 +01:00
"@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",
2024-07-05 14:34:53 +02:00
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
2024-04-04 18:55:06 +02:00
"@types/sortablejs": "^1.15.8",
2024-07-05 14:34:53 +02:00
"@typescript-eslint/eslint-plugin": "^7.15.0",
"@typescript-eslint/parser": "^7.15.0",
"@vitejs/plugin-react": "^4.3.1",
2024-04-04 18:55:06 +02:00
"autoprefixer": "^10.4.19",
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",
2024-05-30 11:13:21 +02:00
"eslint-config-prettier": "^9.1.0",
2024-04-04 18:55:06 +02:00
"eslint-plugin-prettier": "^5.1.3",
2024-07-05 14:34:53 +02:00
"eslint-plugin-react": "^7.34.3",
2024-05-30 11:13:21 +02:00
"eslint-plugin-react-hooks": "^4.6.2",
2024-07-05 14:34:53 +02:00
"jsdom": "^24.1.0",
"postcss": "^8.4.39",
"prettier": "^3.3.2",
"typescript": "^5.5.3",
"vite": "^5.3.3",
2023-11-29 01:02:56 +01:00
"vite-plugin-full-reload": "^1.1.0",
"vite-plugin-ruby": "^5.0.0",
2024-07-05 14:34:53 +02:00
"vitest": "^2.0.0"
},
"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",
"vite-bundle-visualizer": "bunx vite-bundle-visualizer"
},
"resolutions": {
"string-width": "4.2.2",
2024-07-10 20:53:12 +02:00
"wrap-ansi": "7.0.0",
"graphql": "16.8.1"
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",
2024-05-06 18:07:29 +02:00
"plugin:react/jsx-runtime",
"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"
}
}
]
}
}