2022-11-15 05:51:46 +03:00
|
|
|
{
|
|
|
|
"name": "@hcengineering/pod-server",
|
|
|
|
"version": "0.6.0",
|
|
|
|
"main": "lib/index.js",
|
2024-02-23 08:37:22 +03:00
|
|
|
"svelte": "src/index.ts",
|
|
|
|
"types": "types/index.d.ts",
|
2022-11-15 05:51:46 +03:00
|
|
|
"author": "Anticrm Platform Contributors",
|
2024-02-12 19:57:11 +03:00
|
|
|
"template": "@hcengineering/node-package",
|
2024-02-23 08:37:22 +03:00
|
|
|
"license": "EPL-2.0",
|
2022-11-15 05:51:46 +03:00
|
|
|
"scripts": {
|
2024-09-13 13:25:53 +03:00
|
|
|
"start": "rush bundle --to @hcengineering/pod-server && cross-env NODE_ENV=production ELASTIC_INDEX_NAME=local_storage_index MODEL_VERSION=$(node ../../common/scripts/show_version.js) ACCOUNTS_URL=http://localhost:3000 REKONI_URL=http://localhost:4004 MONGO_URL=mongodb://localhost:27017 ELASTIC_URL=http://localhost:9200 FRONT_URL=http://localhost:8087 UPLOAD_URL=/upload MINIO_ENDPOINT=localhost MINIO_ACCESS_KEY=minioadmin MINIO_SECRET_KEY=minioadmin METRICS_CONSOLE=true SERVER_SECRET=secret OPERATION_PROFILING=false node bundle/bundle.js",
|
2024-09-16 08:57:29 +03:00
|
|
|
"start-u": "rush bundle --to @hcengineering/pod-server && ./bundle/ && cross-env NODE_ENV=production SERVER_PROVIDER=uweb ELASTIC_INDEX_NAME=local_storage_index MODEL_VERSION=$(node ../../common/scripts/show_version.js) ACCOUNTS_URL=http://localhost:3000 REKONI_URL=http://localhost:4004 MONGO_URL=mongodb://localhost:27017 ELASTIC_URL=http://localhost:9200 FRONT_URL=http://localhost:8087 UPLOAD_URL=/upload MINIO_ENDPOINT=localhost MINIO_ACCESS_KEY=minioadmin MINIO_SECRET_KEY=minioadmin METRICS_CONSOLE=true SERVER_SECRET=secret node bundle/bundle.js",
|
2024-08-02 17:14:49 +03:00
|
|
|
"start-flame": "rush bundle --to @hcengineering/pod-server && cross-env NODE_ENV=production ELASTIC_INDEX_NAME=local_storage_index MODEL_VERSION=$(node ../../common/scripts/show_version.js) ACCOUNTS_URL=http://localhost:3000 REKONI_URL=http://localhost:4004 MONGO_URL=mongodb://localhost:27017 ELASTIC_URL=http://localhost:9200 FRONT_URL=http://localhost:8087 UPLOAD_URL=/upload MINIO_ENDPOINT=localhost MINIO_ACCESS_KEY=minioadmin MINIO_SECRET_KEY=minioadmin METRICS_CONSOLE=true SERVER_SECRET=secret clinic flame --dest ./out -- node --nolazy -r ts-node/register --enable-source-maps src/__start.ts",
|
2024-02-12 19:57:11 +03:00
|
|
|
"build": "compile",
|
|
|
|
"_phase:bundle": "rushx bundle",
|
|
|
|
"_phase:docker-build": "rushx docker:build",
|
|
|
|
"_phase:docker-staging": "rushx docker:staging",
|
2024-09-18 06:01:27 +03:00
|
|
|
"bundle": "mkdir -p bundle && esbuild src/__start.ts --sourcemap=inline --bundle --keep-names --platform=node --external:*.node --external:bufferutil --external:snappy --external:utf-8-validate --external:msgpackr-extract --define:process.env.MODEL_VERSION=$(node ../../common/scripts/show_version.js) --define:process.env.VERSION=$(node ../../common/scripts/show_tag.js) --define:process.env.GIT_REVISION=$(../../common/scripts/git_version.sh) --outfile=bundle/bundle.js --log-level=error --sourcemap=external",
|
2024-03-08 20:09:38 +03:00
|
|
|
"docker:build": "../../common/scripts/docker_build.sh hardcoreeng/transactor",
|
2024-07-27 18:04:21 +03:00
|
|
|
"docker:tbuild": "docker build -t hardcoreeng/transactor . --platform=linux/amd64 && ../../common/scripts/docker_tag_push.sh hardcoreeng/transactor",
|
2024-08-02 17:14:49 +03:00
|
|
|
"docker:abuild": "docker build -t hardcoreeng/transactor . --platform=linux/arm64 && ../../common/scripts/docker_tag_push.sh hardcoreeng/transactor",
|
2022-11-15 07:34:03 +03:00
|
|
|
"docker:staging": "../../common/scripts/docker_tag.sh hardcoreeng/transactor staging",
|
|
|
|
"docker:push": "../../common/scripts/docker_tag.sh hardcoreeng/transactor",
|
2024-02-12 19:57:11 +03:00
|
|
|
"build:watch": "compile",
|
2023-10-24 19:00:18 +03:00
|
|
|
"format": "format src",
|
2024-02-12 19:57:11 +03:00
|
|
|
"test": "jest --passWithNoTests --silent --forceExit",
|
2024-02-23 08:37:22 +03:00
|
|
|
"_phase:build": "compile transpile src",
|
2024-02-12 19:57:11 +03:00
|
|
|
"_phase:test": "jest --passWithNoTests --silent --forceExit",
|
2024-02-23 08:37:22 +03:00
|
|
|
"_phase:format": "format src",
|
|
|
|
"_phase:validate": "compile validate"
|
2022-11-15 05:51:46 +03:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"cross-env": "~7.0.3",
|
2023-01-09 08:35:54 +03:00
|
|
|
"@hcengineering/platform-rig": "^0.6.0",
|
2024-02-06 05:57:31 +03:00
|
|
|
"@types/node": "~20.11.16",
|
2023-11-20 13:01:43 +03:00
|
|
|
"@typescript-eslint/eslint-plugin": "^6.11.0",
|
2022-11-15 05:51:46 +03:00
|
|
|
"eslint-plugin-import": "^2.26.0",
|
|
|
|
"eslint-plugin-promise": "^6.1.1",
|
|
|
|
"eslint-plugin-n": "^15.4.0",
|
2023-11-20 13:01:43 +03:00
|
|
|
"eslint": "^8.54.0",
|
2024-07-27 18:04:21 +03:00
|
|
|
"eslint-config-prettier": "^8.8.0",
|
2024-07-18 21:04:48 +03:00
|
|
|
"@types/ws": "^8.5.11",
|
2022-11-15 05:51:46 +03:00
|
|
|
"ts-node": "^10.8.0",
|
2024-02-16 09:20:03 +03:00
|
|
|
"esbuild": "^0.20.0",
|
2023-11-20 13:01:43 +03:00
|
|
|
"@typescript-eslint/parser": "^6.11.0",
|
|
|
|
"eslint-config-standard-with-typescript": "^40.0.0",
|
|
|
|
"prettier": "^3.1.0",
|
2024-02-12 19:57:11 +03:00
|
|
|
"typescript": "^5.3.3",
|
2023-10-07 13:38:21 +03:00
|
|
|
"jest": "^29.7.0",
|
|
|
|
"ts-jest": "^29.1.1",
|
2024-03-15 12:33:12 +03:00
|
|
|
"@types/jest": "^29.5.5"
|
2022-11-15 05:51:46 +03:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2024-06-05 08:46:40 +03:00
|
|
|
"@hcengineering/core": "^0.6.32",
|
|
|
|
"@hcengineering/platform": "^0.6.11",
|
2023-01-09 08:35:54 +03:00
|
|
|
"@hcengineering/server-core": "^0.6.1",
|
|
|
|
"@hcengineering/server-ws": "^0.6.11",
|
|
|
|
"@hcengineering/server": "^0.6.4",
|
2024-05-17 13:08:30 +03:00
|
|
|
"@hcengineering/server-storage": "^0.6.0",
|
2024-07-02 14:09:44 +03:00
|
|
|
"@hcengineering/server-pipeline": "^0.6.0",
|
2024-07-27 18:04:21 +03:00
|
|
|
"@hcengineering/mongo": "^0.6.1",
|
|
|
|
"@hcengineering/elastic": "^0.6.0",
|
|
|
|
"@hcengineering/server-token": "^0.6.11",
|
|
|
|
"@hcengineering/middleware": "^0.6.0",
|
|
|
|
"@hcengineering/minio": "^0.6.0",
|
|
|
|
"@hcengineering/translate": "^0.6.0",
|
|
|
|
"@hcengineering/analytics": "^0.6.0",
|
|
|
|
"@hcengineering/analytics-service": "^0.6.0",
|
2024-06-05 08:46:40 +03:00
|
|
|
"@hcengineering/contact": "^0.6.24",
|
|
|
|
"@hcengineering/notification": "^0.6.23",
|
2024-08-06 17:40:13 +03:00
|
|
|
"@hcengineering/server-notification": "^0.6.1",
|
2024-08-07 09:53:17 +03:00
|
|
|
"@hcengineering/server-telegram": "^0.6.0",
|
|
|
|
"@hcengineering/pod-telegram-bot": "^0.6.0",
|
2024-08-06 17:40:13 +03:00
|
|
|
"@hcengineering/server-ai-bot": "^0.6.0",
|
2024-09-25 07:27:45 +03:00
|
|
|
"@hcengineering/server-ai-bot-resources": "^0.6.0",
|
2024-09-26 13:20:30 +03:00
|
|
|
"@hcengineering/model-all": "^0.6.0",
|
|
|
|
"ws": "^8.18.0",
|
|
|
|
"bufferutil": "^4.0.8",
|
|
|
|
"msgpackr": "^1.11.0",
|
|
|
|
"msgpackr-extract": "^3.0.3"
|
2022-11-15 05:51:46 +03:00
|
|
|
}
|
|
|
|
}
|