mirror of
https://github.com/plausible/analytics.git
synced 2024-12-24 01:54:34 +03:00
039f3baf8e
* Add typescript, rewrite Countries map * Add back DB IP geolocation notice * Silence all current eslint warnings: to be removed gradually * Reconfigure eslint import plugin for typescript * Insert formatting pragma by default, but ignore files without pragma in CI
68 lines
2.1 KiB
JSON
68 lines
2.1 KiB
JSON
{
|
|
"repository": {},
|
|
"version": "1.4.0",
|
|
"license": "AGPL-3.0-or-later",
|
|
"scripts": {
|
|
"format": "prettier --write",
|
|
"check-format": "prettier --check **/*.{js,css,ts,tsx} --require-pragma",
|
|
"eslint": "eslint js/**",
|
|
"stylelint": "stylelint css/**",
|
|
"lint": "npm run eslint && npm run stylelint",
|
|
"typecheck": "tsc --noEmit --pretty"
|
|
},
|
|
"dependencies": {
|
|
"@headlessui/react": "^1.7.10",
|
|
"@heroicons/react": "^2.0.11",
|
|
"@jsonurl/jsonurl": "^1.1.7",
|
|
"@juggle/resize-observer": "^3.3.1",
|
|
"@popperjs/core": "^2.11.6",
|
|
"@tailwindcss/aspect-ratio": "^0.4.2",
|
|
"@tailwindcss/forms": "^0.5.6",
|
|
"@tailwindcss/typography": "^0.4.1",
|
|
"@tanstack/react-query": "^5.51.1",
|
|
"abortcontroller-polyfill": "^1.7.3",
|
|
"alpinejs": "^3.13.1",
|
|
"chart.js": "^3.3.2",
|
|
"chartjs-plugin-datalabels": "^2.2.0",
|
|
"classnames": "^2.3.1",
|
|
"d3": "^7.9.0",
|
|
"dayjs": "^1.11.7",
|
|
"iframe-resizer": "^4.3.2",
|
|
"phoenix": "^1.7.2",
|
|
"phoenix_html": "^3.3.1",
|
|
"phoenix_live_view": "^0.18.18",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"react-flatpickr": "3.10.5",
|
|
"react-flip-move": "^3.0.4",
|
|
"react-intersection-observer": "^9.5.2",
|
|
"react-popper": "^2.3.0",
|
|
"react-router-dom": "^6.25.1",
|
|
"react-transition-group": "^4.4.2",
|
|
"topojson-client": "^3.1.0",
|
|
"url-search-params-polyfill": "^8.2.5",
|
|
"visionscarto-world-atlas": "^1.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/classnames": "^2.3.1",
|
|
"@types/d3": "^7.4.3",
|
|
"@types/react": "^18.3.3",
|
|
"@types/react-dom": "^18.3.0",
|
|
"@types/topojson-client": "^3.1.4",
|
|
"@typescript-eslint/eslint-plugin": "^8.0.1",
|
|
"@typescript-eslint/parser": "^8.0.1",
|
|
"eslint": "^8.57.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-import-resolver-typescript": "^3.6.1",
|
|
"eslint-plugin-import": "^2.29.1",
|
|
"eslint-plugin-jsx-a11y": "^6.9.0",
|
|
"eslint-plugin-react": "^7.35.0",
|
|
"eslint-plugin-react-hooks": "^4.6.2",
|
|
"prettier": "^3.3.3",
|
|
"stylelint": "^16.8.1",
|
|
"stylelint-config-standard": "^36.0.1",
|
|
"typescript": "^5.5.4"
|
|
},
|
|
"name": "assets"
|
|
}
|