2022-11-15 05:51:46 +03:00
|
|
|
{
|
|
|
|
"name": "@hcengineering/pod-front",
|
|
|
|
"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",
|
2022-11-15 05:51:46 +03:00
|
|
|
"scripts": {
|
2024-02-12 19:57:11 +03:00
|
|
|
"build": "compile",
|
|
|
|
"build:watch": "compile",
|
|
|
|
"_phase:bundle": "rushx bundle",
|
|
|
|
"_phase:package": "rushx package",
|
|
|
|
"_phase:docker-build": "rushx docker:build",
|
|
|
|
"_phase:docker-staging": "rushx docker:staging",
|
|
|
|
"bundle": "mkdir -p bundle && esbuild src/__start.ts --define:process.env.MODEL_VERSION=$(node ../../common/scripts/show_version.js) --bundle --minify --platform=node --external:sharp > bundle/bundle.js",
|
|
|
|
"package": "rm -rf ./dist && cp -r ../../dev/prod/dist . && cp -r ../../dev/prod/public/* ./dist/ && rm ./dist/config.json",
|
2022-11-15 05:51:46 +03:00
|
|
|
"docker:build": "docker build -t hardcoreeng/front .",
|
2022-11-15 07:34:03 +03:00
|
|
|
"docker:staging": "../../common/scripts/docker_tag.sh hardcoreeng/front staging",
|
|
|
|
"docker:push": "../../common/scripts/docker_tag.sh hardcoreeng/front",
|
2023-03-20 12:15:53 +03:00
|
|
|
"docker:tbuild": "docker build -t hardcoreeng/front . --platform=linux/amd64 && ../../common/scripts/docker_tag_push.sh hardcoreeng/front",
|
2023-10-24 19:00:18 +03:00
|
|
|
"format": "format src",
|
2024-01-23 19:18:36 +03:00
|
|
|
"run-local": "cross-env MINIO_ACCESS_KEY=minioadmin MINIO_SECRET_KEY=minioadmin MINIO_ENDPOINT=localhost TRANSACTOR_URL=ws://localhost:3333 SERVER_SECRET='secret' ACCOUNTS_URL=http://localhost:3000 UPLOAD_URL=/files ELASTIC_URL=http://localhost:9200 MODEL_VERSION=$(node ../../common/scripts/show_version.js) PUBLIC_DIR='.' ts-node ./src/__start.ts",
|
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"
|
2022-11-15 05:51:46 +03:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-01-09 08:35:54 +03:00
|
|
|
"@hcengineering/platform-rig": "^0.6.0",
|
2024-02-06 05:57:31 +03:00
|
|
|
"@types/node": "~20.11.16",
|
2023-11-20 13:01:43 +03:00
|
|
|
"@typescript-eslint/eslint-plugin": "^6.11.0",
|
|
|
|
"@typescript-eslint/parser": "^6.11.0",
|
|
|
|
"eslint-config-standard-with-typescript": "^40.0.0",
|
2022-11-15 05:51:46 +03:00
|
|
|
"eslint-plugin-import": "^2.26.0",
|
|
|
|
"eslint-plugin-n": "^15.4.0",
|
|
|
|
"eslint-plugin-promise": "^6.1.1",
|
2023-11-20 13:01:43 +03:00
|
|
|
"eslint": "^8.54.0",
|
2022-11-15 05:51:46 +03:00
|
|
|
"@types/express": "^4.17.13",
|
|
|
|
"@types/express-fileupload": "^1.1.7",
|
|
|
|
"@types/uuid": "^8.3.1",
|
|
|
|
"@types/cors": "^2.8.12",
|
2023-01-06 10:31:30 +03:00
|
|
|
"esbuild": "^0.16.14",
|
2023-11-20 13:01:43 +03:00
|
|
|
"prettier": "^3.1.0",
|
2024-02-12 19:57:11 +03:00
|
|
|
"typescript": "^5.3.3",
|
2022-11-15 05:51:46 +03:00
|
|
|
"@types/body-parser": "~1.19.2",
|
|
|
|
"cross-env": "~7.0.3",
|
|
|
|
"ts-node": "^10.8.0",
|
|
|
|
"@types/compression": "~1.7.2",
|
2023-12-08 18:13:49 +03:00
|
|
|
"@types/sharp": "~0.32.0",
|
2023-10-07 13:38:21 +03:00
|
|
|
"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"
|
2022-11-15 05:51:46 +03:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2024-02-12 19:57:11 +03:00
|
|
|
"@hcengineering/prod": "1.0.1",
|
2022-11-15 05:51:46 +03:00
|
|
|
"@hcengineering/front": "^0.6.0",
|
2023-11-27 12:13:14 +03:00
|
|
|
"@hcengineering/core": "^0.6.28",
|
2023-05-04 08:12:11 +03:00
|
|
|
"@hcengineering/platform": "^0.6.9",
|
2022-11-15 05:51:46 +03:00
|
|
|
"express": "^4.17.1",
|
|
|
|
"express-fileupload": "^1.2.1",
|
|
|
|
"uuid": "^8.3.2",
|
|
|
|
"cors": "^2.8.5",
|
2023-01-09 08:35:54 +03:00
|
|
|
"@hcengineering/elastic": "^0.6.0",
|
|
|
|
"@hcengineering/server-core": "^0.6.1",
|
2023-11-27 12:13:14 +03:00
|
|
|
"@hcengineering/server-token": "^0.6.7",
|
|
|
|
"@hcengineering/attachment": "^0.6.9",
|
2022-11-15 05:51:46 +03:00
|
|
|
"body-parser": "~1.19.1",
|
|
|
|
"compression": "~1.7.4",
|
2023-12-08 18:13:49 +03:00
|
|
|
"sharp": "~0.32.0"
|
2022-11-15 05:51:46 +03:00
|
|
|
}
|
|
|
|
}
|