mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 20:10:53 +03:00
128 lines
6.8 KiB
JSON
128 lines
6.8 KiB
JSON
{
|
|
"name": "uptime-kuma",
|
|
"version": "1.7.3",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/louislam/uptime-kuma.git"
|
|
},
|
|
"engines": {
|
|
"node": "14.*"
|
|
},
|
|
"scripts": {
|
|
"install-legacy": "npm install --legacy-peer-deps",
|
|
"update-legacy": "npm update --legacy-peer-deps",
|
|
"lint:js": "eslint --ext \".js,.vue\" --ignore-path .gitignore .",
|
|
"lint:style": "stylelint \"**/*.{vue,css,scss}\" --ignore-path .gitignore",
|
|
"lint": "npm run lint:js && npm run lint:style",
|
|
"dev": "vite --host",
|
|
"start": "npm run start-server",
|
|
"start-server": "node server/server.js",
|
|
"start-server-dev": "cross-env NODE_ENV=development node server/server.js",
|
|
"build": "vite build",
|
|
"test": "node test/prepare-test-server.js && node server/server.js --port=3002 --data-dir=./data/test/ --test",
|
|
"jest": "node test/prepare-jest.js && jest",
|
|
"tsc": "tsc",
|
|
"vite-preview-dist": "vite preview --host",
|
|
"build-docker": "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",
|
|
"build-docker-alpine": "docker buildx build -f 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:1.7.3-alpine --target release . --push",
|
|
"build-docker-debian": "docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t louislam/uptime-kuma -t louislam/uptime-kuma:1 -t louislam/uptime-kuma:1.7.3 -t louislam/uptime-kuma:debian -t louislam/uptime-kuma:1-debian -t louislam/uptime-kuma:1.7.3-debian --target release . --push",
|
|
"build-docker-nightly": "docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t louislam/uptime-kuma:nightly --target nightly . --push",
|
|
"build-docker-nightly-alpine": "docker buildx build -f 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 --platform linux/amd64 -t louislam/uptime-kuma:nightly-amd64 --target nightly . --push --progress plain",
|
|
"upload-artifacts": "docker buildx build --platform linux/amd64 -t louislam/uptime-kuma:upload-artifact --build-arg GITHUB_TOKEN --target upload-artifact . --progress plain",
|
|
"setup": "git checkout 1.7.3 && npm install --legacy-peer-deps && node node_modules/esbuild/install.js && npm run build && npm prune",
|
|
"update-version": "node extra/update-version.js",
|
|
"mark-as-nightly": "node extra/mark-as-nightly.js",
|
|
"reset-password": "node extra/reset-password.js",
|
|
"compile-install-script": "@powershell -NoProfile -ExecutionPolicy Unrestricted -Command ./extra/compile-install-script.ps1",
|
|
"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 .",
|
|
"test-nodejs16": "docker build --progress plain -f test/ubuntu-nodejs16.dockerfile .",
|
|
"simple-dns-server": "node extra/simple-dns-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",
|
|
"update-language-files": "cd extra/update-language-files && node index.js && eslint ../../src/languages/**.js --fix"
|
|
},
|
|
"dependencies": {
|
|
"@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-4",
|
|
"@louislam/sqlite3": "~5.0.6",
|
|
"@popperjs/core": "~2.10.2",
|
|
"args-parser": "~1.3.0",
|
|
"axios": "~0.21.4",
|
|
"bcryptjs": "~2.4.3",
|
|
"bootstrap": "~5.1.1",
|
|
"chart.js": "~3.5.1",
|
|
"chartjs-adapter-dayjs": "~1.0.0",
|
|
"command-exists": "~1.2.9",
|
|
"compare-versions": "~3.6.0",
|
|
"dayjs": "~1.10.7",
|
|
"express": "~4.17.1",
|
|
"express-basic-auth": "~1.2.0",
|
|
"form-data": "~4.0.0",
|
|
"http-graceful-shutdown": "~3.1.4",
|
|
"jsonwebtoken": "~8.5.1",
|
|
"nodemailer": "~6.6.5",
|
|
"notp": "~2.0.3",
|
|
"password-hash": "~1.2.2",
|
|
"postcss-rtlcss": "~3.4.1",
|
|
"postcss-scss": "~4.0.1",
|
|
"prom-client": "~13.2.0",
|
|
"prometheus-api-metrics": "~3.2.0",
|
|
"qrcode": "~1.4.4",
|
|
"redbean-node": "0.1.2",
|
|
"socket.io": "~4.2.0",
|
|
"socket.io-client": "~4.2.0",
|
|
"tcp-ping": "~0.1.1",
|
|
"thirty-two": "~1.0.2",
|
|
"timezones-list": "~3.0.1",
|
|
"v-pagination-3": "~0.1.6",
|
|
"vue": "next",
|
|
"vue-chart-3": "~0.5.8",
|
|
"vue-confirm-dialog": "~1.0.2",
|
|
"vue-contenteditable": "~3.0.4",
|
|
"vue-i18n": "~9.1.8",
|
|
"vue-image-crop-upload": "~3.0.3",
|
|
"vue-multiselect": "~3.0.0-alpha.2",
|
|
"vue-qrcode": "~1.0.0",
|
|
"vue-router": "~4.0.11",
|
|
"vue-toastification": "~2.0.0-rc.1",
|
|
"vuedraggable": "~4.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/eslint-parser": "~7.15.7",
|
|
"@types/bootstrap": "~5.1.6",
|
|
"@vitejs/plugin-legacy": "~1.5.3",
|
|
"@vitejs/plugin-vue": "~1.9.2",
|
|
"@vue/compiler-sfc": "~3.2.19",
|
|
"core-js": "~3.18.1",
|
|
"cross-env": "~7.0.3",
|
|
"dns2": "~2.0.1",
|
|
"eslint": "~7.32.0",
|
|
"eslint-plugin-vue": "~7.18.0",
|
|
"jest": "~27.2.4",
|
|
"jest-puppeteer": "~6.0.0",
|
|
"puppeteer": "~10.4.0",
|
|
"sass": "~1.42.1",
|
|
"stylelint": "~13.13.1",
|
|
"stylelint-config-standard": "~22.0.0",
|
|
"typescript": "~4.4.3",
|
|
"vite": "~2.5.10"
|
|
},
|
|
"jest": {
|
|
"verbose": true,
|
|
"preset": "jest-puppeteer",
|
|
"globals": {
|
|
"__DEV__": true
|
|
},
|
|
"testRegex": "./test/*.spec.js",
|
|
"rootDir": ".",
|
|
"testTimeout": 30000
|
|
}
|
|
}
|