2020-07-17 10:03:38 +02:00
|
|
|
{
|
|
|
|
"name": "umami",
|
2024-01-14 11:21:39 +01:00
|
|
|
"version": "2.10.0",
|
2022-04-10 12:51:43 +02:00
|
|
|
"description": "A simple, fast, privacy-focused alternative to Google Analytics.",
|
2020-07-18 04:15:29 +02:00
|
|
|
"author": "Mike Cao <mike@mikecao.com>",
|
2020-07-17 10:03:38 +02:00
|
|
|
"license": "MIT",
|
2021-02-27 07:46:44 +01:00
|
|
|
"homepage": "https://umami.is",
|
2020-07-24 04:56:55 +02:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2022-07-17 07:23:43 +02:00
|
|
|
"url": "https://github.com/umami-software/umami.git"
|
2020-07-24 04:56:55 +02:00
|
|
|
},
|
2020-07-17 10:03:38 +02:00
|
|
|
"scripts": {
|
2023-03-09 01:37:43 +01:00
|
|
|
"dev": "next dev -p 3000",
|
2023-05-17 05:41:20 +02:00
|
|
|
"build": "npm-run-all check-env build-db check-db build-tracker build-geo build-app",
|
2022-09-09 16:33:39 +02:00
|
|
|
"start": "next start",
|
2022-08-23 19:49:45 +02:00
|
|
|
"build-docker": "npm-run-all build-db build-tracker build-geo build-app",
|
2022-08-09 22:09:41 +02:00
|
|
|
"start-docker": "npm-run-all check-db update-tracker start-server",
|
2022-06-27 19:34:03 +02:00
|
|
|
"start-env": "node scripts/start-env.js",
|
2022-06-19 09:07:01 +02:00
|
|
|
"start-server": "node server.js",
|
2020-08-21 10:45:44 +02:00
|
|
|
"build-app": "next build",
|
2023-08-21 11:06:09 +02:00
|
|
|
"build-components": "rollup -c rollup.components.config.mjs",
|
|
|
|
"build-tracker": "rollup -c rollup.tracker.config.mjs",
|
2022-06-22 10:53:52 +02:00
|
|
|
"build-db": "npm-run-all copy-db-files build-db-client",
|
2023-08-29 05:23:40 +02:00
|
|
|
"build-lang": "npm-run-all format-lang compile-lang clean-lang download-country-names download-language-names",
|
2020-09-27 05:21:16 +02:00
|
|
|
"build-geo": "node scripts/build-geo.js",
|
2022-06-19 09:07:01 +02:00
|
|
|
"build-db-schema": "prisma db pull",
|
|
|
|
"build-db-client": "prisma generate",
|
2022-08-09 22:09:41 +02:00
|
|
|
"update-tracker": "node scripts/update-tracker.js",
|
2022-06-19 09:07:01 +02:00
|
|
|
"update-db": "prisma migrate deploy",
|
2022-06-22 10:50:33 +02:00
|
|
|
"check-db": "node scripts/check-db.js",
|
2023-05-17 05:41:20 +02:00
|
|
|
"check-env": "node scripts/check-env.js",
|
2022-06-19 09:07:01 +02:00
|
|
|
"copy-db-files": "node scripts/copy-db-files.js",
|
2023-08-31 18:32:17 +02:00
|
|
|
"extract-messages": "formatjs extract \"src/{pages,components}/**/*.js\" --out-file build/messages.json",
|
2023-04-08 07:03:52 +02:00
|
|
|
"merge-messages": "node scripts/merge-messages.js",
|
|
|
|
"generate-lang": "npm-run-all extract-messages merge-messages",
|
2020-09-12 13:19:33 +02:00
|
|
|
"format-lang": "node scripts/format-lang.js",
|
2023-04-22 09:55:55 +02:00
|
|
|
"compile-lang": "formatjs compile-folder --ast build/messages public/intl/messages",
|
2023-08-29 05:23:40 +02:00
|
|
|
"clean-lang": "prettier --write ./public/intl/messages/*.json",
|
2020-10-02 02:05:10 +02:00
|
|
|
"check-lang": "node scripts/check-lang.js",
|
2020-10-03 20:21:44 +02:00
|
|
|
"download-country-names": "node scripts/download-country-names.js",
|
2021-12-20 08:25:29 +01:00
|
|
|
"download-language-names": "node scripts/download-language-names.js",
|
2022-01-06 09:49:07 +01:00
|
|
|
"change-password": "node scripts/change-password.js",
|
2021-11-22 23:53:36 +01:00
|
|
|
"lint": "next lint --quiet",
|
2022-04-26 03:31:13 +02:00
|
|
|
"prepare": "node -e \"if (process.env.NODE_ENV !== 'production'){process.exit(1)} \" || husky install",
|
2022-04-08 05:13:53 +02:00
|
|
|
"postbuild": "node scripts/postbuild.js"
|
2020-07-17 10:03:38 +02:00
|
|
|
},
|
|
|
|
"lint-staged": {
|
2022-11-20 03:28:46 +01:00
|
|
|
"**/*.{js,jsx,ts,tsx}": [
|
2020-08-29 06:34:20 +02:00
|
|
|
"prettier --write",
|
|
|
|
"eslint"
|
2020-07-17 10:03:38 +02:00
|
|
|
],
|
|
|
|
"**/*.css": [
|
|
|
|
"stylelint --fix",
|
2020-08-31 12:53:39 +02:00
|
|
|
"prettier --write"
|
2020-09-10 01:12:29 +02:00
|
|
|
],
|
|
|
|
"**/*.json": [
|
|
|
|
"prettier --write"
|
2020-07-17 10:03:38 +02:00
|
|
|
]
|
|
|
|
},
|
2022-12-27 05:50:55 +01:00
|
|
|
"cacheDirectories": [
|
|
|
|
".next/cache"
|
|
|
|
],
|
2020-07-17 10:03:38 +02:00
|
|
|
"dependencies": {
|
2023-09-29 01:45:25 +02:00
|
|
|
"@clickhouse/client": "^0.2.2",
|
2023-04-03 08:12:43 +02:00
|
|
|
"@fontsource/inter": "^4.5.15",
|
2023-12-14 23:01:58 +01:00
|
|
|
"@prisma/client": "5.7.0",
|
2023-11-28 01:11:09 +01:00
|
|
|
"@prisma/extension-read-replicas": "^0.3.0",
|
2023-09-30 04:18:44 +02:00
|
|
|
"@react-spring/web": "^9.7.3",
|
2023-12-03 12:07:03 +01:00
|
|
|
"@tanstack/react-query": "^5.12.2",
|
2024-02-06 20:17:59 +01:00
|
|
|
"@umami/prisma-client": "^0.14.0",
|
2023-11-28 05:47:35 +01:00
|
|
|
"@umami/redis-client": "^0.18.0",
|
2021-04-25 06:27:24 +02:00
|
|
|
"chalk": "^4.1.1",
|
2023-03-15 06:37:50 +01:00
|
|
|
"chart.js": "^4.2.1",
|
|
|
|
"chartjs-adapter-date-fns": "^3.0.0",
|
2021-04-25 06:27:24 +02:00
|
|
|
"classnames": "^2.3.1",
|
2022-01-14 09:39:27 +01:00
|
|
|
"colord": "^2.9.2",
|
2020-07-18 19:36:46 +02:00
|
|
|
"cors": "^2.8.5",
|
2022-06-19 09:07:01 +02:00
|
|
|
"cross-spawn": "^7.0.3",
|
2021-07-26 06:36:07 +02:00
|
|
|
"date-fns": "^2.23.0",
|
2021-07-12 09:39:12 +02:00
|
|
|
"date-fns-tz": "^1.1.4",
|
2022-08-09 07:09:18 +02:00
|
|
|
"dateformat": "^5.0.3",
|
2022-08-27 07:43:31 +02:00
|
|
|
"debug": "^4.3.4",
|
2022-04-04 23:36:42 +02:00
|
|
|
"del": "^6.0.0",
|
2020-10-14 03:24:27 +02:00
|
|
|
"detect-browser": "^5.2.0",
|
2021-10-27 11:05:39 +02:00
|
|
|
"dotenv": "^10.0.0",
|
2022-06-12 08:41:41 +02:00
|
|
|
"fs-extra": "^10.0.1",
|
2022-02-23 07:47:59 +01:00
|
|
|
"immer": "^9.0.12",
|
2021-07-12 09:39:12 +02:00
|
|
|
"ipaddr.js": "^2.0.1",
|
2022-04-04 23:36:42 +02:00
|
|
|
"is-ci": "^3.0.1",
|
|
|
|
"is-docker": "^3.0.0",
|
2020-07-18 09:25:29 +02:00
|
|
|
"is-localhost-ip": "^1.4.0",
|
2022-03-12 03:36:57 +01:00
|
|
|
"isbot": "^3.4.5",
|
2022-08-01 09:28:38 +02:00
|
|
|
"kafkajs": "^2.1.0",
|
2022-03-18 05:02:54 +01:00
|
|
|
"maxmind": "^4.3.6",
|
2024-01-31 11:30:49 +01:00
|
|
|
"md5": "^2.3.0",
|
2022-08-31 07:34:17 +02:00
|
|
|
"moment-timezone": "^0.5.35",
|
2024-02-17 04:26:46 +01:00
|
|
|
"next": "14.1.0",
|
2023-12-03 12:07:03 +01:00
|
|
|
"next-basics": "^0.39.0",
|
2022-07-17 07:28:05 +02:00
|
|
|
"node-fetch": "^3.2.8",
|
2022-04-04 12:43:29 +02:00
|
|
|
"npm-run-all": "^4.1.5",
|
2023-12-14 23:01:58 +01:00
|
|
|
"prisma": "5.7.0",
|
2022-11-22 07:32:55 +01:00
|
|
|
"react": "^18.2.0",
|
2024-01-16 23:19:44 +01:00
|
|
|
"react-basics": "^0.122.0",
|
2022-07-24 07:56:13 +02:00
|
|
|
"react-beautiful-dnd": "^13.1.0",
|
2022-11-22 07:32:55 +01:00
|
|
|
"react-dom": "^18.2.0",
|
2023-04-25 23:41:54 +02:00
|
|
|
"react-error-boundary": "^4.0.4",
|
2023-11-14 06:58:23 +01:00
|
|
|
"react-intl": "^6.5.5",
|
2020-11-02 07:01:30 +01:00
|
|
|
"react-simple-maps": "^2.3.0",
|
2021-03-27 01:08:58 +01:00
|
|
|
"react-use-measure": "^2.0.4",
|
2020-11-02 07:01:30 +01:00
|
|
|
"react-window": "^1.8.6",
|
2022-08-23 21:12:28 +02:00
|
|
|
"request-ip": "^3.3.0",
|
2023-10-20 03:12:02 +02:00
|
|
|
"semver": "^7.5.4",
|
2020-08-23 04:05:07 +02:00
|
|
|
"thenby": "^1.3.4",
|
2020-09-19 19:35:05 +02:00
|
|
|
"timezone-support": "^2.0.2",
|
2023-07-29 02:21:34 +02:00
|
|
|
"uuid": "^9.0.0",
|
2023-01-06 04:39:29 +01:00
|
|
|
"yup": "^0.32.11",
|
2023-05-20 18:02:08 +02:00
|
|
|
"zustand": "^4.3.8"
|
2020-07-17 10:03:38 +02:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-07-26 06:36:07 +02:00
|
|
|
"@formatjs/cli": "^4.2.29",
|
2024-02-12 01:58:42 +01:00
|
|
|
"@netlify/plugin-nextjs": "^4.41.3",
|
2023-04-21 21:43:37 +02:00
|
|
|
"@rollup/plugin-alias": "^5.0.0",
|
2023-08-21 11:06:09 +02:00
|
|
|
"@rollup/plugin-commonjs": "^25.0.4",
|
2023-04-21 21:43:37 +02:00
|
|
|
"@rollup/plugin-json": "^6.0.0",
|
2023-08-21 11:06:09 +02:00
|
|
|
"@rollup/plugin-node-resolve": "^15.2.0",
|
|
|
|
"@rollup/plugin-replace": "^5.0.2",
|
|
|
|
"@svgr/rollup": "^8.1.0",
|
2023-09-29 14:29:22 +02:00
|
|
|
"@svgr/webpack": "^8.1.0",
|
2023-11-13 23:12:05 +01:00
|
|
|
"@types/node": "^20.9.0",
|
2023-12-03 12:07:03 +01:00
|
|
|
"@types/react": "^18.2.41",
|
|
|
|
"@types/react-dom": "^18.2.17",
|
2023-12-09 10:25:02 +01:00
|
|
|
"@types/react-window": "^1.8.8",
|
2023-09-29 14:29:22 +02:00
|
|
|
"@typescript-eslint/eslint-plugin": "^6.7.3",
|
|
|
|
"@typescript-eslint/parser": "^6.7.3",
|
2020-12-03 04:27:57 +01:00
|
|
|
"cross-env": "^7.0.3",
|
2023-04-21 21:43:37 +02:00
|
|
|
"esbuild": "^0.17.17",
|
2023-02-04 17:59:52 +01:00
|
|
|
"eslint": "^8.33.0",
|
2023-12-14 23:01:58 +01:00
|
|
|
"eslint-config-next": "^14.0.4",
|
2022-03-31 18:55:42 +02:00
|
|
|
"eslint-config-prettier": "^8.5.0",
|
2022-08-29 05:20:54 +02:00
|
|
|
"eslint-import-resolver-alias": "^1.1.2",
|
|
|
|
"eslint-plugin-import": "^2.26.0",
|
2021-10-27 11:05:39 +02:00
|
|
|
"eslint-plugin-prettier": "^4.0.0",
|
2020-09-06 02:27:01 +02:00
|
|
|
"extract-react-intl-messages": "^4.1.1",
|
2023-09-29 14:29:22 +02:00
|
|
|
"husky": "^8.0.3",
|
|
|
|
"lint-staged": "^14.0.1",
|
2023-10-06 22:16:53 +02:00
|
|
|
"postcss": "^8.4.31",
|
2020-12-03 04:27:57 +01:00
|
|
|
"postcss-flexbugs-fixes": "^5.0.2",
|
2023-01-19 00:05:39 +01:00
|
|
|
"postcss-import": "^15.1.0",
|
|
|
|
"postcss-preset-env": "7.8.3",
|
|
|
|
"postcss-rtlcss": "^4.0.1",
|
2022-04-11 09:35:11 +02:00
|
|
|
"prettier": "^2.6.2",
|
2022-03-31 18:55:42 +02:00
|
|
|
"prompts": "2.4.2",
|
2023-08-21 11:06:09 +02:00
|
|
|
"rollup": "^3.28.0",
|
|
|
|
"rollup-plugin-copy": "^3.4.0",
|
2023-04-21 21:43:37 +02:00
|
|
|
"rollup-plugin-delete": "^2.0.0",
|
2023-08-21 21:24:41 +02:00
|
|
|
"rollup-plugin-dts": "^5.3.1",
|
2023-04-21 21:43:37 +02:00
|
|
|
"rollup-plugin-esbuild": "^5.0.0",
|
2023-08-21 11:06:09 +02:00
|
|
|
"rollup-plugin-node-externals": "^6.1.1",
|
2023-04-21 21:43:37 +02:00
|
|
|
"rollup-plugin-postcss": "^4.0.2",
|
2020-09-16 05:49:17 +02:00
|
|
|
"rollup-plugin-terser": "^7.0.2",
|
2023-07-10 18:54:51 +02:00
|
|
|
"stylelint": "^15.10.1",
|
2022-04-09 02:13:30 +02:00
|
|
|
"stylelint-config-css-modules": "^4.1.0",
|
2021-10-27 11:05:39 +02:00
|
|
|
"stylelint-config-prettier": "^9.0.3",
|
2023-01-21 02:12:53 +01:00
|
|
|
"stylelint-config-recommended": "^9.0.0",
|
2023-02-04 17:59:52 +01:00
|
|
|
"tar": "^6.1.2",
|
2023-03-23 22:01:15 +01:00
|
|
|
"ts-node": "^10.9.1",
|
2023-08-21 11:06:09 +02:00
|
|
|
"typescript": "^5.1.6"
|
2022-12-27 05:50:55 +01:00
|
|
|
}
|
2020-07-17 10:03:38 +02:00
|
|
|
}
|