Umami is a simple, fast, website analytics alternative to Google Analytics. https://github.com/mikecao/umami https://umami.is/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

133 lines
4.4 KiB

9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
10 months ago
9 months ago
10 months ago
10 months ago
10 months ago
9 months ago
10 months ago
9 months ago
  1. {
  2. "name": "umami",
  3. "version": "1.14.0",
  4. "description": "A simple, fast, website analytics alternative to Google Analytics. ",
  5. "author": "Mike Cao <mike@mikecao.com>",
  6. "license": "MIT",
  7. "homepage": "https://umami.is",
  8. "repository": {
  9. "type": "git",
  10. "url": "https://github.com/mikecao/umami.git"
  11. },
  12. "scripts": {
  13. "dev": "next dev",
  14. "build": "npm-run-all build-tracker build-lang build-geo build-db build-app",
  15. "start": "next start",
  16. "start-env": "node -r dotenv/config scripts/start-env.js",
  17. "build-app": "next build",
  18. "build-tracker": "rollup -c rollup.tracker.config.js",
  19. "build-db": "npm-run-all copy-db-schema build-db-client",
  20. "build-lang": "npm-run-all format-lang compile-lang",
  21. "build-geo": "node scripts/build-geo.js",
  22. "build-db-schema": "dotenv prisma introspect",
  23. "build-db-client": "dotenv prisma generate",
  24. "build-mysql-schema": "dotenv prisma introspect -- --schema=./prisma/schema.mysql.prisma",
  25. "build-mysql-client": "dotenv prisma generate -- --schema=./prisma/schema.mysql.prisma",
  26. "build-postgresql-schema": "dotenv prisma introspect -- --schema=./prisma/schema.postgresql.prisma",
  27. "build-postgresql-client": "dotenv prisma generate -- --schema=./prisma/schema.postgresql.prisma",
  28. "copy-db-schema": "node scripts/copy-db-schema.js",
  29. "generate-lang": "npm-run-all extract-lang merge-lang",
  30. "extract-lang": "formatjs extract {pages,components}/**/*.js --out-file build/messages.json",
  31. "merge-lang": "node scripts/merge-lang.js",
  32. "format-lang": "node scripts/format-lang.js",
  33. "compile-lang": "formatjs compile-folder --ast build lang-compiled",
  34. "check-lang": "node scripts/check-lang.js",
  35. "download-country-names": "node scripts/download-country-names.js",
  36. "loadtest": "node scripts/loadtest.js",
  37. "loadtest:medium": "node scripts/loadtest.js --weight=medium",
  38. "loadtest:heavy": "node scripts/loadtest.js --weight=heavy --verbose"
  39. },
  40. "lint-staged": {
  41. "**/*.js": [
  42. "prettier --write",
  43. "eslint"
  44. ],
  45. "**/*.css": [
  46. "stylelint --fix",
  47. "prettier --write"
  48. ],
  49. "**/*.json": [
  50. "prettier --write"
  51. ]
  52. },
  53. "husky": {
  54. "hooks": {
  55. "pre-commit": "lint-staged"
  56. }
  57. },
  58. "dependencies": {
  59. "@prisma/client": "2.17.0",
  60. "@reduxjs/toolkit": "^1.5.0",
  61. "bcrypt": "^5.0.0",
  62. "chalk": "^4.1.0",
  63. "chart.js": "^2.9.4",
  64. "classnames": "^2.2.6",
  65. "cookie": "^0.4.1",
  66. "cors": "^2.8.5",
  67. "date-fns": "^2.16.1",
  68. "date-fns-tz": "^1.0.12",
  69. "detect-browser": "^5.2.0",
  70. "dotenv": "^8.2.0",
  71. "formik": "^2.2.6",
  72. "immer": "^8.0.1",
  73. "is-localhost-ip": "^1.4.0",
  74. "isbot-fast": "^1.2.0",
  75. "jose": "2.0.3",
  76. "maxmind": "^4.3.1",
  77. "moment-timezone": "^0.5.32",
  78. "next": "^10.0.7",
  79. "prompts": "2.4.0",
  80. "prop-types": "^15.7.2",
  81. "react": "^17.0.1",
  82. "react-dom": "^17.0.1",
  83. "react-intl": "^5.12.3",
  84. "react-redux": "^7.2.2",
  85. "react-simple-maps": "^2.3.0",
  86. "react-spring": "^8.0.27",
  87. "react-tooltip": "^4.2.14",
  88. "react-use-measure": "^2.0.3",
  89. "react-window": "^1.8.6",
  90. "redux": "^4.0.5",
  91. "redux-thunk": "^2.3.0",
  92. "request-ip": "^2.1.3",
  93. "semver": "^7.3.4",
  94. "thenby": "^1.3.4",
  95. "timezone-support": "^2.0.2",
  96. "tinycolor2": "^1.4.2",
  97. "uuid": "^8.3.2"
  98. },
  99. "devDependencies": {
  100. "@formatjs/cli": "^2.13.16",
  101. "@prisma/cli": "2.17.0",
  102. "@rollup/plugin-buble": "^0.21.3",
  103. "@rollup/plugin-node-resolve": "^11.1.1",
  104. "@rollup/plugin-replace": "^2.3.4",
  105. "@svgr/webpack": "^5.5.0",
  106. "cross-env": "^7.0.3",
  107. "del": "^6.0.0",
  108. "dotenv-cli": "^4.0.0",
  109. "eslint": "^7.20.0",
  110. "eslint-config-prettier": "^7.2.0",
  111. "eslint-plugin-prettier": "^3.3.1",
  112. "eslint-plugin-react": "^7.22.0",
  113. "eslint-plugin-react-hooks": "^4.2.0",
  114. "extract-react-intl-messages": "^4.1.1",
  115. "husky": "^4.3.8",
  116. "lint-staged": "^10.5.4",
  117. "loadtest": "5.1.2",
  118. "npm-run-all": "^4.1.5",
  119. "postcss-flexbugs-fixes": "^5.0.2",
  120. "postcss-import": "^13.0.0",
  121. "postcss-preset-env": "^6.7.0",
  122. "prettier": "^2.2.1",
  123. "prettier-eslint": "^12.0.0",
  124. "rollup": "^2.38.3",
  125. "rollup-plugin-hashbang": "^2.2.2",
  126. "rollup-plugin-terser": "^7.0.2",
  127. "stylelint": "^13.10.0",
  128. "stylelint-config-css-modules": "^2.2.0",
  129. "stylelint-config-prettier": "^8.0.1",
  130. "stylelint-config-recommended": "^3.0.0",
  131. "tar": "^6.0.5"
  132. }
  133. }