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",
|
2024-02-23 08:37:22 +03:00
|
|
|
"svelte": "src/index.ts",
|
|
|
|
"types": "types/index.d.ts",
|
2021-09-10 00:37:38 +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",
|
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",
|
2024-03-08 20:09:38 +03:00
|
|
|
"docker:build": "../../common/scripts/docker_build.sh hardcoreeng/tool",
|
2022-02-23 19:10:43 +03:00
|
|
|
"docker:staging": "../../common/scripts/docker_tag.sh hardcoreeng/tool staging",
|
|
|
|
"docker:push": "../../common/scripts/docker_tag.sh hardcoreeng/tool",
|
2024-07-19 11:09:13 +03:00
|
|
|
"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 MONGO_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 --max-old-space-size=18000 ./bundle/bundle.js",
|
2024-02-23 20:00:38 +03:00
|
|
|
"run": "rush bundle --to @hcengineering/tool >/dev/null && cross-env node --max-old-space-size=8000 ./bundle/bundle.js",
|
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",
|
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"
|
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",
|
2024-07-18 21:04:48 +03:00
|
|
|
"@types/ws": "^8.5.11",
|
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",
|
2024-03-15 12:33:12 +03:00
|
|
|
"@types/jest": "^29.5.5"
|
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",
|
2024-06-05 08:46:40 +03:00
|
|
|
"@hcengineering/attachment": "^0.6.14",
|
2024-07-12 10:04:29 +03:00
|
|
|
"@hcengineering/calendar": "^0.6.24",
|
2024-06-05 08:46:40 +03:00
|
|
|
"@hcengineering/chunter": "^0.6.20",
|
|
|
|
"@hcengineering/client": "^0.6.18",
|
2024-05-04 13:49:31 +03:00
|
|
|
"@hcengineering/activity": "^0.6.0",
|
2024-06-05 08:46:40 +03:00
|
|
|
"@hcengineering/client-resources": "^0.6.27",
|
|
|
|
"@hcengineering/contact": "^0.6.24",
|
|
|
|
"@hcengineering/core": "^0.6.32",
|
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",
|
2024-06-05 08:46:40 +03:00
|
|
|
"@hcengineering/model": "^0.6.11",
|
2023-12-11 14:54:36 +03:00
|
|
|
"@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",
|
2024-05-04 13:49:31 +03:00
|
|
|
"@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",
|
2023-01-09 08:35:54 +03:00
|
|
|
"@hcengineering/mongo": "^0.6.1",
|
2024-06-05 08:46:40 +03:00
|
|
|
"@hcengineering/platform": "^0.6.11",
|
|
|
|
"@hcengineering/recruit": "^0.6.29",
|
2023-12-11 14:54:36 +03:00
|
|
|
"@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",
|
2024-02-22 14:39:50 +03:00
|
|
|
"@hcengineering/server-collaboration": "^0.6.0",
|
|
|
|
"@hcengineering/server-collaboration-resources": "^0.6.0",
|
2023-12-11 14:54:36 +03:00
|
|
|
"@hcengineering/server-backup": "^0.6.0",
|
2024-05-15 08:50:10 +03:00
|
|
|
"@hcengineering/server-storage": "^0.6.0",
|
2023-12-11 14:54:36 +03:00
|
|
|
"@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",
|
2024-02-29 11:32:39 +03:00
|
|
|
"@hcengineering/server-document": "^0.6.0",
|
|
|
|
"@hcengineering/server-document-resources": "^0.6.0",
|
2024-05-18 15:46:52 +03:00
|
|
|
"@hcengineering/server-drive": "^0.6.0",
|
|
|
|
"@hcengineering/server-drive-resources": "^0.6.0",
|
2023-12-11 14:54:36 +03:00
|
|
|
"@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",
|
2024-06-05 08:46:40 +03:00
|
|
|
"@hcengineering/server-token": "^0.6.11",
|
2023-12-11 14:54:36 +03:00
|
|
|
"@hcengineering/server-tool": "^0.6.0",
|
2024-07-18 21:04:48 +03:00
|
|
|
"@hcengineering/server-client": "^0.6.0",
|
2023-12-11 14:54:36 +03:00
|
|
|
"@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",
|
2024-02-23 11:39:49 +03:00
|
|
|
"@hcengineering/server-guest": "^0.6.0",
|
|
|
|
"@hcengineering/server-guest-resources": "^0.6.0",
|
2024-03-12 18:52:56 +03:00
|
|
|
"@hcengineering/server-time": "^0.6.0",
|
|
|
|
"@hcengineering/server-time-resources": "^0.6.0",
|
2024-08-06 17:40:13 +03:00
|
|
|
"@hcengineering/server-ai-bot": "^0.6.0",
|
|
|
|
"@hcengineering/server-ai-bot-resources": "^0.6.0",
|
2024-06-05 08:46:40 +03:00
|
|
|
"@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",
|
2024-07-12 10:04:29 +03:00
|
|
|
"@hcengineering/collaboration": "^0.6.0",
|
2023-12-11 14:54:36 +03:00
|
|
|
"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",
|
2024-04-12 08:23:32 +03:00
|
|
|
"fast-equals": "^5.0.1",
|
2023-12-11 14:54:36 +03:00
|
|
|
"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-06-28 18:21:28 +03:00
|
|
|
"mongodb": "^6.8.0",
|
2024-07-18 21:04:48 +03:00
|
|
|
"ws": "^8.18.0"
|
2021-09-10 00:37:38 +03:00
|
|
|
}
|
|
|
|
}
|