mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-23 14:06:00 +03:00
6a842685f7
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
63 lines
2.7 KiB
JSON
63 lines
2.7 KiB
JSON
{
|
|
"name": "@hcengineering/pod-front",
|
|
"version": "0.6.0",
|
|
"main": "lib/index.js",
|
|
"author": "Anticrm Platform Contributors",
|
|
"license": "EPL-2.0",
|
|
"scripts": {
|
|
"build": "heft build",
|
|
"build:watch": "tsc",
|
|
"lint:fix": "eslint --fix src",
|
|
"bundle": "esbuild src/__start.ts --define:process.env.MODEL_VERSION=$(node ../../models/all/lib/__showversion.js) --bundle --minify --platform=node --external:sharp > bundle.js & rm -rf ./dist && cp -r ../../dev/prod/dist . && cp -r ../../dev/prod/public/* ./dist/ && rm ./dist/config.json",
|
|
"docker:build": "docker build -t hardcoreeng/front .",
|
|
"docker:staging": "../../common/scripts/docker_tag.sh hardcoreeng/front staging",
|
|
"docker:push": "../../common/scripts/docker_tag.sh hardcoreeng/front",
|
|
"docker:tbuild": "docker build -t hardcoreeng/front . --platform=linux/amd64 && ../../common/scripts/docker_tag_push.sh hardcoreeng/front",
|
|
"lint": "eslint src",
|
|
"format": "prettier --write src && eslint --fix src",
|
|
"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 ../../models/all/lib/__showversion.js) PUBLIC_DIR='.' ts-node ./src/__start.ts"
|
|
},
|
|
"devDependencies": {
|
|
"@hcengineering/platform-rig": "^0.6.0",
|
|
"@types/heft-jest": "^1.0.3",
|
|
"@types/node": "~16.11.12",
|
|
"@typescript-eslint/eslint-plugin": "^5.41.0",
|
|
"@typescript-eslint/parser": "^5.41.0",
|
|
"eslint-config-standard-with-typescript": "^23.0.0",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"eslint-plugin-n": "^15.4.0",
|
|
"eslint-plugin-promise": "^6.1.1",
|
|
"eslint": "^8.26.0",
|
|
"@types/express": "^4.17.13",
|
|
"@types/express-fileupload": "^1.1.7",
|
|
"@types/uuid": "^8.3.1",
|
|
"@types/cors": "^2.8.12",
|
|
"esbuild": "^0.16.14",
|
|
"prettier": "^2.7.1",
|
|
"@rushstack/heft": "^0.47.9",
|
|
"typescript": "^4.3.5",
|
|
"@types/body-parser": "~1.19.2",
|
|
"cross-env": "~7.0.3",
|
|
"ts-node": "^10.8.0",
|
|
"@types/compression": "~1.7.2",
|
|
"@types/sharp": "~0.30.4"
|
|
},
|
|
"dependencies": {
|
|
"@hcengineering/front": "^0.6.0",
|
|
"@hcengineering/core": "^0.6.23",
|
|
"@hcengineering/platform": "^0.6.8",
|
|
"express": "^4.17.1",
|
|
"express-fileupload": "^1.2.1",
|
|
"uuid": "^8.3.2",
|
|
"cors": "^2.8.5",
|
|
"@hcengineering/elastic": "^0.6.0",
|
|
"@hcengineering/server-core": "^0.6.1",
|
|
"@hcengineering/server-token": "^0.6.2",
|
|
"@hcengineering/attachment": "^0.6.4",
|
|
"@hcengineering/contrib": "^0.6.0",
|
|
"body-parser": "~1.19.1",
|
|
"compression": "~1.7.4",
|
|
"sharp": "~0.30.7"
|
|
}
|
|
}
|