2021-09-10 00:37:38 +03:00
|
|
|
{
|
2022-09-21 11:08:25 +03:00
|
|
|
"name": "@hcengineering/tool",
|
2021-09-10 00:37:38 +03:00
|
|
|
"version": "0.6.0",
|
|
|
|
"main": "lib/index.js",
|
|
|
|
"author": "Anticrm Platform Contributors",
|
|
|
|
"license": "EPL-2.0",
|
2024-02-12 19:57:11 +03:00
|
|
|
"template": "@hcengineering/node-package",
|
2021-09-10 00:37:38 +03:00
|
|
|
"scripts": {
|
2024-02-12 19:57:11 +03:00
|
|
|
"build": "compile",
|
|
|
|
"build:watch": "compile",
|
2022-11-15 05:51:46 +03:00
|
|
|
"start": "ts-node src/__start.ts",
|
2024-02-12 19:57:11 +03:00
|
|
|
"_phase:bundle": "rushx bundle",
|
|
|
|
"_phase:docker-build": "rushx docker:build",
|
|
|
|
"_phase:docker-staging": "rushx docker:staging",
|
|
|
|
"bundle": "mkdir -p bundle && esbuild src/__start.ts --bundle --minify --platform=node --define:process.env.MODEL_VERSION=$(node ../../common/scripts/show_version.js) --define:process.env.GIT_REVISION=$(../../common/scripts/git_version.sh) > bundle/bundle.js",
|
2022-02-23 19:10:43 +03:00
|
|
|
"docker:build": "docker build -t hardcoreeng/tool .",
|
|
|
|
"docker:staging": "../../common/scripts/docker_tag.sh hardcoreeng/tool staging",
|
|
|
|
"docker:push": "../../common/scripts/docker_tag.sh hardcoreeng/tool",
|
2024-01-23 19:18:36 +03:00
|
|
|
"run-local": "cross-env SERVER_SECRET=secret MINIO_ACCESS_KEY=minioadmin MINIO_SECRET_KEY=minioadmin MINIO_ENDPOINT=localhost MONGO_URL=mongodb://localhost:27017 TRANSACTOR_URL=ws://localhost:3333 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 -r ts-node/register --max-old-space-size=18000 ./src/__start.ts",
|
|
|
|
"run": "cross-env node -r ts-node/register --max-old-space-size=8000 MODEL_VERSION=$(node ../../common/scripts/show_version.js) ./src/__start.ts",
|
2022-03-28 11:04:41 +03:00
|
|
|
"upgrade": "rushx run-local upgrade",
|
2023-10-24 19:00:18 +03:00
|
|
|
"format": "format src",
|
2024-02-12 19:57:11 +03:00
|
|
|
"test": "jest --passWithNoTests --silent --forceExit",
|
|
|
|
"_phase:build": "compile",
|
|
|
|
"_phase:test": "jest --passWithNoTests --silent --forceExit",
|
|
|
|
"_phase:format": "format src"
|
2021-09-10 00:37:38 +03:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-03-17 08:07:47 +03:00
|
|
|
"cross-env": "~7.0.3",
|
2023-01-09 08:35:54 +03:00
|
|
|
"@hcengineering/platform-rig": "^0.6.0",
|
2023-11-20 13:01:43 +03:00
|
|
|
"@typescript-eslint/eslint-plugin": "^6.11.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",
|
2023-11-20 13:01:43 +03:00
|
|
|
"eslint": "^8.54.0",
|
2022-06-03 19:44:11 +03:00
|
|
|
"ts-node": "^10.8.0",
|
2024-02-16 09:20:03 +03:00
|
|
|
"esbuild": "^0.20.0",
|
2022-03-17 08:07:47 +03:00
|
|
|
"@types/minio": "~7.0.11",
|
2024-02-06 05:57:31 +03:00
|
|
|
"@types/node": "~20.11.16",
|
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",
|
2022-11-02 11:50:14 +03:00
|
|
|
"@types/ws": "^8.5.3",
|
2021-12-23 12:02:14 +03:00
|
|
|
"@types/xml2js": "~0.4.9",
|
2022-02-23 12:09:07 +03:00
|
|
|
"@types/mime-types": "~2.1.1",
|
2023-10-07 13:38:21 +03:00
|
|
|
"@types/request": "~2.48.8",
|
|
|
|
"jest": "^29.7.0",
|
|
|
|
"ts-jest": "^29.1.1",
|
2023-11-20 13:01:43 +03:00
|
|
|
"@types/jest": "^29.5.5",
|
|
|
|
"prettier-plugin-svelte": "^3.1.0"
|
2021-09-10 00:37:38 +03:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-12-11 14:54:36 +03:00
|
|
|
"@elastic/elasticsearch": "^7.14.0",
|
2023-01-09 08:35:54 +03:00
|
|
|
"@hcengineering/account": "^0.6.0",
|
2023-12-11 14:54:36 +03:00
|
|
|
"@hcengineering/attachment": "^0.6.9",
|
2023-12-13 18:59:11 +03:00
|
|
|
"@hcengineering/chunter": "^0.6.12",
|
2023-11-27 12:13:14 +03:00
|
|
|
"@hcengineering/client": "^0.6.14",
|
2023-12-11 14:54:36 +03:00
|
|
|
"@hcengineering/client-resources": "^0.6.23",
|
|
|
|
"@hcengineering/contact": "^0.6.20",
|
|
|
|
"@hcengineering/core": "^0.6.28",
|
|
|
|
"@hcengineering/dev-storage": "^0.6.6",
|
2023-01-09 08:35:54 +03:00
|
|
|
"@hcengineering/elastic": "^0.6.0",
|
2023-12-11 14:54:36 +03:00
|
|
|
"@hcengineering/lead": "^0.6.0",
|
|
|
|
"@hcengineering/minio": "^0.6.0",
|
|
|
|
"@hcengineering/model": "^0.6.7",
|
|
|
|
"@hcengineering/model-all": "^0.6.0",
|
2023-01-09 08:35:54 +03:00
|
|
|
"@hcengineering/model-attachment": "^0.6.0",
|
|
|
|
"@hcengineering/model-contact": "^0.6.1",
|
2023-12-11 14:54:36 +03:00
|
|
|
"@hcengineering/model-recruit": "^0.6.0",
|
|
|
|
"@hcengineering/model-telegram": "^0.6.0",
|
2023-01-09 08:35:54 +03:00
|
|
|
"@hcengineering/mongo": "^0.6.1",
|
2023-12-11 14:54:36 +03:00
|
|
|
"@hcengineering/openai": "^0.6.0",
|
|
|
|
"@hcengineering/platform": "^0.6.9",
|
|
|
|
"@hcengineering/recruit": "^0.6.21",
|
|
|
|
"@hcengineering/rekoni": "^0.6.0",
|
2023-01-09 08:35:54 +03:00
|
|
|
"@hcengineering/server-attachment": "^0.6.1",
|
|
|
|
"@hcengineering/server-attachment-resources": "^0.6.0",
|
2023-12-11 14:54:36 +03:00
|
|
|
"@hcengineering/server-backup": "^0.6.0",
|
|
|
|
"@hcengineering/server-calendar": "^0.6.0",
|
|
|
|
"@hcengineering/server-calendar-resources": "^0.6.0",
|
2023-01-09 08:35:54 +03:00
|
|
|
"@hcengineering/server-chunter": "^0.6.0",
|
|
|
|
"@hcengineering/server-chunter-resources": "^0.6.0",
|
2023-12-11 14:54:36 +03:00
|
|
|
"@hcengineering/server-contact": "^0.6.1",
|
|
|
|
"@hcengineering/server-contact-resources": "^0.6.0",
|
|
|
|
"@hcengineering/server-core": "^0.6.1",
|
|
|
|
"@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",
|
2023-07-10 07:52:33 +03:00
|
|
|
"@hcengineering/server-inventory": "^0.6.1",
|
2023-01-09 08:35:54 +03:00
|
|
|
"@hcengineering/server-inventory-resources": "^0.6.0",
|
|
|
|
"@hcengineering/server-lead": "^0.6.0",
|
|
|
|
"@hcengineering/server-lead-resources": "^0.6.0",
|
2023-12-11 14:54:36 +03:00
|
|
|
"@hcengineering/server-notification": "^0.6.1",
|
|
|
|
"@hcengineering/server-notification-resources": "^0.6.0",
|
2023-01-09 08:35:54 +03:00
|
|
|
"@hcengineering/server-recruit": "^0.6.0",
|
|
|
|
"@hcengineering/server-recruit-resources": "^0.6.0",
|
2023-12-11 14:54:36 +03:00
|
|
|
"@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",
|
2023-01-09 08:35:54 +03:00
|
|
|
"@hcengineering/server-tags": "^0.6.0",
|
|
|
|
"@hcengineering/server-tags-resources": "^0.6.0",
|
2023-12-11 14:54:36 +03:00
|
|
|
"@hcengineering/server-task": "^0.6.0",
|
|
|
|
"@hcengineering/server-task-resources": "^0.6.0",
|
2023-01-09 08:35:54 +03:00
|
|
|
"@hcengineering/server-telegram": "^0.6.0",
|
|
|
|
"@hcengineering/server-telegram-resources": "^0.6.0",
|
2023-12-11 14:54:36 +03:00
|
|
|
"@hcengineering/server-token": "^0.6.7",
|
|
|
|
"@hcengineering/server-tool": "^0.6.0",
|
|
|
|
"@hcengineering/server-tracker": "^0.6.0",
|
|
|
|
"@hcengineering/server-tracker-resources": "^0.6.0",
|
2023-01-26 20:26:24 +03:00
|
|
|
"@hcengineering/server-view": "^0.6.0",
|
|
|
|
"@hcengineering/server-view-resources": "^0.6.0",
|
2023-12-13 18:59:11 +03:00
|
|
|
"@hcengineering/server-activity": "^0.6.0",
|
|
|
|
"@hcengineering/server-activity-resources": "^0.6.0",
|
2023-12-11 14:54:36 +03:00
|
|
|
"@hcengineering/setting": "^0.6.11",
|
2023-11-27 12:13:14 +03:00
|
|
|
"@hcengineering/tags": "^0.6.12",
|
2023-12-11 14:54:36 +03:00
|
|
|
"@hcengineering/task": "^0.6.13",
|
|
|
|
"@hcengineering/telegram": "^0.6.14",
|
|
|
|
"@hcengineering/tracker": "^0.6.13",
|
|
|
|
"commander": "^8.1.0",
|
2022-06-16 06:36:45 +03:00
|
|
|
"csv-parse": "~5.1.0",
|
2022-06-21 04:32:33 +03:00
|
|
|
"email-addresses": "^5.0.0",
|
2023-12-11 14:54:36 +03:00
|
|
|
"fast-equals": "^2.0.3",
|
|
|
|
"got": "^11.8.3",
|
2022-08-08 09:54:36 +03:00
|
|
|
"libphonenumber-js": "^1.9.46",
|
2023-12-11 14:54:36 +03:00
|
|
|
"mime-types": "~2.1.34",
|
2024-01-30 10:47:54 +03:00
|
|
|
"mongodb": "^6.3.0",
|
2023-12-11 14:54:36 +03:00
|
|
|
"ws": "^8.10.0",
|
|
|
|
"xml2js": "~0.4.23"
|
2021-09-10 00:37:38 +03:00
|
|
|
}
|
|
|
|
}
|