2022-11-15 05:51:46 +03:00
|
|
|
{
|
|
|
|
"name": "@hcengineering/pod-front",
|
|
|
|
"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",
|
2022-11-15 05:51:46 +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",
|
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",
|
2024-07-30 10:49:50 +03:00
|
|
|
"bundle": "mkdir -p bundle && esbuild src/__start.ts --keep-names --define:process.env.MODEL_VERSION=$(node ../../common/scripts/show_version.js) --define:process.env.VERSION=$(node ../../common/scripts/show_tag.js) --bundle --minify --platform=node --external:sharp --outfile=bundle/bundle.js --log-level=error --sourcemap=external",
|
2024-02-12 19:57:11 +03:00
|
|
|
"package": "rm -rf ./dist && cp -r ../../dev/prod/dist . && cp -r ../../dev/prod/public/* ./dist/ && rm ./dist/config.json",
|
2024-03-08 20:09:38 +03:00
|
|
|
"docker:build": "../../common/scripts/docker_build.sh 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",
|
2024-08-02 17:14:49 +03:00
|
|
|
"docker:abuild": "docker build -t hardcoreeng/front . --platform=linux/arm64 && ../../common/scripts/docker_tag_push.sh hardcoreeng/front",
|
2023-10-24 19:00:18 +03:00
|
|
|
"format": "format src",
|
2024-07-30 10:49:50 +03:00
|
|
|
"run-local": "cross-env MINIO_ACCESS_KEY=minioadmin MINIO_SECRET_KEY=minioadmin MINIO_ENDPOINT=localhost SERVER_SECRET='secret' ACCOUNTS_URL=http://localhost:3000 UPLOAD_URL=/files ELASTIC_URL=http://localhost:9200 MODEL_VERSION=$(node ../../common/scripts/show_version.js) VERSION=$(node ../../common/scripts/show_tag.js) PUBLIC_DIR='.' ts-node ./src/__start.ts",
|
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"
|
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",
|
2024-02-16 09:20:03 +03:00
|
|
|
"esbuild": "^0.20.0",
|
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",
|
2024-03-15 12:33:12 +03:00
|
|
|
"@types/jest": "^29.5.5"
|
2022-11-15 05:51:46 +03:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2024-06-05 08:46:40 +03:00
|
|
|
"@hcengineering/prod": "^1.0.1",
|
2022-11-15 05:51:46 +03:00
|
|
|
"@hcengineering/front": "^0.6.0",
|
2024-06-05 08:46:40 +03:00
|
|
|
"@hcengineering/core": "^0.6.32",
|
|
|
|
"@hcengineering/platform": "^0.6.11",
|
2024-07-18 21:04:48 +03:00
|
|
|
"express": "^4.19.2",
|
|
|
|
"express-fileupload": "^1.5.1",
|
2022-11-15 05:51:46 +03:00
|
|
|
"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",
|
2024-06-05 08:46:40 +03:00
|
|
|
"@hcengineering/server-token": "^0.6.11",
|
|
|
|
"@hcengineering/attachment": "^0.6.14",
|
2024-03-04 17:03:35 +03:00
|
|
|
"body-parser": "^1.20.2",
|
2024-07-27 18:04:21 +03:00
|
|
|
"sharp": "~0.32.0",
|
|
|
|
"@hcengineering/analytics": "^0.6.0",
|
|
|
|
"@hcengineering/analytics-service": "^0.6.0"
|
2022-11-15 05:51:46 +03:00
|
|
|
}
|
|
|
|
}
|