mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-20 18:02:01 +03:00
0a32f8885b
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
80 lines
5.1 KiB
JSON
80 lines
5.1 KiB
JSON
{
|
|
"name": "@hcengineering/pod-server",
|
|
"version": "0.6.0",
|
|
"main": "lib/index.js",
|
|
"svelte": "src/index.ts",
|
|
"types": "types/index.d.ts",
|
|
"author": "Anticrm Platform Contributors",
|
|
"template": "@hcengineering/node-package",
|
|
"license": "EPL-2.0",
|
|
"scripts": {
|
|
"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",
|
|
"start-u": "rush bundle --to @hcengineering/pod-server && cp ./node_modules/@hcengineering/uws/lib/*.node ./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",
|
|
"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",
|
|
"build": "compile",
|
|
"_phase:bundle": "rushx bundle",
|
|
"_phase:docker-build": "rushx docker:build",
|
|
"_phase:docker-staging": "rushx docker:staging",
|
|
"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.GIT_REVISION=$(../../common/scripts/git_version.sh) --outfile=bundle/bundle.js --log-level=error --sourcemap=external",
|
|
"docker:build": "../../common/scripts/docker_build.sh hardcoreeng/transactor",
|
|
"docker:tbuild": "docker build -t hardcoreeng/transactor . --platform=linux/amd64 && ../../common/scripts/docker_tag_push.sh hardcoreeng/transactor",
|
|
"docker:abuild": "docker build -t hardcoreeng/transactor . --platform=linux/arm64 && ../../common/scripts/docker_tag_push.sh hardcoreeng/transactor",
|
|
"docker:staging": "../../common/scripts/docker_tag.sh hardcoreeng/transactor staging",
|
|
"docker:push": "../../common/scripts/docker_tag.sh hardcoreeng/transactor",
|
|
"build:watch": "compile",
|
|
"format": "format src",
|
|
"test": "jest --passWithNoTests --silent --forceExit",
|
|
"_phase:build": "compile transpile src",
|
|
"_phase:test": "jest --passWithNoTests --silent --forceExit",
|
|
"_phase:format": "format src",
|
|
"_phase:validate": "compile validate"
|
|
},
|
|
"devDependencies": {
|
|
"cross-env": "~7.0.3",
|
|
"@hcengineering/platform-rig": "^0.6.0",
|
|
"@types/node": "~20.11.16",
|
|
"@typescript-eslint/eslint-plugin": "^6.11.0",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"eslint-plugin-promise": "^6.1.1",
|
|
"eslint-plugin-n": "^15.4.0",
|
|
"eslint": "^8.54.0",
|
|
"eslint-config-prettier": "^8.8.0",
|
|
"@types/ws": "^8.5.11",
|
|
"ts-node": "^10.8.0",
|
|
"esbuild": "^0.20.0",
|
|
"@typescript-eslint/parser": "^6.11.0",
|
|
"eslint-config-standard-with-typescript": "^40.0.0",
|
|
"prettier": "^3.1.0",
|
|
"typescript": "^5.3.3",
|
|
"jest": "^29.7.0",
|
|
"ts-jest": "^29.1.1",
|
|
"@types/jest": "^29.5.5"
|
|
},
|
|
"dependencies": {
|
|
"@hcengineering/core": "^0.6.32",
|
|
"@hcengineering/platform": "^0.6.11",
|
|
"@hcengineering/server-core": "^0.6.1",
|
|
"@hcengineering/server-ws": "^0.6.11",
|
|
"@hcengineering/uws": "^0.6.0",
|
|
"@hcengineering/server": "^0.6.4",
|
|
"@hcengineering/server-storage": "^0.6.0",
|
|
"@hcengineering/server-pipeline": "^0.6.0",
|
|
"@hcengineering/mongo": "^0.6.1",
|
|
"@hcengineering/elastic": "^0.6.0",
|
|
"elastic-apm-node": "~3.26.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",
|
|
"@hcengineering/contact": "^0.6.24",
|
|
"@hcengineering/notification": "^0.6.23",
|
|
"@hcengineering/server-notification": "^0.6.1",
|
|
"@hcengineering/server-telegram": "^0.6.0",
|
|
"@hcengineering/pod-telegram-bot": "^0.6.0",
|
|
"@hcengineering/server-ai-bot": "^0.6.0",
|
|
"@hcengineering/server-ai-bot-resources": "^0.6.0"
|
|
}
|
|
}
|