uptime-kuma/package.json

168 lines
9.4 KiB
JSON
Raw Normal View History

2021-06-24 16:42:03 +03:00
{
"name": "uptime-kuma",
2022-06-14 06:00:55 +03:00
"version": "1.17.0-beta.0",
2021-07-18 00:45:36 +03:00
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/louislam/uptime-kuma.git"
2021-07-18 00:57:48 +03:00
},
"engines": {
"node": "14.* || >=16.*"
},
2021-06-24 16:42:03 +03:00
"scripts": {
"install-legacy": "npm install",
"update-legacy": "npm update",
2021-08-23 18:54:15 +03:00
"lint:js": "eslint --ext \".js,.vue\" --ignore-path .gitignore .",
2022-04-17 10:27:35 +03:00
"lint-fix:js": "eslint --ext \".js,.vue\" --fix --ignore-path .gitignore .",
2021-08-24 18:38:25 +03:00
"lint:style": "stylelint \"**/*.{vue,css,scss}\" --ignore-path .gitignore",
2022-04-26 02:37:20 +03:00
"lint-fix:style": "stylelint \"**/*.{vue,css,scss}\" --fix --ignore-path .gitignore",
2021-08-23 18:54:15 +03:00
"lint": "npm run lint:js && npm run lint:style",
2022-04-25 21:18:14 +03: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 19:36:35 +03:00
"start": "npm run start-server",
2021-07-09 09:14:03 +03:00
"start-server": "node server/server.js",
2021-09-23 13:45:30 +03:00
"start-server-dev": "cross-env NODE_ENV=development node server/server.js",
2021-10-12 21:27:25 +03:00
"build": "vite build --config ./config/vite.config.js",
2022-04-26 02:57:49 +03:00
"test": "node test/prepare-test-server.js && node server/server.js --port=3002 --data-dir=./data/test/ --test",
"test-with-build": "npm run build && npm test",
"jest": "node test/prepare-jest.js && npm run jest-frontend && npm run jest-backend",
2021-10-12 21:53:59 +03:00
"jest-frontend": "cross-env TEST_FRONTEND=1 jest --config=./config/jest-frontend.config.js",
"jest-backend": "cross-env TEST_BACKEND=1 jest --config=./config/jest-backend.config.js",
2021-09-21 16:28:45 +03:00
"tsc": "tsc",
2021-10-12 21:27:25 +03: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",
2022-03-22 11:45:07 +03: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",
2021-12-08 10:35:44 +03: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",
2022-05-29 07:47:07 +03:00
"setup": "git checkout 1.16.1 && npm ci --production && npm run download-dist",
"download-dist": "node extra/download-dist.js",
2021-08-09 08:34:44 +03:00
"mark-as-nightly": "node extra/mark-as-nightly.js",
2021-08-11 09:52:25 +03:00
"reset-password": "node extra/reset-password.js",
2021-11-18 13:22:03 +03:00
"remove-2fa": "node extra/remove-2fa.js",
2021-08-17 18:08:35 +03:00
"compile-install-script": "@powershell -NoProfile -ExecutionPolicy Unrestricted -Command ./extra/compile-install-script.ps1",
2021-08-18 21:04:49 +03: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 10:19:19 +03:00
"test-nodejs16": "docker build --progress plain -f test/ubuntu-nodejs16.dockerfile .",
2021-09-01 12:08:27 +03:00
"simple-dns-server": "node extra/simple-dns-server.js",
2022-04-16 20:07:54 +03:00
"simple-mqtt-server": "node extra/simple-mqtt-server.js",
"update-language-files-with-base-lang": "cd extra/update-language-files && node index.js %npm_config_base_lang% && eslint ../../src/languages/**.js --fix",
2021-11-24 09:53:15 +03:00
"update-language-files": "cd extra/update-language-files && node index.js && eslint ../../src/languages/**.js --fix",
2022-03-21 09:31:29 +03:00
"ncu-patch": "npm-check-updates -u -t patch",
2022-03-24 19:03:25 +03: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 06:30:45 +03: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"
2021-06-24 16:42:03 +03:00
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "~1.2.36",
"@fortawesome/free-regular-svg-icons": "~5.15.4",
"@fortawesome/free-solid-svg-icons": "~5.15.4",
2021-11-23 08:32:24 +03:00
"@fortawesome/vue-fontawesome": "~3.0.0-5",
2022-05-01 14:45:00 +03:00
"@louislam/sqlite3": "~15.0.6",
2021-10-05 12:53:17 +03:00
"@popperjs/core": "~2.10.2",
"args-parser": "~1.3.0",
2022-03-21 09:31:29 +03:00
"axios": "~0.26.1",
"axios-cached-dns-resolve": "^3.0.6",
2022-05-13 20:58:23 +03:00
"axios-ntlm": "^1.3.0",
2022-01-03 17:48:52 +03:00
"badge-maker": "^3.3.1",
"bcryptjs": "~2.4.3",
"bootstrap": "5.1.3",
2022-03-21 09:31:29 +03:00
"bree": "~7.1.5",
2021-10-21 17:54:04 +03:00
"chardet": "^1.3.0",
2022-03-21 09:31:29 +03:00
"chart.js": "~3.6.2",
"chartjs-adapter-dayjs": "~1.0.0",
"check-password-strength": "^2.0.5",
2022-05-10 19:51:11 +03:00
"cheerio": "^1.0.0-rc.10",
2022-01-03 17:48:52 +03:00
"chroma-js": "^2.1.2",
"command-exists": "~1.2.9",
"compare-versions": "~3.6.0",
"compression": "^1.7.4",
"dayjs": "^1.11.0",
"esm-wallaby": "^3.2.26",
2022-03-21 09:31:29 +03:00
"express": "~4.17.3",
"express-basic-auth": "~1.2.1",
"express-static-gzip": "^2.1.7",
2021-10-30 04:25:32 +03:00
"favico.js": "^0.3.10",
"form-data": "~4.0.0",
2022-03-21 09:31:29 +03:00
"http-graceful-shutdown": "~3.1.7",
2021-10-30 17:02:29 +03:00
"http-proxy-agent": "^5.0.0",
"https-proxy-agent": "^5.0.0",
"iconv-lite": "^0.6.3",
"jsonwebtoken": "~8.5.1",
2021-10-26 14:15:31 +03:00
"jwt-decode": "^3.1.2",
2021-10-21 18:03:40 +03:00
"limiter": "^2.1.0",
2021-11-04 04:46:43 +03:00
"mqtt": "^4.2.8",
2022-05-12 20:48:03 +03:00
"mssql": "^8.1.0",
"node-cloudflared-tunnel": "~1.0.9",
"nodemailer": "~6.6.5",
"notp": "~2.0.3",
"password-hash": "~1.2.2",
"postcss-rtlcss": "~3.4.1",
2022-03-21 09:31:29 +03:00
"postcss-scss": "~4.0.3",
"prismjs": "^1.27.0",
"prom-client": "~13.2.0",
2022-03-21 09:31:29 +03:00
"prometheus-api-metrics": "~3.2.1",
2021-12-05 11:28:59 +03:00
"qrcode": "~1.5.0",
"redbean-node": "0.1.4",
2022-01-17 20:24:07 +03:00
"socket.io": "~4.4.1",
"socket.io-client": "~4.4.1",
2022-04-02 06:34:00 +03:00
"socks-proxy-agent": "^6.1.1",
"tar": "^6.1.11",
"tcp-ping": "~0.1.1",
"thirty-two": "~1.0.2",
"timezones-list": "~3.0.1",
2021-10-29 14:37:38 +03:00
"v-pagination-3": "~0.1.7",
"vue": "next",
2022-02-03 07:26:50 +03:00
"vue-chart-3": "3.0.9",
"vue-confirm-dialog": "~1.0.2",
"vue-contenteditable": "~3.0.4",
"vue-i18n": "~9.1.9",
"vue-image-crop-upload": "~3.0.3",
"vue-multiselect": "~3.0.0-alpha.2",
"vue-prism-editor": "^2.0.0-alpha.2",
"vue-qrcode": "~1.0.0",
2022-03-21 09:31:29 +03:00
"vue-router": "~4.0.14",
2021-11-23 08:32:24 +03:00
"vue-toastification": "~2.0.0-rc.5",
"vuedraggable": "~4.1.0"
2021-06-24 16:42:03 +03:00
},
"devDependencies": {
2022-04-02 06:34:00 +03:00
"@actions/github": "~5.0.1",
2022-04-26 02:26:57 +03:00
"@babel/eslint-parser": "~7.17.0",
2021-10-08 10:11:50 +03:00
"@babel/preset-env": "^7.15.8",
2022-03-21 09:31:29 +03:00
"@types/bootstrap": "~5.1.9",
"@vitejs/plugin-legacy": "~1.8.2",
"@vitejs/plugin-vue": "~2.3.3",
"@vue/compiler-sfc": "~3.2.36",
2022-04-16 20:07:54 +03:00
"aedes": "^0.46.3",
"babel-plugin-rewire": "~1.2.0",
2022-04-25 21:18:14 +03:00
"concurrently": "^7.1.0",
2021-11-23 08:32:24 +03:00
"core-js": "~3.18.3",
"cross-env": "~7.0.3",
"delay": "^5.0.0",
"dns2": "~2.0.1",
2022-04-26 02:26:57 +03:00
"eslint": "~8.14.0",
"eslint-plugin-vue": "~8.7.1",
2021-11-23 08:32:24 +03:00
"jest": "~27.2.5",
2022-03-21 09:31:29 +03:00
"jest-puppeteer": "~6.0.3",
"lru-cache": "^7.7.1",
2022-04-26 02:26:57 +03:00
"npm-check-updates": "^12.5.9",
"postcss-html": "^1.3.1",
2022-02-03 07:20:15 +03:00
"puppeteer": "~13.1.3",
"rollup-plugin-visualizer": "^5.6.0",
"sass": "~1.42.1",
2022-04-26 02:26:57 +03:00
"stylelint": "~14.7.1",
"stylelint-config-standard": "~25.0.0",
2021-11-23 08:32:24 +03:00
"typescript": "~4.4.4",
"vite": "~2.9.9",
"vite-plugin-compression": "^0.5.1",
2022-04-25 21:18:14 +03:00
"wait-on": "^6.0.1"
2021-06-24 16:42:03 +03:00
}
}