This commit is contained in:
Louis Lam 2022-04-07 23:40:21 +08:00
parent 008dc27f52
commit 58bd14ee2e
4 changed files with 1316 additions and 4 deletions

View File

@ -8,6 +8,7 @@
**/.dockerignore
/private
**/.git
**/bin
**/.gitignore
**/docker-compose*
**/[Dd]ockerfile*

2
.gitignore vendored
View File

@ -4,7 +4,7 @@ dist
dist-ssr
*.local
.idea
/bin
/data
!/data/.gitkeep
.vscode

1302
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -9,6 +9,17 @@
"engines": {
"node": "14.* || >=16.*"
},
"bin": {
"uptime-kuma": "./server/server.js"
},
"pkg": {
"scripts": ["server/server.js"],
"assets": [
"dist/**/*"
],
"targets": [ "node16-win-x64" ],
"outputPath": "bin"
},
"scripts": {
"install-legacy": "npm install --legacy-peer-deps",
"update-legacy": "npm update --legacy-peer-deps",
@ -53,7 +64,8 @@
"ncu-patch": "npm-check-updates -u -t patch",
"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",
"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"
"git-remove-tag": "git tag -d",
"build-binary": "pkg --compress Brotli ."
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "~1.2.36",
@ -132,6 +144,7 @@
"jest": "~27.2.5",
"jest-puppeteer": "~6.0.3",
"npm-check-updates": "^12.5.5",
"pkg": "^5.6.0",
"puppeteer": "~13.1.3",
"sass": "~1.42.1",
"stylelint": "~14.2.0",