uptime-kuma/package.json

218 lines
12 KiB
JSON
Raw Permalink Normal View History

2021-06-24 14:42:03 +01:00
{
"name": "uptime-kuma",
2023-11-22 11:35:38 +00:00
"version": "2.0.0-dev",
2021-07-17 22:45:36 +01:00
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/louislam/uptime-kuma.git"
2021-07-17 22:57:48 +01:00
},
"engines": {
"node": "18 || >= 20.4.0"
},
2021-06-24 14:42:03 +01:00
"scripts": {
2021-08-23 16:54:15 +01:00
"lint:js": "eslint --ext \".js,.vue\" --ignore-path .gitignore .",
"lint:js-prod": "npm run lint:js -- --max-warnings 0",
2022-04-17 08:27:35 +01:00
"lint-fix:js": "eslint --ext \".js,.vue\" --fix --ignore-path .gitignore .",
2021-08-24 16:38:25 +01:00
"lint:style": "stylelint \"**/*.{vue,css,scss}\" --ignore-path .gitignore",
2022-04-26 00:37:20 +01:00
"lint-fix:style": "stylelint \"**/*.{vue,css,scss}\" --fix --ignore-path .gitignore",
2021-08-23 16:54:15 +01:00
"lint": "npm run lint:js && npm run lint:style",
"lint:prod": "npm run lint:js-prod && npm run lint:style",
2022-04-25 19:18:14 +01:00
"dev": "concurrently -k -r \"wait-on tcp:3000 && npm run start-server-dev \" \"npm run start-frontend-dev\"",
"start-frontend-dev": "cross-env NODE_ENV=development vite --host --config ./config/vite.config.js",
"start-frontend-devcontainer": "cross-env NODE_ENV=development DEVCONTAINER=1 vite --host --config ./config/vite.config.js",
2021-07-28 17:36:35 +01:00
"start": "npm run start-server",
2021-07-09 07:14:03 +01:00
"start-server": "node server/server.js",
2021-09-23 11:45:30 +01:00
"start-server-dev": "cross-env NODE_ENV=development node server/server.js",
2023-10-14 10:50:54 +01:00
"start-server-dev:watch": "cross-env NODE_ENV=development node --watch server/server.js",
2021-10-12 19:27:25 +01:00
"build": "vite build --config ./config/vite.config.js",
"test": "npm run test-backend && npm run test-e2e",
"test-with-build": "npm run build && npm test",
2024-10-26 12:18:40 +01:00
"test-backend": "node extra/test-backend.mjs",
"test-backend-node20": "cross-env TEST_BACKEND=1 node --test test/backend-test",
2024-10-26 12:46:44 +01:00
"test-backend-node22": "cross-env TEST_BACKEND=1 node --test test/backend-test/test-*.js && node --test test/backend-test/**/test-*.js",
"test-e2e": "playwright test --config ./config/playwright.config.js",
"test-e2e-ui": "playwright test --config ./config/playwright.config.js --ui --ui-port=51063",
"playwright-codegen": "playwright codegen localhost:3000 --save-storage=./private/e2e-auth.json",
"playwright-show-report": "playwright show-report ./private/playwright-report",
2021-09-21 14:28:45 +01:00
"tsc": "tsc",
2021-10-12 19:27:25 +01:00
"vite-preview-dist": "vite preview --host --config ./config/vite.config.js",
2023-02-04 10:37:12 +00:00
"build-docker": "npm run build && npm run build-docker-full && npm run build-docker-slim",
2023-02-05 09:45:36 +00:00
"build-docker-base": "docker buildx build -f docker/debian-base.dockerfile --platform linux/amd64,linux/arm64,linux/arm/v7 -t louislam/uptime-kuma:base2 --target base2 . --push",
"build-docker-base-slim": "docker buildx build -f docker/debian-base.dockerfile --platform linux/amd64,linux/arm64,linux/arm/v7 -t louislam/uptime-kuma:base2-slim --target base2-slim . --push",
2023-01-09 05:42:53 +00:00
"build-docker-builder-go": "docker buildx build -f docker/builder-go.dockerfile --platform linux/amd64,linux/arm64,linux/arm/v7 -t louislam/uptime-kuma:builder-go . --push",
2023-02-05 09:45:36 +00:00
"build-docker-slim": "node ./extra/env2arg.js docker buildx build -f docker/dockerfile --platform linux/amd64,linux/arm64,linux/arm/v7 -t louislam/uptime-kuma:2-slim -t louislam/uptime-kuma:$VERSION-slim --target release --build-arg BASE_IMAGE=louislam/uptime-kuma:base2-slim . --push",
2023-02-04 10:37:12 +00:00
"build-docker-full": "node ./extra/env2arg.js docker buildx build -f docker/dockerfile --platform linux/amd64,linux/arm64,linux/arm/v7 -t louislam/uptime-kuma:2 -t louislam/uptime-kuma:$VERSION --target release . --push",
"build-docker-nightly": "node ./extra/test-docker.js && npm run build && docker buildx build -f docker/dockerfile --platform linux/amd64,linux/arm64,linux/arm/v7 -t louislam/uptime-kuma:nightly2 --target nightly . --push",
"build-docker-slim-rootless": "node ./extra/env2arg.js docker buildx build -f docker/dockerfile --platform linux/amd64,linux/arm64,linux/arm/v7 -t louislam/uptime-kuma:2-slim-rootless -t louislam/uptime-kuma:$VERSION-slim-rootless --target rootless --build-arg BASE_IMAGE=louislam/uptime-kuma:base2-slim . --push",
"build-docker-full-rootless": "node ./extra/env2arg.js docker buildx build -f docker/dockerfile --platform linux/amd64,linux/arm64,linux/arm/v7 -t louislam/uptime-kuma:2-rootless -t louislam/uptime-kuma:$VERSION-rootless --target rootless . --push",
"build-docker-nightly-rootless": "node ./extra/test-docker.js && npm run build && docker buildx build -f docker/dockerfile --platform linux/amd64,linux/arm64,linux/arm/v7 -t louislam/uptime-kuma:nightly2-rootless --target nightly-rootless . --push",
"build-docker-nightly-local": "npm run build && docker build -f docker/dockerfile -t louislam/uptime-kuma:nightly2 --target nightly .",
2023-09-01 16:47:36 +01:00
"build-docker-pr-test": "docker buildx build -f docker/dockerfile --platform linux/amd64,linux/arm64 -t louislam/uptime-kuma:pr-test2 --target pr-test2 . --push",
2021-12-08 07:35:44 +00:00
"upload-artifacts": "docker buildx build -f docker/dockerfile --platform linux/amd64 -t louislam/uptime-kuma:upload-artifact --build-arg VERSION --build-arg GITHUB_TOKEN --target upload-artifact . --progress plain",
2024-09-29 14:46:19 +01:00
"setup": "git checkout 1.23.14 && npm ci --production && npm run download-dist",
"download-dist": "node extra/download-dist.js",
2021-08-09 06:34:44 +01:00
"mark-as-nightly": "node extra/mark-as-nightly.js",
2021-08-11 07:52:25 +01:00
"reset-password": "node extra/reset-password.js",
2021-11-18 10:22:03 +00:00
"remove-2fa": "node extra/remove-2fa.js",
2021-09-01 10:08:27 +01:00
"simple-dns-server": "node extra/simple-dns-server.js",
2022-04-16 18:07:54 +01:00
"simple-mqtt-server": "node extra/simple-mqtt-server.js",
2023-09-17 20:01:58 +01:00
"simple-mongo": "docker run --rm -p 27017:27017 mongo",
"simple-postgres": "docker run --rm -p 5432:5432 -e POSTGRES_PASSWORD=postgres postgres",
"simple-mariadb": "docker run --rm -p 3306:3306 -e MYSQL_ROOT_PASSWORD=mariadb# mariadb",
"update-language-files": "cd extra/update-language-files && node index.js && cross-env-shell eslint ../../src/languages/$npm_config_language.js --fix",
2023-07-03 13:30:21 +01:00
"release-final": "node ./extra/test-docker.js && node extra/update-version.js && npm run build-docker && node ./extra/press-any-key.js && npm run upload-artifacts && node ./extra/update-wiki-version.js",
"release-beta": "node ./extra/test-docker.js && node extra/beta/update-version.js && npm run build && node ./extra/env2arg.js docker buildx build -f docker/dockerfile --platform linux/amd64,linux/arm64,linux/arm/v7 -t louislam/uptime-kuma:$VERSION -t louislam/uptime-kuma:beta . --target release --push && node ./extra/press-any-key.js && npm run upload-artifacts",
"git-remove-tag": "git tag -d",
"build-dist-and-restart": "npm run build && npm run start-server-dev",
"start-pr-test": "node extra/checkout-pr.js && npm install && npm run dev",
"build-healthcheck-armv7": "cross-env GOOS=linux GOARCH=arm GOARM=7 go build -x -o ./extra/healthcheck-armv7 ./extra/healthcheck.go",
"deploy-demo-server": "node extra/deploy-demo-server.js",
"sort-contributors": "node extra/sort-contributors.js",
2023-02-05 10:01:54 +00:00
"quick-run-nightly": "docker run --rm --env NODE_ENV=development -p 3001:3001 louislam/uptime-kuma:nightly2",
2023-09-21 12:38:51 +01:00
"start-dev-container": "cd docker && docker-compose -f docker-compose-dev.yml up --force-recreate",
"rebase-pr-to-1.23.X": "node extra/rebase-pr.js 1.23.X"
2021-06-24 14:42:03 +01:00
},
"dependencies": {
2024-09-27 20:43:54 +01:00
"@grpc/grpc-js": "~1.8.22",
"@louislam/ping": "~0.4.4-mod.1",
"@louislam/sqlite3": "15.1.6",
"@vvo/tzdb": "^6.125.0",
"args-parser": "~1.3.0",
"axios": "~0.28.1",
2022-10-09 09:02:47 +01:00
"badge-maker": "~3.3.1",
"bcryptjs": "~2.4.3",
2022-10-09 09:02:47 +01:00
"chardet": "~1.4.0",
"check-password-strength": "^2.0.5",
2022-10-09 09:02:47 +01:00
"cheerio": "~1.0.0-rc.12",
"chroma-js": "~2.4.2",
"command-exists": "~1.2.9",
"compare-versions": "~3.6.0",
2022-10-09 09:02:47 +01:00
"compression": "~1.7.4",
"croner": "~8.1.0",
2022-10-09 09:02:47 +01:00
"dayjs": "~1.11.5",
"dev-null": "^0.1.1",
2023-02-01 12:07:08 +00:00
"dotenv": "~16.0.3",
2024-09-27 20:43:54 +01:00
"express": "~4.21.0",
2022-03-21 06:31:29 +00:00
"express-basic-auth": "~1.2.1",
2022-10-09 09:02:47 +01:00
"express-static-gzip": "~2.1.7",
"feed": "^4.2.2",
"form-data": "~4.0.0",
"gamedig": "^4.2.0",
"html-escaper": "^3.0.3",
"http-cookie-agent": "~5.0.4",
2022-03-21 06:31:29 +00:00
"http-graceful-shutdown": "~3.1.7",
2022-10-09 09:02:47 +01:00
"http-proxy-agent": "~5.0.0",
"https-proxy-agent": "~5.0.1",
"iconv-lite": "~0.6.3",
"isomorphic-ws": "^5.0.0",
2022-10-09 09:02:47 +01:00
"jsesc": "~3.0.2",
✨ feat: json-query monitor added (#3253) * ✨ feat: json-query monitor added Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev> * 🐛 fix: import warning error Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev> * 🐛 fix: br tag and remove comment Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev> * 🐛 fix: supporting compare string with other types Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev> * 🐛 fix: switch to a better lib for json query Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev> * 🐛 fix: better description on json query and using `v-html` in jsonQueryDescription element to fix `a` tags Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev> * 🐛 fix: result variable in error message Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev> * 🐛 fix: typos in json query description Co-authored-by: Frank Elsinga <frank@elsinga.de> * 📝 docs: `HTTP(s) Json Query` added to monitor list in `README.md` Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev> * 🐛 fix: needed white space in `README.md` Co-authored-by: Frank Elsinga <frank@elsinga.de> * Nostr dm notifications (#3051) * Add nostr DM notification provider * require crypto for node 18 compatibility * remove whitespace Co-authored-by: Frank Elsinga <frank@elsinga.de> * move closer to where it is used * simplify success or failure logic * don't clobber the non-alert msg * Update server/notification-providers/nostr.js Co-authored-by: Frank Elsinga <frank@elsinga.de> * polyfills required for node <= 18 * resolve linter warnings * missing comma --------- Co-authored-by: Frank Elsinga <frank@elsinga.de> * Drop nostr * Rebuild package-lock.json * Lint --------- Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev> Co-authored-by: Frank Elsinga <frank@elsinga.de> Co-authored-by: zappityzap <128872140+zappityzap@users.noreply.github.com> Co-authored-by: Louis Lam <louislam@users.noreply.github.com>
2023-07-13 16:37:26 +01:00
"jsonata": "^2.0.3",
2023-01-04 07:55:36 +00:00
"jsonwebtoken": "~9.0.0",
2022-10-09 09:02:47 +01:00
"jwt-decode": "~3.1.2",
✨ feat: added kafka producer (#3268) * ✨ feat: added kafka producer Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev> * 🐛 fix: eslint warn Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev> * 🐛 fix: typings and auth problems Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev> * 🐛 fix: better variable name to trrack disconnection Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev> * 🐛 fix: grouping Kafka Producer special settings into one template Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev> * ✨ feat: add kafka producer translations into `en.json` Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev> * 🐛 fix: disable close-on-select on kafka broker picker Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev> * 🐛 fix: `en.json` invalid json (conflict resolve) Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev> * Nostr dm notifications (#3051) * Add nostr DM notification provider * require crypto for node 18 compatibility * remove whitespace Co-authored-by: Frank Elsinga <frank@elsinga.de> * move closer to where it is used * simplify success or failure logic * don't clobber the non-alert msg * Update server/notification-providers/nostr.js Co-authored-by: Frank Elsinga <frank@elsinga.de> * polyfills required for node <= 18 * resolve linter warnings * missing comma --------- Co-authored-by: Frank Elsinga <frank@elsinga.de> * Drop nostr * Minor * Fix a bug of clone --------- Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev> Co-authored-by: Frank Elsinga <frank@elsinga.de> Co-authored-by: Louis Lam <louislam@users.noreply.github.com>
2023-07-17 09:15:44 +01:00
"kafkajs": "^2.2.4",
2023-02-11 14:21:06 +00:00
"knex": "^2.4.2",
2022-10-09 09:02:47 +01:00
"limiter": "~2.1.0",
"liquidjs": "^10.7.0",
"marked": "^14.0.0",
"mitt": "~3.0.1",
2023-09-17 20:01:58 +01:00
"mongodb": "~4.17.1",
2022-10-09 09:02:47 +01:00
"mqtt": "~4.3.7",
"mssql": "~11.0.0",
2024-04-18 13:48:07 +01:00
"mysql2": "~3.9.6",
"nanoid": "~3.3.4",
"net-snmp": "^3.11.2",
"node-cloudflared-tunnel": "~1.0.9",
2022-10-09 09:02:47 +01:00
"node-radius-client": "~1.0.0",
2024-03-26 07:17:52 +00:00
"nodemailer": "~6.9.13",
"nostr-tools": "^1.13.1",
"notp": "~2.0.3",
"openid-client": "^5.4.2",
"password-hash": "~1.2.2",
"pg": "~8.11.3",
"pg-connection-string": "~2.6.2",
"playwright-core": "~1.39.0",
"prom-client": "~13.2.0",
2022-03-21 06:31:29 +00:00
"prometheus-api-metrics": "~3.2.1",
"promisify-child-process": "~4.1.2",
2023-07-08 10:14:41 +01:00
"protobufjs": "~7.2.4",
"qs": "~6.10.4",
"redbean-node": "~0.3.0",
2023-01-05 14:58:24 +00:00
"redis": "~4.5.1",
"semver": "~7.5.4",
2024-09-27 20:43:54 +01:00
"socket.io": "~4.8.0",
"socket.io-client": "~4.8.0",
"socks-proxy-agent": "6.1.1",
2024-04-18 13:48:07 +01:00
"tar": "~6.2.1",
"tcp-ping": "~0.1.1",
"thirty-two": "~1.0.2",
"tough-cookie": "~4.1.3",
"ws": "^8.13.0"
2021-06-24 14:42:03 +01:00
},
"devDependencies": {
"@actions/github": "~5.1.1",
"@fortawesome/fontawesome-svg-core": "~1.2.36",
"@fortawesome/free-regular-svg-icons": "~5.15.4",
"@fortawesome/free-solid-svg-icons": "~5.15.4",
"@fortawesome/vue-fontawesome": "~3.0.0-5",
"@playwright/test": "~1.39.0",
"@popperjs/core": "~2.10.2",
"@testcontainers/hivemq": "^10.13.1",
"@testcontainers/rabbitmq": "^10.13.2",
2022-03-21 06:31:29 +00:00
"@types/bootstrap": "~5.1.9",
"@types/node": "^20.8.6",
"@typescript-eslint/eslint-plugin": "^6.7.5",
"@typescript-eslint/parser": "^6.7.5",
2023-12-30 15:13:21 +00:00
"@vitejs/plugin-vue": "~5.0.1",
"@vue/compiler-sfc": "~3.4.2",
2022-10-09 13:59:58 +01:00
"@vuepic/vue-datepicker": "~3.4.8",
2022-04-16 18:07:54 +01:00
"aedes": "^0.46.3",
"bootstrap": "5.1.3",
2023-03-01 20:47:51 +00:00
"chart.js": "~4.2.1",
"chartjs-adapter-dayjs-4": "~1.0.4",
2022-04-25 19:18:14 +01:00
"concurrently": "^7.1.0",
2022-12-04 13:41:08 +00:00
"core-js": "~3.26.1",
2023-03-31 13:25:37 +01:00
"cronstrue": "~2.24.0",
"cross-env": "~7.0.3",
"delay": "^5.0.0",
"dns2": "~2.0.1",
2024-09-27 20:43:54 +01:00
"dompurify": "~3.1.7",
2022-04-26 00:26:57 +01:00
"eslint": "~8.14.0",
2023-09-17 21:05:09 +01:00
"eslint-plugin-jsdoc": "~46.4.6",
2022-04-26 00:26:57 +01:00
"eslint-plugin-vue": "~8.7.1",
2022-10-09 09:02:47 +01:00
"favico.js": "~0.3.10",
"get-port-please": "^3.1.1",
2023-07-08 10:14:41 +01:00
"node-ssh": "~13.1.0",
2022-09-13 08:17:39 +01:00
"postcss-html": "~1.5.0",
"postcss-rtlcss": "~3.7.2",
"postcss-scss": "~4.0.4",
2022-10-09 09:02:47 +01:00
"prismjs": "~1.29.0",
"qrcode": "~1.5.0",
"rollup-plugin-visualizer": "^5.6.0",
"sass": "~1.42.1",
2023-07-08 10:14:41 +01:00
"stylelint": "^15.10.1",
2022-04-26 00:26:57 +01:00
"stylelint-config-standard": "~25.0.0",
2022-10-09 09:02:47 +01:00
"terser": "~5.15.0",
"test": "~3.3.0",
"testcontainers": "^10.13.1",
2021-11-23 05:32:24 +00:00
"typescript": "~4.4.4",
"v-pagination-3": "~0.1.7",
2024-04-05 05:12:36 +01:00
"vite": "~5.2.8",
"vite-plugin-compression": "^0.5.1",
2024-02-21 01:13:49 +00:00
"vite-plugin-vue-devtools": "^7.0.15",
2023-12-30 15:13:21 +00:00
"vue": "~3.4.2",
2023-03-01 20:47:51 +00:00
"vue-chartjs": "~5.2.0",
"vue-confirm-dialog": "~1.0.2",
"vue-contenteditable": "~3.0.4",
"vue-i18n": "~9.2.2",
"vue-image-crop-upload": "~3.0.3",
"vue-multiselect": "~3.0.0-alpha.2",
2022-10-09 09:02:47 +01:00
"vue-prism-editor": "~2.0.0-alpha.2",
"vue-qrcode": "~1.0.0",
2023-12-30 15:13:21 +00:00
"vue-router": "~4.2.5",
"vue-toastification": "~2.0.0-rc.5",
"vuedraggable": "~4.1.0",
2023-12-02 07:41:59 +00:00
"wait-on": "^7.2.0",
2023-05-25 06:41:35 +01:00
"whatwg-url": "~12.0.1"
2021-06-24 14:42:03 +01:00
}
}