mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-25 09:13:07 +03:00
d38df9c600
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
62 lines
2.8 KiB
JSON
62 lines
2.8 KiB
JSON
{
|
|
"name": "@hcengineering/pod-workspace",
|
|
"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": "ts-node src/__start.ts",
|
|
"build": "compile",
|
|
"build:watch": "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 --external:*.node --external:snappy --bundle --define:process.env.MODEL_VERSION=$(node ../../common/scripts/show_version.js) --minify --platform=node > bundle/bundle.js",
|
|
"docker:build": "../../common/scripts/docker_build.sh hardcoreeng/workspace",
|
|
"docker:tbuild": "docker build -t hardcoreeng/workspace . --platform=linux/amd64 && ../../common/scripts/docker_tag_push.sh hardcoreeng/workspace",
|
|
"docker:abuild": "docker build -t hardcoreeng/workspace . --platform=linux/arm64 && ../../common/scripts/docker_tag_push.sh hardcoreeng/workspace",
|
|
"docker:staging": "../../common/scripts/docker_tag.sh hardcoreeng/workspace staging",
|
|
"docker:push": "../../common/scripts/docker_tag.sh hardcoreeng/workspace",
|
|
"run-local": "cross-env MONGO_URL=mongodb://localhost:27017 MINIO_ACCESS_KEY=minioadmi MINIO_SECRET_KEY=minioadmin MINIO_ENDPOINT=localhost SERVER_SECRET='secret' TRANSACTOR_URL=ws://localhost:3333 ts-node src/__start.ts",
|
|
"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",
|
|
"esbuild": "^0.20.0",
|
|
"@typescript-eslint/parser": "^6.11.0",
|
|
"eslint-config-standard-with-typescript": "^40.0.0",
|
|
"prettier": "^3.1.0",
|
|
"ts-node": "^10.8.0",
|
|
"typescript": "^5.3.3",
|
|
"jest": "^29.7.0",
|
|
"ts-jest": "^29.1.1",
|
|
"@types/jest": "^29.5.5"
|
|
},
|
|
"dependencies": {
|
|
"@hcengineering/workspace-service": "^0.6.0",
|
|
"@hcengineering/platform": "^0.6.11",
|
|
"@hcengineering/core": "^0.6.32",
|
|
"mongodb": "^6.9.0",
|
|
"@hcengineering/server-token": "^0.6.11",
|
|
"@hcengineering/server-core": "^0.6.1",
|
|
"@hcengineering/model-all": "^0.6.0",
|
|
"@hcengineering/analytics": "^0.6.0",
|
|
"@hcengineering/analytics-service": "^0.6.0"
|
|
}
|
|
}
|