uptime-kuma/package.json

190 lines
11 KiB
JSON
Raw Normal View History

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