2021-06-24 15:42:03 +02:00
|
|
|
{
|
|
|
|
"name": "uptime-kuma",
|
2023-06-26 15:12:11 +02:00
|
|
|
"version": "1.22.0",
|
2021-07-17 23:45:36 +02:00
|
|
|
"license": "MIT",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/louislam/uptime-kuma.git"
|
2021-07-17 23:57:48 +02:00
|
|
|
},
|
2021-07-28 18:52:41 +02:00
|
|
|
"engines": {
|
2023-06-25 06:41:32 +02:00
|
|
|
"node": "14.* || 16.* || 18.*"
|
2021-07-28 18:52:41 +02:00
|
|
|
},
|
2021-06-24 15:42:03 +02:00
|
|
|
"scripts": {
|
2022-05-01 06:32:06 +02:00
|
|
|
"install-legacy": "npm install",
|
|
|
|
"update-legacy": "npm update",
|
2021-08-23 17:54:15 +02:00
|
|
|
"lint:js": "eslint --ext \".js,.vue\" --ignore-path .gitignore .",
|
2022-04-17 09:27:35 +02:00
|
|
|
"lint-fix:js": "eslint --ext \".js,.vue\" --fix --ignore-path .gitignore .",
|
2021-08-24 17:38:25 +02:00
|
|
|
"lint:style": "stylelint \"**/*.{vue,css,scss}\" --ignore-path .gitignore",
|
2022-04-26 01:37:20 +02:00
|
|
|
"lint-fix:style": "stylelint \"**/*.{vue,css,scss}\" --fix --ignore-path .gitignore",
|
2021-08-23 17:54:15 +02:00
|
|
|
"lint": "npm run lint:js && npm run lint:style",
|
2022-04-25 20:18:14 +02: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",
|
2021-07-28 18:36:35 +02:00
|
|
|
"start": "npm run start-server",
|
2021-07-09 08:14:03 +02:00
|
|
|
"start-server": "node server/server.js",
|
2021-09-23 12:45:30 +02:00
|
|
|
"start-server-dev": "cross-env NODE_ENV=development node server/server.js",
|
2021-10-12 20:27:25 +02:00
|
|
|
"build": "vite build --config ./config/vite.config.js",
|
2022-10-05 17:45:21 +02:00
|
|
|
"test": "node test/prepare-test-server.js && npm run jest-backend",
|
2021-10-07 14:01:33 +02:00
|
|
|
"test-with-build": "npm run build && npm test",
|
2022-10-05 17:45:21 +02:00
|
|
|
"jest-backend": "cross-env TEST_BACKEND=1 jest --runInBand --detectOpenHandles --forceExit --config=./config/jest-backend.config.js",
|
2021-09-21 15:28:45 +02:00
|
|
|
"tsc": "tsc",
|
2021-10-12 20:27:25 +02:00
|
|
|
"vite-preview-dist": "vite preview --host --config ./config/vite.config.js",
|
2023-02-04 12:37:12 +02:00
|
|
|
"build-docker": "npm run build && npm run build-docker-full && npm run build-docker-slim",
|
2023-02-05 11:45:36 +02: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 07:42:53 +02: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 11:45:36 +02: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 12:37:12 +02: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",
|
2023-06-30 16:17:07 +02:00
|
|
|
"build-docker-nightly": "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-nightly-local": "npm run build && docker build -f docker/dockerfile -t louislam/uptime-kuma:nightly2 --target nightly .",
|
2022-08-29 16:06:47 +02:00
|
|
|
"build-docker-pr-test": "docker buildx build -f docker/dockerfile --platform linux/amd64,linux/arm64 -t louislam/uptime-kuma:pr-test --target pr-test . --push",
|
2021-12-08 09:35:44 +02: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",
|
2023-06-26 15:12:11 +02:00
|
|
|
"setup": "git checkout 1.22.0 && npm ci --production && npm run download-dist",
|
2021-10-02 08:43:31 +02:00
|
|
|
"download-dist": "node extra/download-dist.js",
|
2021-08-09 07:34:44 +02:00
|
|
|
"mark-as-nightly": "node extra/mark-as-nightly.js",
|
2021-08-11 08:52:25 +02:00
|
|
|
"reset-password": "node extra/reset-password.js",
|
2021-11-18 12:22:03 +02:00
|
|
|
"remove-2fa": "node extra/remove-2fa.js",
|
2021-08-17 17:08:35 +02:00
|
|
|
"compile-install-script": "@powershell -NoProfile -ExecutionPolicy Unrestricted -Command ./extra/compile-install-script.ps1",
|
2021-08-18 20:04:49 +02:00
|
|
|
"test-install-script-centos7": "npm run compile-install-script && docker build --progress plain -f test/test_install_script/centos7.dockerfile .",
|
|
|
|
"test-install-script-ubuntu": "npm run compile-install-script && docker build --progress plain -f test/test_install_script/ubuntu.dockerfile .",
|
|
|
|
"test-install-script-ubuntu1604": "npm run compile-install-script && docker build --progress plain -f test/test_install_script/ubuntu1604.dockerfile .",
|
2021-09-01 11:08:27 +02:00
|
|
|
"simple-dns-server": "node extra/simple-dns-server.js",
|
2022-04-16 19:07:54 +02:00
|
|
|
"simple-mqtt-server": "node extra/simple-mqtt-server.js",
|
2022-10-08 09:01:47 +02:00
|
|
|
"update-language-files": "cd extra/update-language-files && node index.js && cross-env-shell eslint ../../src/languages/$npm_config_language.js --fix",
|
2022-03-24 18:03:25 +02:00
|
|
|
"release-final": "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",
|
2022-03-22 05:30:45 +02:00
|
|
|
"release-beta": "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",
|
2022-06-05 17:43:25 +02:00
|
|
|
"git-remove-tag": "git tag -d",
|
2022-06-16 08:06:34 +02:00
|
|
|
"build-dist-and-restart": "npm run build && npm run start-server-dev",
|
2022-09-09 10:32:23 +02:00
|
|
|
"start-pr-test": "node extra/checkout-pr.js && npm install && npm run dev",
|
2022-06-16 11:28:17 +02:00
|
|
|
"cy:test": "node test/prepare-test-server.js && node server/server.js --port=3002 --data-dir=./data/test/ --e2e",
|
2022-10-04 16:23:57 +02:00
|
|
|
"cy:run": "npx cypress run --browser chrome --headless --config-file ./config/cypress.config.js",
|
2023-01-10 09:18:45 +02:00
|
|
|
"cy:run:unit": "npx cypress run --browser chrome --headless --config-file ./config/cypress.frontend.config.js",
|
2022-12-12 09:42:00 +02:00
|
|
|
"cypress-open": "concurrently -k -r \"node test/prepare-test-server.js && node server/server.js --port=3002 --data-dir=./data/test/\" \"cypress open --config-file ./config/cypress.config.js\"",
|
2023-02-05 11:45:36 +02:00
|
|
|
"build-healthcheck-armv7": "cross-env GOOS=linux GOARCH=arm GOARM=7 go build -x -o ./extra/healthcheck-armv7 ./extra/healthcheck.go",
|
2023-04-06 23:09:13 +02:00
|
|
|
"deploy-demo-server": "node extra/deploy-demo-server.js",
|
2023-06-30 07:38:56 +02:00
|
|
|
"sort-contributors": "node extra/sort-contributors.js",
|
2023-02-05 12:01:54 +02:00
|
|
|
"quick-run-nightly": "docker run --rm --env NODE_ENV=development -p 3001:3001 louislam/uptime-kuma:nightly2",
|
2023-06-30 16:17:07 +02:00
|
|
|
"start-dev-container": "cd docker && docker-compose -f docker-compose-dev.yml up --force-recreate"
|
2021-06-24 15:42:03 +02:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2022-11-24 19:32:33 +02:00
|
|
|
"@grpc/grpc-js": "~1.7.3",
|
2023-03-12 14:44:30 +02:00
|
|
|
"@louislam/ping": "~0.4.4-mod.0",
|
2023-03-27 13:05:18 +02:00
|
|
|
"@louislam/sqlite3": "15.1.6",
|
2021-10-01 10:48:23 +02:00
|
|
|
"args-parser": "~1.3.0",
|
2022-08-24 08:06:29 +02:00
|
|
|
"axios": "~0.27.0",
|
2022-11-25 08:00:33 +02:00
|
|
|
"axios-ntlm": "1.3.0",
|
2022-10-09 10:02:47 +02:00
|
|
|
"badge-maker": "~3.3.1",
|
2021-10-01 10:48:23 +02:00
|
|
|
"bcryptjs": "~2.4.3",
|
2022-07-18 17:32:45 +02:00
|
|
|
"cacheable-lookup": "~6.0.4",
|
2022-10-09 10:02:47 +02:00
|
|
|
"chardet": "~1.4.0",
|
2022-03-11 17:48:35 +02:00
|
|
|
"check-password-strength": "^2.0.5",
|
2022-10-09 10:02:47 +02:00
|
|
|
"cheerio": "~1.0.0-rc.12",
|
|
|
|
"chroma-js": "~2.4.2",
|
2021-10-01 10:48:23 +02:00
|
|
|
"command-exists": "~1.2.9",
|
|
|
|
"compare-versions": "~3.6.0",
|
2022-10-09 10:02:47 +02:00
|
|
|
"compression": "~1.7.4",
|
2023-06-25 06:41:32 +02:00
|
|
|
"croner": "~6.0.5",
|
2022-10-09 10:02:47 +02:00
|
|
|
"dayjs": "~1.11.5",
|
2023-02-01 14:07:08 +02:00
|
|
|
"dotenv": "~16.0.3",
|
2022-03-21 08:31:29 +02:00
|
|
|
"express": "~4.17.3",
|
|
|
|
"express-basic-auth": "~1.2.1",
|
2022-10-09 10:02:47 +02:00
|
|
|
"express-static-gzip": "~2.1.7",
|
2021-10-01 10:48:23 +02:00
|
|
|
"form-data": "~4.0.0",
|
2023-06-25 06:41:32 +02:00
|
|
|
"gamedig": "~4.0.5",
|
2022-03-21 08:31:29 +02:00
|
|
|
"http-graceful-shutdown": "~3.1.7",
|
2022-10-09 10:02:47 +02:00
|
|
|
"http-proxy-agent": "~5.0.0",
|
|
|
|
"https-proxy-agent": "~5.0.1",
|
|
|
|
"iconv-lite": "~0.6.3",
|
|
|
|
"jsesc": "~3.0.2",
|
2023-01-04 09:55:36 +02:00
|
|
|
"jsonwebtoken": "~9.0.0",
|
2022-10-09 10:02:47 +02:00
|
|
|
"jwt-decode": "~3.1.2",
|
2023-02-11 16:21:06 +02:00
|
|
|
"knex": "^2.4.2",
|
2022-10-09 10:02:47 +02:00
|
|
|
"limiter": "~2.1.0",
|
2023-02-25 21:23:02 +02:00
|
|
|
"mongodb": "~4.14.0",
|
2022-10-09 10:02:47 +02:00
|
|
|
"mqtt": "~4.3.7",
|
|
|
|
"mssql": "~8.1.4",
|
2022-11-24 19:32:33 +02:00
|
|
|
"mysql2": "~2.3.3",
|
2023-06-25 06:41:32 +02:00
|
|
|
"nanoid": "~3.3.4",
|
2022-03-30 14:08:26 +02:00
|
|
|
"node-cloudflared-tunnel": "~1.0.9",
|
2022-10-09 10:02:47 +02:00
|
|
|
"node-radius-client": "~1.0.0",
|
2021-10-01 10:48:23 +02:00
|
|
|
"nodemailer": "~6.6.5",
|
|
|
|
"notp": "~2.0.3",
|
|
|
|
"password-hash": "~1.2.2",
|
2022-10-09 10:02:47 +02:00
|
|
|
"pg": "~8.8.0",
|
|
|
|
"pg-connection-string": "~2.5.0",
|
2023-06-27 09:54:33 +02:00
|
|
|
"playwright-core": "~1.35.1",
|
2021-10-01 10:48:23 +02:00
|
|
|
"prom-client": "~13.2.0",
|
2022-03-21 08:31:29 +02:00
|
|
|
"prometheus-api-metrics": "~3.2.1",
|
2022-09-13 16:22:01 +02:00
|
|
|
"protobufjs": "~7.1.1",
|
2023-02-13 10:48:05 +02:00
|
|
|
"qs": "~6.10.4",
|
2023-06-25 06:41:32 +02:00
|
|
|
"redbean-node": "~0.3.0",
|
2023-01-05 16:58:24 +02:00
|
|
|
"redis": "~4.5.1",
|
2023-05-08 16:52:57 +02:00
|
|
|
"socket.io": "~4.6.1",
|
|
|
|
"socket.io-client": "~4.6.1",
|
2022-07-18 17:27:05 +02:00
|
|
|
"socks-proxy-agent": "6.1.1",
|
2022-10-09 10:02:47 +02:00
|
|
|
"tar": "~6.1.11",
|
2021-10-01 10:48:23 +02:00
|
|
|
"tcp-ping": "~0.1.1",
|
2022-07-03 21:54:56 +02:00
|
|
|
"thirty-two": "~1.0.2"
|
2021-06-24 15:42:03 +02:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-04-02 05:34:00 +02:00
|
|
|
"@actions/github": "~5.0.1",
|
2022-04-26 01:26:57 +02:00
|
|
|
"@babel/eslint-parser": "~7.17.0",
|
2021-10-08 09:11:50 +02:00
|
|
|
"@babel/preset-env": "^7.15.8",
|
2022-07-03 21:54:56 +02:00
|
|
|
"@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",
|
2022-07-03 21:59:20 +02:00
|
|
|
"@popperjs/core": "~2.10.2",
|
2022-03-21 08:31:29 +02:00
|
|
|
"@types/bootstrap": "~5.1.9",
|
2022-09-12 12:33:46 +02:00
|
|
|
"@vitejs/plugin-legacy": "~2.1.0",
|
|
|
|
"@vitejs/plugin-vue": "~3.1.0",
|
2022-06-05 17:43:25 +02:00
|
|
|
"@vue/compiler-sfc": "~3.2.36",
|
2022-10-09 14:59:58 +02:00
|
|
|
"@vuepic/vue-datepicker": "~3.4.8",
|
2022-04-16 19:07:54 +02:00
|
|
|
"aedes": "^0.46.3",
|
2021-10-13 18:22:49 +02:00
|
|
|
"babel-plugin-rewire": "~1.2.0",
|
2022-07-03 21:54:56 +02:00
|
|
|
"bootstrap": "5.1.3",
|
2023-03-01 22:47:51 +02:00
|
|
|
"chart.js": "~4.2.1",
|
|
|
|
"chartjs-adapter-dayjs-4": "~1.0.4",
|
2022-04-25 20:18:14 +02:00
|
|
|
"concurrently": "^7.1.0",
|
2022-12-04 15:41:08 +02:00
|
|
|
"core-js": "~3.26.1",
|
2023-03-31 14:25:37 +02:00
|
|
|
"cronstrue": "~2.24.0",
|
2021-10-01 10:48:23 +02:00
|
|
|
"cross-env": "~7.0.3",
|
2022-06-16 08:06:34 +02:00
|
|
|
"cypress": "^10.1.0",
|
|
|
|
"delay": "^5.0.0",
|
2021-10-01 10:48:23 +02:00
|
|
|
"dns2": "~2.0.1",
|
2023-02-01 09:51:33 +02:00
|
|
|
"dompurify": "~2.4.3",
|
2022-04-26 01:26:57 +02:00
|
|
|
"eslint": "~8.14.0",
|
|
|
|
"eslint-plugin-vue": "~8.7.1",
|
2022-10-09 10:02:47 +02:00
|
|
|
"favico.js": "~0.3.10",
|
2021-11-23 07:32:24 +02:00
|
|
|
"jest": "~27.2.5",
|
2023-02-11 16:21:06 +02:00
|
|
|
"marked": "~4.2.5",
|
2023-02-13 10:26:45 +02:00
|
|
|
"node-ssh": "~13.0.1",
|
2022-09-13 09:17:39 +02:00
|
|
|
"postcss-html": "~1.5.0",
|
|
|
|
"postcss-rtlcss": "~3.7.2",
|
|
|
|
"postcss-scss": "~4.0.4",
|
2022-10-09 10:02:47 +02:00
|
|
|
"prismjs": "~1.29.0",
|
2022-07-03 21:54:56 +02:00
|
|
|
"qrcode": "~1.5.0",
|
2022-06-05 17:43:25 +02:00
|
|
|
"rollup-plugin-visualizer": "^5.6.0",
|
2021-10-01 10:48:23 +02:00
|
|
|
"sass": "~1.42.1",
|
2023-06-25 06:41:32 +02:00
|
|
|
"stylelint": "~15.9.0",
|
2022-04-26 01:26:57 +02:00
|
|
|
"stylelint-config-standard": "~25.0.0",
|
2022-10-09 10:02:47 +02:00
|
|
|
"terser": "~5.15.0",
|
2022-07-03 21:54:56 +02:00
|
|
|
"timezones-list": "~3.0.1",
|
2021-11-23 07:32:24 +02:00
|
|
|
"typescript": "~4.4.4",
|
2022-07-03 21:54:56 +02:00
|
|
|
"v-pagination-3": "~0.1.7",
|
2023-06-11 08:18:35 +02:00
|
|
|
"vite": "~3.2.7",
|
2022-06-05 17:43:25 +02:00
|
|
|
"vite-plugin-compression": "^0.5.1",
|
2023-03-27 13:05:18 +02:00
|
|
|
"vue": "~3.2.47",
|
2023-03-01 22:47:51 +02:00
|
|
|
"vue-chartjs": "~5.2.0",
|
2022-07-03 21:54:56 +02:00
|
|
|
"vue-confirm-dialog": "~1.0.2",
|
|
|
|
"vue-contenteditable": "~3.0.4",
|
2022-10-10 10:23:32 +02:00
|
|
|
"vue-i18n": "~9.2.2",
|
2022-07-03 21:54:56 +02:00
|
|
|
"vue-image-crop-upload": "~3.0.3",
|
|
|
|
"vue-multiselect": "~3.0.0-alpha.2",
|
2022-10-09 10:02:47 +02:00
|
|
|
"vue-prism-editor": "~2.0.0-alpha.2",
|
2022-07-03 21:54:56 +02:00
|
|
|
"vue-qrcode": "~1.0.0",
|
|
|
|
"vue-router": "~4.0.14",
|
|
|
|
"vue-toastification": "~2.0.0-rc.5",
|
|
|
|
"vuedraggable": "~4.1.0",
|
2023-05-25 07:41:35 +02:00
|
|
|
"wait-on": "^6.0.1",
|
|
|
|
"whatwg-url": "~12.0.1"
|
2021-06-24 15:42:03 +02:00
|
|
|
}
|
2021-12-02 19:31:19 +02:00
|
|
|
}
|