2022-06-02 05:26:42 +03:00
|
|
|
{
|
2022-09-21 11:08:25 +03:00
|
|
|
"name": "@hcengineering/pod-backup",
|
2022-06-02 05:26:42 +03:00
|
|
|
"version": "0.6.0",
|
|
|
|
"main": "lib/index.js",
|
|
|
|
"author": "Anticrm Platform Contributors",
|
|
|
|
"license": "EPL-2.0",
|
|
|
|
"scripts": {
|
|
|
|
"start": "ts-node src/index.ts",
|
2023-10-07 23:14:00 +03:00
|
|
|
"build": "tsc",
|
|
|
|
"build:watch": "tsc",
|
2022-06-02 05:26:42 +03:00
|
|
|
"lint:fix": "eslint --fix src",
|
2023-03-15 09:39:12 +03:00
|
|
|
"bundle": "esbuild src/index.ts --bundle --sourcemap=inline --minify --platform=node > bundle.js",
|
2022-06-02 05:26:42 +03:00
|
|
|
"docker:build": "docker build -t hardcoreeng/backup .",
|
|
|
|
"docker:staging": "../../common/scripts/docker_tag.sh hardcoreeng/backup staging",
|
|
|
|
"docker:push": "../../common/scripts/docker_tag.sh hardcoreeng/backup",
|
2023-09-19 14:11:28 +03:00
|
|
|
"run-local": "cross-env ACCOUNTS_URL=http://localhost:3000/ SECRET=secret MINIO_ACCESS_KEY=minioadmin MINIO_SECRET_KEY=minioadmin MINIO_ENDPOINT=localhost TRANSACTOR_URL=ws://localhost:3333 BUCKET_NAME=backups INTERVAL=30 ts-node src/index.ts",
|
2022-06-02 05:26:42 +03:00
|
|
|
"lint": "eslint src",
|
2023-10-24 19:00:18 +03:00
|
|
|
"format": "format src",
|
2023-10-07 13:38:21 +03:00
|
|
|
"test": "jest --passWithNoTests --silent"
|
2022-06-02 05:26:42 +03:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"cross-env": "~7.0.3",
|
2023-01-09 08:35:54 +03:00
|
|
|
"@hcengineering/platform-rig": "^0.6.0",
|
2022-06-02 05:26:42 +03:00
|
|
|
"@types/node": "~16.11.12",
|
2022-11-02 11:50:14 +03:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.41.0",
|
2022-07-02 09:30:37 +03:00
|
|
|
"eslint-plugin-import": "^2.26.0",
|
2022-11-02 11:50:14 +03:00
|
|
|
"eslint-plugin-promise": "^6.1.1",
|
|
|
|
"eslint-plugin-n": "^15.4.0",
|
|
|
|
"eslint": "^8.26.0",
|
2023-01-06 10:31:30 +03:00
|
|
|
"esbuild": "^0.16.14",
|
2022-11-02 11:50:14 +03:00
|
|
|
"@typescript-eslint/parser": "^5.41.0",
|
|
|
|
"eslint-config-standard-with-typescript": "^23.0.0",
|
2022-07-02 09:30:37 +03:00
|
|
|
"prettier": "^2.7.1",
|
2022-06-03 19:44:11 +03:00
|
|
|
"ts-node": "^10.8.0",
|
2023-10-07 23:14:00 +03:00
|
|
|
"typescript": "^5.2.2",
|
2023-10-07 13:38:21 +03:00
|
|
|
"jest": "^29.7.0",
|
|
|
|
"ts-jest": "^29.1.1",
|
|
|
|
"@types/jest": "^29.5.5"
|
2022-06-02 05:26:42 +03:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-05-04 08:12:11 +03:00
|
|
|
"@hcengineering/platform": "^0.6.9",
|
2022-11-16 18:03:03 +03:00
|
|
|
"mongodb": "^4.11.0",
|
2023-01-09 08:35:54 +03:00
|
|
|
"@hcengineering/server-tool": "^0.6.0",
|
2023-07-06 08:55:22 +03:00
|
|
|
"@hcengineering/server-token": "^0.6.6",
|
|
|
|
"@hcengineering/client": "^0.6.13",
|
|
|
|
"@hcengineering/client-resources": "^0.6.21",
|
|
|
|
"@hcengineering/core": "^0.6.27",
|
2022-06-02 05:26:42 +03:00
|
|
|
"dotenv": "~16.0.0",
|
|
|
|
"got": "^11.8.3",
|
2023-01-09 08:35:54 +03:00
|
|
|
"@hcengineering/server-backup": "^0.6.0",
|
2022-11-16 18:03:03 +03:00
|
|
|
"@hcengineering/minio": "^0.6.0"
|
2022-06-02 05:26:42 +03:00
|
|
|
}
|
|
|
|
}
|