mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-30 15:07:50 +03:00
57ee462ca6
* Integrate import to workspace initialization Signed-off-by: Anna Khismatullina <anna.khismatullina@gmail.com> * Support importing drawing along with attachments Signed-off-by: Anna Khismatullina <anna.khismatullina@gmail.com> * Put init scripts into workspace container Signed-off-by: Anna Khismatullina <anna.khismatullina@gmail.com> --------- Signed-off-by: Anna Khismatullina <anna.khismatullina@gmail.com>
60 lines
3.4 KiB
JSON
60 lines
3.4 KiB
JSON
{
|
|
"name": "@hcengineering/import-tool",
|
|
"version": "0.1.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 --define=MODEL_VERSION --define=GIT_REVISION --sourcemap=external",
|
|
"docker:build": "../../common/scripts/docker_build.sh hardcoreeng/import-tool",
|
|
"docker:tbuild": "docker build -t hardcoreeng/import-tool . --platform=linux/amd64 && ../../common/scripts/docker_tag_push.sh hardcoreeng/import-tool",
|
|
"docker:staging": "../../common/scripts/docker_tag.sh hardcoreeng/import-tool staging",
|
|
"docker:push": "../../common/scripts/docker_tag.sh hardcoreeng/import-tool",
|
|
"run-local": "rush bundle --to @hcengineering/import-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 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",
|
|
"run-local-brk": "rush bundle --to @hcengineering/import-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 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/import-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": "^8.54.0",
|
|
"ts-node": "^10.8.0",
|
|
"esbuild": "^0.20.0",
|
|
"@types/node": "~20.11.16",
|
|
"@typescript-eslint/parser": "^6.11.0",
|
|
"typescript": "^5.3.3",
|
|
"jest": "^29.7.0",
|
|
"ts-jest": "^29.1.1",
|
|
"@types/jest": "^29.5.5",
|
|
"eslint-config-standard-with-typescript": "^40.0.0",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"eslint-plugin-n": "^15.4.0",
|
|
"eslint-plugin-promise": "^6.1.1",
|
|
"prettier": "^3.1.0"
|
|
},
|
|
"dependencies": {
|
|
"@hcengineering/core": "^0.6.32",
|
|
"@hcengineering/platform": "^0.6.11",
|
|
"@hcengineering/server-client": "^0.6.0",
|
|
"@hcengineering/importer": "^0.6.1",
|
|
"commander": "^8.1.0"
|
|
}
|
|
}
|