2018-07-12 11:50:47 +02:00
|
|
|
{
|
2024-04-24 11:10:30 +02:00
|
|
|
"type": "module",
|
2018-07-12 11:50:47 +02:00
|
|
|
"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-18 09:33:07 +02:00
|
|
|
"@formatjs/intl-listformat": "^7.5.7",
|
2024-07-29 11:07:46 +02:00
|
|
|
"@frsource/autoresize-textarea": "^2.0.87",
|
2024-04-17 10:46:38 +02:00
|
|
|
"@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-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",
|
2024-09-20 18:22:49 +02:00
|
|
|
"@mapbox/mapbox-gl-draw": "^1.4.3",
|
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-10-03 21:22:51 +02:00
|
|
|
"@sentry/browser": "8.33.1",
|
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",
|
2024-07-29 11:07:46 +02:00
|
|
|
"@tmcw/togeojson": "^5.8.1",
|
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",
|
2022-02-08 12:49:51 +01:00
|
|
|
"geojson": "^0.5.0",
|
2024-07-05 14:34:53 +02:00
|
|
|
"graphiql": "^3.3.2",
|
2024-07-29 11:07:46 +02:00
|
|
|
"graphql": "^16.9.0",
|
2023-03-18 12:26:20 +01:00
|
|
|
"highcharts": "^10.3.3",
|
2024-04-08 10:23:07 +02:00
|
|
|
"lightgallery": "^2.7.2",
|
2024-09-20 18:22:49 +02:00
|
|
|
"maplibre-gl": "^4.5.0",
|
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",
|
2024-07-29 11:07:46 +02:00
|
|
|
"react-aria-components": "^1.3.1",
|
2022-02-08 12:49:51 +01:00
|
|
|
"react-coordinate-input": "^1.0.0",
|
2024-07-05 14:34:53 +02:00
|
|
|
"react-dom": "^18.3.1",
|
2024-09-20 18:22:49 +02:00
|
|
|
"react-fast-compare": "^3.2.2",
|
2024-05-06 18:07:29 +02:00
|
|
|
"react-use-event-hook": "^0.9.6",
|
2024-07-29 11:07:46 +02:00
|
|
|
"spectaql": "^3.0.1",
|
2024-04-04 18:55:06 +02:00
|
|
|
"stimulus-use": "^0.52.2",
|
2024-07-05 14:34:53 +02:00
|
|
|
"superstruct": "^2.0.2",
|
2024-07-29 11:07:46 +02:00
|
|
|
"terser": "^5.31.3",
|
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",
|
2024-06-04 23:06:34 +02:00
|
|
|
"usehooks-ts": "^3.1.0"
|
2018-07-12 11:50:47 +02:00
|
|
|
},
|
|
|
|
"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",
|
2024-09-20 18:22:49 +02:00
|
|
|
"@types/mapbox__mapbox-gl-draw": "^1.4.6",
|
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-29 11:07:46 +02:00
|
|
|
"@typescript-eslint/eslint-plugin": "^7.17.0",
|
|
|
|
"@typescript-eslint/parser": "^7.17.0",
|
2024-07-05 14:34:53 +02:00
|
|
|
"@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-07-29 11:07:46 +02:00
|
|
|
"eslint-plugin-prettier": "^5.2.1",
|
|
|
|
"eslint-plugin-react": "^7.35.0",
|
2024-05-30 11:13:21 +02:00
|
|
|
"eslint-plugin-react-hooks": "^4.6.2",
|
2024-07-29 11:07:46 +02:00
|
|
|
"jsdom": "^24.1.1",
|
|
|
|
"postcss": "^8.4.40",
|
2024-07-05 14:34:53 +02:00
|
|
|
"prettier": "^3.3.2",
|
2024-07-29 11:07:46 +02:00
|
|
|
"typescript": "^5.5.4",
|
|
|
|
"vite": "^5.3.5",
|
|
|
|
"vite-plugin-full-reload": "^1.2.0",
|
2023-11-29 01:02:56 +01:00
|
|
|
"vite-plugin-ruby": "^5.0.0",
|
2024-07-29 11:07:46 +02:00
|
|
|
"vitest": "^2.0.4"
|
2018-07-12 11:50:47 +02:00
|
|
|
},
|
|
|
|
"scripts": {
|
2022-10-25 12:08:57 +02:00
|
|
|
"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",
|
2022-02-02 17:16:50 +01:00
|
|
|
"lint:types": "tsc",
|
2024-11-05 18:54:10 +01:00
|
|
|
"lint:css": "prettier app/assets/stylesheets --check",
|
2024-11-05 19:02:31 +01:00
|
|
|
"lint:css:fix": "prettier app/assets/stylesheets --write",
|
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",
|
2024-05-22 09:21:25 +02:00
|
|
|
"coverage": "vitest run --coverage",
|
2024-05-30 11:44:59 +02:00
|
|
|
"up": "bunx npm-check-updates --root --format group -i",
|
|
|
|
"vite-bundle-visualizer": "bunx vite-bundle-visualizer"
|
2018-07-12 11:50:47 +02:00
|
|
|
},
|
2023-12-14 11:08:32 +01:00
|
|
|
"resolutions": {
|
|
|
|
"string-width": "4.2.2",
|
2024-07-29 11:07:46 +02:00
|
|
|
"wrap-ansi": "7.0.0"
|
2024-03-13 11:06:24 +01:00
|
|
|
},
|
|
|
|
"trustedDependencies": [
|
|
|
|
"core-js",
|
|
|
|
"esbuild",
|
|
|
|
"rollup"
|
2024-04-24 11:10:30 +02:00
|
|
|
],
|
|
|
|
"prettier": {
|
|
|
|
"singleQuote": true,
|
|
|
|
"trailingComma": "none"
|
|
|
|
},
|
|
|
|
"eslintConfig": {
|
|
|
|
"root": true,
|
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
"globals": {
|
|
|
|
"process": true,
|
|
|
|
"gon": true
|
|
|
|
},
|
2024-09-20 18:22:49 +02:00
|
|
|
"plugins": [
|
|
|
|
"prettier",
|
|
|
|
"react-hooks"
|
|
|
|
],
|
2024-04-24 11:10:30 +02:00
|
|
|
"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": {
|
2024-09-20 18:22:49 +02:00
|
|
|
"react": {
|
|
|
|
"version": "detect"
|
|
|
|
}
|
2024-04-24 11:10:30 +02:00
|
|
|
},
|
|
|
|
"overrides": [
|
|
|
|
{
|
2024-09-20 18:22:49 +02:00
|
|
|
"files": [
|
|
|
|
".eslintrc.js",
|
|
|
|
"vite.config.ts",
|
|
|
|
"postcss.config.js"
|
|
|
|
],
|
|
|
|
"env": {
|
|
|
|
"node": true
|
|
|
|
}
|
2024-04-24 11:10:30 +02:00
|
|
|
},
|
|
|
|
{
|
2024-09-20 18:22:49 +02:00
|
|
|
"files": [
|
|
|
|
"**/*.ts",
|
|
|
|
"**/*.tsx"
|
|
|
|
],
|
|
|
|
"plugins": [
|
|
|
|
"@typescript-eslint"
|
|
|
|
],
|
2024-04-24 11:10:30 +02:00
|
|
|
"extends": [
|
|
|
|
"eslint:recommended",
|
|
|
|
"plugin:@typescript-eslint/recommended",
|
|
|
|
"plugin:react-hooks/recommended",
|
2024-05-06 18:07:29 +02:00
|
|
|
"plugin:react/jsx-runtime",
|
2024-04-24 11:10:30 +02:00
|
|
|
"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"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2018-07-12 11:50:47 +02:00
|
|
|
}
|