mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-20 09:42:26 +03:00
e63bbd563b
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
169 lines
9.3 KiB
JSON
169 lines
9.3 KiB
JSON
{
|
|
"name": "@hcengineering/tool",
|
|
"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": {
|
|
"build": "compile",
|
|
"build:watch": "compile",
|
|
"start": "ts-node src/__start.ts",
|
|
"_phase:bundle": "rushx bundle",
|
|
"_phase:docker-build": "rushx docker:build",
|
|
"_phase:docker-staging": "rushx docker:staging",
|
|
"bundle": "node ../../common/scripts/esbuild.js --entry=src/__start.ts --keep-names=true --sourcemap=external --define:MODEL_VERSION --define:GIT_REVISION",
|
|
"docker:build": "../../common/scripts/docker_build.sh hardcoreeng/tool",
|
|
"docker:tbuild": "docker build -t hardcoreeng/tool . --platform=linux/amd64 && ../../common/scripts/docker_tag_push.sh hardcoreeng/tool",
|
|
"docker:staging": "../../common/scripts/docker_tag.sh hardcoreeng/tool staging",
|
|
"docker:push": "../../common/scripts/docker_tag.sh hardcoreeng/tool",
|
|
"run-local": "rush bundle --to @hcengineering/tool >/dev/null && cross-env SERVER_SECRET=secret ACCOUNTS_URL=http://localhost:3000 TRANSACTOR_URL=ws://localhost:3333 MINIO_ACCESS_KEY=minioadmin MINIO_SECRET_KEY=minioadmin MINIO_ENDPOINT=localhost ACCOUNT_DB_URL=mongodb://localhost:27017 DB_URL=mongodb://localhost:27017 TELEGRAM_DATABASE=telegram-service ELASTIC_URL=http://localhost:9200 REKONI_URL=http://localhost:4004 MODEL_VERSION=$(node ../../common/scripts/show_version.js) GIT_REVISION=$(git describe --all --long) node --expose-gc --max-old-space-size=18000 ./bundle/bundle.js",
|
|
"run-local-pg": "rush bundle --to @hcengineering/tool >/dev/null && cross-env SERVER_SECRET=secret ACCOUNTS_URL=http://localhost:3000 TRANSACTOR_URL=ws://localhost:3333 MINIO_ACCESS_KEY=minioadmin MINIO_SECRET_KEY=minioadmin MINIO_ENDPOINT=localhost ACCOUNT_DB_URL=mongodb://localhost:27017 DB_URL=postgresql://postgres:example@localhost:5432 TELEGRAM_DATABASE=telegram-service ELASTIC_URL=http://localhost:9200 REKONI_URL=http://localhost:4004 MODEL_VERSION=$(node ../../common/scripts/show_version.js) GIT_REVISION=$(git describe --all --long) node --expose-gc --max-old-space-size=18000 ./bundle/bundle.js",
|
|
"run-local-cr": "rush bundle --to @hcengineering/tool >/dev/null && cross-env SERVER_SECRET=secret ACCOUNTS_URL=http://localhost:3000 TRANSACTOR_URL=ws://localhost:3332 MINIO_ACCESS_KEY=minioadmin MINIO_SECRET_KEY=minioadmin MINIO_ENDPOINT=localhost ACCOUNT_DB_URL=mongodb://localhost:27017 DB_URL=postgresql://root@host.docker.internal:26257/defaultdb?sslmode=disable TELEGRAM_DATABASE=telegram-service ELASTIC_URL=http://localhost:9200 REKONI_URL=http://localhost:4004 MODEL_VERSION=$(node ../../common/scripts/show_version.js) GIT_REVISION=$(git describe --all --long) node --expose-gc --max-old-space-size=18000 ./bundle/bundle.js",
|
|
"run-local-brk": "rush bundle --to @hcengineering/tool >/dev/null && cross-env SERVER_SECRET=secret ACCOUNTS_URL=http://localhost:3000 TRANSACTOR_URL=ws://localhost:3333 MINIO_ACCESS_KEY=minioadmin MINIO_SECRET_KEY=minioadmin MINIO_ENDPOINT=localhost ACCOUNT_DB_URL=mongodb://localhost:27017 DB_URL=mongodb://localhost:27017 TELEGRAM_DATABASE=telegram-service ELASTIC_URL=http://localhost:9200 REKONI_URL=http://localhost:4004 MODEL_VERSION=$(node ../../common/scripts/show_version.js) GIT_REVISION=$(git describe --all --long) node --inspect-brk --enable-source-maps --max-old-space-size=18000 ./bundle/bundle.js",
|
|
"run": "rush bundle --to @hcengineering/tool >/dev/null && cross-env node --max-old-space-size=8000 ./bundle/bundle.js",
|
|
"upgrade": "rushx run-local upgrade",
|
|
"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",
|
|
"@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",
|
|
"ts-node": "^10.8.0",
|
|
"esbuild": "^0.20.0",
|
|
"@types/minio": "~7.0.11",
|
|
"@types/node": "~20.11.16",
|
|
"@typescript-eslint/parser": "^6.11.0",
|
|
"eslint-config-standard-with-typescript": "^40.0.0",
|
|
"prettier": "^3.1.0",
|
|
"typescript": "^5.3.3",
|
|
"@types/ws": "^8.5.11",
|
|
"@types/mime-types": "~2.1.1",
|
|
"@types/request": "~2.48.8",
|
|
"jest": "^29.7.0",
|
|
"ts-jest": "^29.1.1",
|
|
"@types/jest": "^29.5.5"
|
|
},
|
|
"dependencies": {
|
|
"@elastic/elasticsearch": "^7.17.14",
|
|
"@hcengineering/account": "^0.6.0",
|
|
"@hcengineering/workspace-service": "^0.6.0",
|
|
"@hcengineering/attachment": "^0.6.14",
|
|
"@hcengineering/calendar": "^0.6.24",
|
|
"@hcengineering/chunter": "^0.6.20",
|
|
"@hcengineering/client": "^0.6.18",
|
|
"@hcengineering/activity": "^0.6.0",
|
|
"@hcengineering/client-resources": "^0.6.27",
|
|
"@hcengineering/contact": "^0.6.24",
|
|
"@hcengineering/core": "^0.6.32",
|
|
"@hcengineering/document": "^0.6.0",
|
|
"@hcengineering/elastic": "^0.6.0",
|
|
"@hcengineering/lead": "^0.6.0",
|
|
"@hcengineering/minio": "^0.6.0",
|
|
"@hcengineering/model": "^0.6.11",
|
|
"@hcengineering/model-all": "^0.6.0",
|
|
"@hcengineering/model-attachment": "^0.6.0",
|
|
"@hcengineering/model-contact": "^0.6.1",
|
|
"@hcengineering/model-recruit": "^0.6.0",
|
|
"@hcengineering/model-telegram": "^0.6.0",
|
|
"@hcengineering/model-tracker": "^0.6.0",
|
|
"@hcengineering/model-core": "^0.6.0",
|
|
"@hcengineering/model-task": "^0.6.0",
|
|
"@hcengineering/model-activity": "^0.6.0",
|
|
"@hcengineering/model-lead": "^0.6.0",
|
|
"@hcengineering/postgres": "^0.6.0",
|
|
"@hcengineering/mongo": "^0.6.1",
|
|
"@hcengineering/platform": "^0.6.11",
|
|
"@hcengineering/recruit": "^0.6.29",
|
|
"@hcengineering/rekoni": "^0.6.0",
|
|
"@hcengineering/server-pipeline": "^0.6.0",
|
|
"@hcengineering/server-attachment": "^0.6.1",
|
|
"@hcengineering/server-attachment-resources": "^0.6.0",
|
|
"@hcengineering/server-collaboration": "^0.6.0",
|
|
"@hcengineering/server-collaboration-resources": "^0.6.0",
|
|
"@hcengineering/server-backup": "^0.6.0",
|
|
"@hcengineering/backup-service": "^0.6.0",
|
|
"@hcengineering/server-storage": "^0.6.0",
|
|
"@hcengineering/server-calendar": "^0.6.0",
|
|
"@hcengineering/server-calendar-resources": "^0.6.0",
|
|
"@hcengineering/server-chunter": "^0.6.0",
|
|
"@hcengineering/server-chunter-resources": "^0.6.0",
|
|
"@hcengineering/server-contact": "^0.6.1",
|
|
"@hcengineering/server-contact-resources": "^0.6.0",
|
|
"@hcengineering/server-core": "^0.6.1",
|
|
"@hcengineering/server-document": "^0.6.0",
|
|
"@hcengineering/server-document-resources": "^0.6.0",
|
|
"@hcengineering/server-drive": "^0.6.0",
|
|
"@hcengineering/server-drive-resources": "^0.6.0",
|
|
"@hcengineering/server-gmail": "^0.6.0",
|
|
"@hcengineering/server-gmail-resources": "^0.6.0",
|
|
"@hcengineering/server-hr": "^0.6.0",
|
|
"@hcengineering/server-hr-resources": "^0.6.0",
|
|
"@hcengineering/server-inventory": "^0.6.1",
|
|
"@hcengineering/server-inventory-resources": "^0.6.0",
|
|
"@hcengineering/server-lead": "^0.6.0",
|
|
"@hcengineering/server-lead-resources": "^0.6.0",
|
|
"@hcengineering/server-notification": "^0.6.1",
|
|
"@hcengineering/server-notification-resources": "^0.6.0",
|
|
"@hcengineering/server-recruit": "^0.6.0",
|
|
"@hcengineering/server-recruit-resources": "^0.6.0",
|
|
"@hcengineering/server-request": "^0.6.0",
|
|
"@hcengineering/server-request-resources": "^0.6.0",
|
|
"@hcengineering/server-setting": "^0.6.0",
|
|
"@hcengineering/server-setting-resources": "^0.6.0",
|
|
"@hcengineering/server-tags": "^0.6.0",
|
|
"@hcengineering/server-tags-resources": "^0.6.0",
|
|
"@hcengineering/server-task": "^0.6.0",
|
|
"@hcengineering/server-task-resources": "^0.6.0",
|
|
"@hcengineering/server-telegram": "^0.6.0",
|
|
"@hcengineering/server-telegram-resources": "^0.6.0",
|
|
"@hcengineering/server-token": "^0.6.11",
|
|
"@hcengineering/server-tool": "^0.6.0",
|
|
"@hcengineering/server-client": "^0.6.0",
|
|
"@hcengineering/server-tracker": "^0.6.0",
|
|
"@hcengineering/server-tracker-resources": "^0.6.0",
|
|
"@hcengineering/server-view": "^0.6.0",
|
|
"@hcengineering/server-view-resources": "^0.6.0",
|
|
"@hcengineering/server-activity": "^0.6.0",
|
|
"@hcengineering/server-activity-resources": "^0.6.0",
|
|
"@hcengineering/server-guest": "^0.6.0",
|
|
"@hcengineering/server-guest-resources": "^0.6.0",
|
|
"@hcengineering/server-time": "^0.6.0",
|
|
"@hcengineering/server-time-resources": "^0.6.0",
|
|
"@hcengineering/server-ai-bot": "^0.6.0",
|
|
"@hcengineering/server-ai-bot-resources": "^0.6.0",
|
|
"@hcengineering/setting": "^0.6.17",
|
|
"@hcengineering/tags": "^0.6.16",
|
|
"@hcengineering/task": "^0.6.20",
|
|
"@hcengineering/text": "^0.6.5",
|
|
"@hcengineering/telegram": "^0.6.21",
|
|
"@hcengineering/tracker": "^0.6.24",
|
|
"@hcengineering/collaboration": "^0.6.0",
|
|
"commander": "^8.1.0",
|
|
"csv-parse": "~5.1.0",
|
|
"email-addresses": "^5.0.0",
|
|
"fast-equals": "^5.0.1",
|
|
"got": "^11.8.3",
|
|
"libphonenumber-js": "^1.9.46",
|
|
"mime-types": "~2.1.34",
|
|
"mongodb": "^6.10.0",
|
|
"postgres": "^3.4.5",
|
|
"ws": "^8.18.0",
|
|
"bufferutil": "^4.0.8",
|
|
"utf-8-validate": "^6.0.4",
|
|
"msgpackr": "^1.11.0",
|
|
"msgpackr-extract": "^3.0.3"
|
|
}
|
|
}
|