2019-09-02 14:29:19 +03:00
|
|
|
{
|
|
|
|
"repository": {},
|
2021-10-28 15:03:38 +03:00
|
|
|
"version": "1.4.0",
|
2022-04-25 10:43:22 +03:00
|
|
|
"license": "AGPL-3.0-or-later",
|
2019-09-02 14:29:19 +03:00
|
|
|
"scripts": {
|
2024-08-15 12:27:22 +03:00
|
|
|
"test": "jest",
|
2024-08-13 11:39:35 +03:00
|
|
|
"format": "prettier --write",
|
|
|
|
"check-format": "prettier --check **/*.{js,css,ts,tsx} --require-pragma",
|
2024-08-05 19:22:56 +03:00
|
|
|
"eslint": "eslint js/**",
|
|
|
|
"stylelint": "stylelint css/**",
|
2024-08-13 11:39:35 +03:00
|
|
|
"lint": "npm run eslint && npm run stylelint",
|
2024-09-18 14:01:20 +03:00
|
|
|
"typecheck": "tsc --noEmit --pretty",
|
|
|
|
"generate-types": "json2ts ../priv/json-schemas/query-api-schema.json ../assets/js/types/query-api.d.ts"
|
2019-09-02 14:29:19 +03:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-02-20 12:10:11 +03:00
|
|
|
"@headlessui/react": "^1.7.10",
|
2022-10-04 13:20:51 +03:00
|
|
|
"@heroicons/react": "^2.0.11",
|
2024-05-22 11:01:41 +03:00
|
|
|
"@jsonurl/jsonurl": "^1.1.7",
|
2021-07-05 15:16:56 +03:00
|
|
|
"@juggle/resize-observer": "^3.3.1",
|
2022-09-01 11:22:04 +03:00
|
|
|
"@popperjs/core": "^2.11.6",
|
2023-07-11 14:59:56 +03:00
|
|
|
"@tailwindcss/aspect-ratio": "^0.4.2",
|
2023-09-07 17:23:19 +03:00
|
|
|
"@tailwindcss/forms": "^0.5.6",
|
2021-06-07 12:12:02 +03:00
|
|
|
"@tailwindcss/typography": "^0.4.1",
|
2024-07-22 11:09:45 +03:00
|
|
|
"@tanstack/react-query": "^5.51.1",
|
2021-06-07 12:12:02 +03:00
|
|
|
"abortcontroller-polyfill": "^1.7.3",
|
2023-10-17 12:01:27 +03:00
|
|
|
"alpinejs": "^3.13.1",
|
2021-06-07 11:29:42 +03:00
|
|
|
"chart.js": "^3.3.2",
|
2023-06-01 16:26:23 +03:00
|
|
|
"chartjs-plugin-datalabels": "^2.2.0",
|
2021-06-21 15:42:31 +03:00
|
|
|
"classnames": "^2.3.1",
|
2024-08-13 11:39:35 +03:00
|
|
|
"d3": "^7.9.0",
|
2023-04-07 15:56:02 +03:00
|
|
|
"dayjs": "^1.11.7",
|
2021-06-07 12:12:02 +03:00
|
|
|
"iframe-resizer": "^4.3.2",
|
2023-06-01 16:26:23 +03:00
|
|
|
"phoenix": "^1.7.2",
|
|
|
|
"phoenix_html": "^3.3.1",
|
|
|
|
"phoenix_live_view": "^0.18.18",
|
2024-07-09 13:23:04 +03:00
|
|
|
"react": "^18.3.1",
|
|
|
|
"react-dom": "^18.3.1",
|
2021-06-07 12:12:02 +03:00
|
|
|
"react-flatpickr": "3.10.5",
|
2020-07-14 16:52:26 +03:00
|
|
|
"react-flip-move": "^3.0.4",
|
2023-07-13 13:53:53 +03:00
|
|
|
"react-intersection-observer": "^9.5.2",
|
2022-09-01 11:22:04 +03:00
|
|
|
"react-popper": "^2.3.0",
|
2024-07-31 16:29:03 +03:00
|
|
|
"react-router-dom": "^6.25.1",
|
2021-06-07 12:12:02 +03:00
|
|
|
"react-transition-group": "^4.4.2",
|
2024-08-13 11:39:35 +03:00
|
|
|
"topojson-client": "^3.1.0",
|
|
|
|
"url-search-params-polyfill": "^8.2.5",
|
|
|
|
"visionscarto-world-atlas": "^1.0.0"
|
Add eslint, stylelint, prettier, and pre-commit (#484)
- When you try to commit, Pre-commit will run checks for all three, if
installed, _only_ on staged files, and prevent committing if the linters are
unhappy.
- Several eslint rules that generate a lot of errors are disabled for now.
That's to allow a more gradual transition, so you won't change 1 line and be
told to fix 100 other lines (but maybe like 20 because there are still a lot
of rules enabled).
- Prettier is set to require pragma. That's also to allow a more gradual
transition. As each file is tidied up, run Prettier on it, and it'll add a
special comment that tells it that it's now responsible for keeping that one
tidy.
2020-12-23 11:45:53 +03:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-08-15 12:27:22 +03:00
|
|
|
"@testing-library/dom": "^10.4.0",
|
|
|
|
"@testing-library/jest-dom": "^6.4.8",
|
|
|
|
"@testing-library/react": "^16.0.0",
|
|
|
|
"@testing-library/user-event": "^14.5.2",
|
2024-08-13 11:39:35 +03:00
|
|
|
"@types/classnames": "^2.3.1",
|
|
|
|
"@types/d3": "^7.4.3",
|
2024-08-15 12:27:22 +03:00
|
|
|
"@types/jest": "^29.5.12",
|
2024-08-13 11:39:35 +03:00
|
|
|
"@types/react": "^18.3.3",
|
|
|
|
"@types/react-dom": "^18.3.0",
|
2024-08-21 15:49:43 +03:00
|
|
|
"@types/react-flatpickr": "^3.8.11",
|
2024-08-13 11:39:35 +03:00
|
|
|
"@types/topojson-client": "^3.1.4",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^8.0.1",
|
|
|
|
"@typescript-eslint/parser": "^8.0.1",
|
2024-08-05 19:22:56 +03:00
|
|
|
"eslint": "^8.57.0",
|
|
|
|
"eslint-config-prettier": "^9.1.0",
|
2024-08-13 11:39:35 +03:00
|
|
|
"eslint-import-resolver-typescript": "^3.6.1",
|
2024-08-05 19:22:56 +03:00
|
|
|
"eslint-plugin-import": "^2.29.1",
|
2024-08-15 12:27:22 +03:00
|
|
|
"eslint-plugin-jest": "^28.8.0",
|
2024-08-05 19:22:56 +03:00
|
|
|
"eslint-plugin-jsx-a11y": "^6.9.0",
|
|
|
|
"eslint-plugin-react": "^7.35.0",
|
|
|
|
"eslint-plugin-react-hooks": "^4.6.2",
|
2024-08-15 12:27:22 +03:00
|
|
|
"jest": "^29.7.0",
|
|
|
|
"jest-environment-jsdom": "^29.7.0",
|
2024-09-18 14:01:20 +03:00
|
|
|
"json-schema-to-typescript": "^15.0.2",
|
2024-08-05 19:22:56 +03:00
|
|
|
"prettier": "^3.3.3",
|
|
|
|
"stylelint": "^16.8.1",
|
2024-08-13 11:39:35 +03:00
|
|
|
"stylelint-config-standard": "^36.0.1",
|
2024-08-15 12:27:22 +03:00
|
|
|
"ts-jest": "^29.2.4",
|
2024-08-13 11:39:35 +03:00
|
|
|
"typescript": "^5.5.4"
|
2021-03-15 16:56:12 +03:00
|
|
|
},
|
|
|
|
"name": "assets"
|
2019-09-02 14:29:19 +03:00
|
|
|
}
|