2020-07-17 10:03:38 +02:00
|
|
|
{
|
|
|
|
"name": "umami",
|
2021-01-14 08:32:01 +01:00
|
|
|
"version": "1.11.0",
|
2020-08-18 01:46:13 +02:00
|
|
|
"description": "A simple, fast, website analytics 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",
|
2020-07-24 04:56:55 +02:00
|
|
|
"homepage": "https://github.com/mikecao/umami",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/mikecao/umami.git"
|
|
|
|
},
|
2020-07-17 10:03:38 +02:00
|
|
|
"scripts": {
|
2020-08-18 01:46:13 +02:00
|
|
|
"dev": "next dev",
|
2020-09-27 05:21:16 +02:00
|
|
|
"build": "npm-run-all build-tracker build-lang build-geo build-db build-app",
|
2020-07-17 10:03:38 +02:00
|
|
|
"start": "next start",
|
2020-12-19 07:53:46 +01:00
|
|
|
"start-env": "node -r dotenv/config scripts/start-env.js",
|
2020-08-21 10:45:44 +02:00
|
|
|
"build-app": "next build",
|
2020-07-25 02:00:56 +02:00
|
|
|
"build-tracker": "rollup -c rollup.tracker.config.js",
|
2020-09-19 04:21:16 +02:00
|
|
|
"build-db": "npm-run-all copy-db-schema build-db-client",
|
|
|
|
"build-lang": "npm-run-all format-lang compile-lang",
|
2020-09-27 05:21:16 +02:00
|
|
|
"build-geo": "node scripts/build-geo.js",
|
2020-08-21 10:45:44 +02:00
|
|
|
"build-db-schema": "dotenv prisma introspect",
|
2020-08-21 11:00:55 +02:00
|
|
|
"build-db-client": "dotenv prisma generate",
|
2020-08-13 10:41:11 +02:00
|
|
|
"build-mysql-schema": "dotenv prisma introspect -- --schema=./prisma/schema.mysql.prisma",
|
|
|
|
"build-mysql-client": "dotenv prisma generate -- --schema=./prisma/schema.mysql.prisma",
|
|
|
|
"build-postgresql-schema": "dotenv prisma introspect -- --schema=./prisma/schema.postgresql.prisma",
|
2020-09-06 02:27:01 +02:00
|
|
|
"build-postgresql-client": "dotenv prisma generate -- --schema=./prisma/schema.postgresql.prisma",
|
2020-09-27 05:21:16 +02:00
|
|
|
"copy-db-schema": "node scripts/copy-db-schema.js",
|
2020-09-16 05:49:17 +02:00
|
|
|
"generate-lang": "npm-run-all extract-lang merge-lang",
|
2020-09-14 04:01:02 +02:00
|
|
|
"extract-lang": "formatjs extract {pages,components}/**/*.js --out-file build/messages.json",
|
2020-09-12 13:19:33 +02:00
|
|
|
"merge-lang": "node scripts/merge-lang.js",
|
|
|
|
"format-lang": "node scripts/format-lang.js",
|
2020-10-01 04:30:39 +02:00
|
|
|
"compile-lang": "formatjs compile-folder --ast build lang-compiled",
|
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",
|
2020-10-02 02:05:10 +02:00
|
|
|
"loadtest": "node scripts/loadtest.js",
|
|
|
|
"loadtest:medium": "node scripts/loadtest.js --weight=medium",
|
|
|
|
"loadtest:heavy": "node scripts/loadtest.js --weight=heavy --verbose"
|
2020-07-17 10:03:38 +02:00
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"**/*.js": [
|
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
|
|
|
]
|
|
|
|
},
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2021-01-14 08:32:01 +01:00
|
|
|
"@prisma/client": "2.14.0",
|
2020-12-03 04:27:57 +01:00
|
|
|
"@reduxjs/toolkit": "^1.5.0",
|
2020-07-23 00:46:05 +02:00
|
|
|
"bcrypt": "^5.0.0",
|
2020-09-19 18:12:44 +02:00
|
|
|
"chalk": "^4.1.0",
|
2020-10-28 10:46:00 +01:00
|
|
|
"chart.js": "^2.9.4",
|
2020-07-17 10:03:38 +02:00
|
|
|
"classnames": "^2.2.6",
|
2020-07-23 00:46:05 +02:00
|
|
|
"cookie": "^0.4.1",
|
2020-07-18 19:36:46 +02:00
|
|
|
"cors": "^2.8.5",
|
2020-09-03 00:13:45 +02:00
|
|
|
"date-fns": "^2.16.1",
|
2020-10-14 03:24:27 +02:00
|
|
|
"date-fns-tz": "^1.0.12",
|
|
|
|
"detect-browser": "^5.2.0",
|
2020-10-02 19:25:31 +02:00
|
|
|
"dotenv": "^8.2.0",
|
2020-12-19 07:53:46 +01:00
|
|
|
"formik": "^2.2.6",
|
2021-01-21 11:36:46 +01:00
|
|
|
"immer": "^8.0.1",
|
2020-07-18 09:25:29 +02:00
|
|
|
"is-localhost-ip": "^1.4.0",
|
2020-09-11 05:37:07 +02:00
|
|
|
"isbot-fast": "^1.2.0",
|
2020-12-03 04:27:57 +01:00
|
|
|
"jose": "2.0.3",
|
2020-10-28 10:46:00 +01:00
|
|
|
"maxmind": "^4.3.1",
|
2020-11-30 05:39:16 +01:00
|
|
|
"moment-timezone": "^0.5.32",
|
2021-01-14 08:32:01 +01:00
|
|
|
"next": "^10.0.5",
|
2020-10-28 10:46:00 +01:00
|
|
|
"prompts": "2.4.0",
|
|
|
|
"react": "^17.0.1",
|
|
|
|
"react-dom": "^17.0.1",
|
2021-01-14 08:32:01 +01:00
|
|
|
"react-intl": "^5.10.16",
|
2020-10-28 10:46:00 +01:00
|
|
|
"react-redux": "^7.2.2",
|
2020-11-02 07:01:30 +01:00
|
|
|
"react-simple-maps": "^2.3.0",
|
2020-07-30 05:09:41 +02:00
|
|
|
"react-spring": "^8.0.27",
|
2020-11-30 05:39:16 +01:00
|
|
|
"react-tooltip": "^4.2.11",
|
2020-11-18 07:16:19 +01:00
|
|
|
"react-use-measure": "^2.0.3",
|
2020-11-02 07:01:30 +01:00
|
|
|
"react-window": "^1.8.6",
|
2020-08-05 07:45:05 +02:00
|
|
|
"redux": "^4.0.5",
|
|
|
|
"redux-thunk": "^2.3.0",
|
2020-07-17 10:03:38 +02:00
|
|
|
"request-ip": "^2.1.3",
|
2020-12-03 04:27:57 +01:00
|
|
|
"semver": "^7.3.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",
|
2020-09-27 07:20:53 +02:00
|
|
|
"tinycolor2": "^1.4.2",
|
2020-12-19 07:53:46 +01:00
|
|
|
"uuid": "^8.3.2"
|
2020-07-17 10:03:38 +02:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2020-12-19 07:53:46 +01:00
|
|
|
"@formatjs/cli": "^2.13.16",
|
2021-01-14 08:32:01 +01:00
|
|
|
"@prisma/cli": "2.14.0",
|
2020-07-18 04:15:29 +02:00
|
|
|
"@rollup/plugin-buble": "^0.21.3",
|
2020-12-19 07:53:46 +01:00
|
|
|
"@rollup/plugin-node-resolve": "^11.0.1",
|
2020-10-28 10:46:00 +01:00
|
|
|
"@rollup/plugin-replace": "^2.3.4",
|
2020-12-03 04:27:57 +01:00
|
|
|
"@svgr/webpack": "^5.5.0",
|
|
|
|
"cross-env": "^7.0.3",
|
2020-09-27 07:20:53 +02:00
|
|
|
"del": "^6.0.0",
|
2020-09-16 05:49:17 +02:00
|
|
|
"dotenv-cli": "^4.0.0",
|
2021-01-14 08:32:01 +01:00
|
|
|
"eslint": "^7.17.0",
|
2020-12-19 07:53:46 +01:00
|
|
|
"eslint-config-prettier": "^7.1.0",
|
2021-01-14 08:32:01 +01:00
|
|
|
"eslint-plugin-prettier": "^3.3.1",
|
|
|
|
"eslint-plugin-react": "^7.22.0",
|
2020-10-28 10:46:00 +01:00
|
|
|
"eslint-plugin-react-hooks": "^4.2.0",
|
2020-09-06 02:27:01 +02:00
|
|
|
"extract-react-intl-messages": "^4.1.1",
|
2021-01-14 08:32:01 +01:00
|
|
|
"husky": "^4.3.7",
|
2020-12-19 07:53:46 +01:00
|
|
|
"lint-staged": "^10.5.3",
|
|
|
|
"loadtest": "5.1.2",
|
2020-08-21 10:45:44 +02:00
|
|
|
"npm-run-all": "^4.1.5",
|
2020-12-03 04:27:57 +01:00
|
|
|
"postcss-flexbugs-fixes": "^5.0.2",
|
2020-10-28 10:46:00 +01:00
|
|
|
"postcss-import": "^13.0.0",
|
2020-07-17 10:03:38 +02:00
|
|
|
"postcss-preset-env": "^6.7.0",
|
2020-11-30 05:39:16 +01:00
|
|
|
"prettier": "^2.2.1",
|
|
|
|
"prettier-eslint": "^12.0.0",
|
2021-01-14 08:32:01 +01:00
|
|
|
"rollup": "^2.36.1",
|
2020-07-25 02:00:56 +02:00
|
|
|
"rollup-plugin-hashbang": "^2.2.2",
|
2020-09-16 05:49:17 +02:00
|
|
|
"rollup-plugin-terser": "^7.0.2",
|
2020-11-18 07:16:19 +01:00
|
|
|
"stylelint": "^13.8.0",
|
2020-07-17 10:03:38 +02:00
|
|
|
"stylelint-config-css-modules": "^2.2.0",
|
|
|
|
"stylelint-config-prettier": "^8.0.1",
|
2020-09-27 05:21:16 +02:00
|
|
|
"stylelint-config-recommended": "^3.0.0",
|
|
|
|
"tar": "^6.0.5"
|
2020-07-17 10:03:38 +02:00
|
|
|
}
|
|
|
|
}
|