mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-21 17:17:54 +02:00
feat: Support Windows for development
Signed-off-by: Artem Savchenko <armisav@gmail.com>
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
"_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:build": "node ../../common/scripts/docker_build.js 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",
|
||||
|
||||
@@ -5,9 +5,9 @@
|
||||
"license": "EPL-2.0",
|
||||
"scripts": {
|
||||
"_phase:package": "rushx package",
|
||||
"_phase:validate": "rm -rf ./types && compile validate",
|
||||
"package": "rm -rf ./dist && cross-env NODE_ENV=production webpack --stats-error-details && echo 'done'",
|
||||
"analyze": "rm -rf ./dist && cross-env NODE_ENV=production webpack --profile --json > stats.json",
|
||||
"_phase:validate": "node -e \"require('fs').rmSync('./types',{recursive:true,force:true})\" && compile validate",
|
||||
"package": "node -e \"require('fs').rmSync('./dist',{recursive:true,force:true})\" && cross-env NODE_ENV=production webpack --stats-error-details && echo done",
|
||||
"analyze": "node -e \"require('fs').rmSync('./dist',{recursive:true,force:true})\" && cross-env NODE_ENV=production webpack --profile --json > stats.json",
|
||||
"show": "webpack-bundle-analyzer stats.json dist",
|
||||
"dev-server": "cross-env USE_CACHE=false CLIENT_TYPE=dev-server webpack serve",
|
||||
"dev-server-test": "cross-env USE_CACHE=false CLIENT_TYPE=dev-server-test webpack serve",
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
"_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 --external=snappy --sourcemap=external --define:MODEL_VERSION --define:GIT_REVISION",
|
||||
"docker:build": "../../common/scripts/docker_build.sh hardcoreeng/tool",
|
||||
"docker:build": "node ../../common/scripts/docker_build.js hardcoreeng/tool",
|
||||
"docker:tbuild": "docker build -t hardcoreeng/tool . --platform=linux/amd64 && ../../common/scripts/docker_tag_push.sh hardcoreeng/tool",
|
||||
"docker:abuild": "docker build -t hardcoreeng/tool . --platform=linux/arm64 && ../../common/scripts/docker_tag_push.sh hardcoreeng/tool",
|
||||
"docker:staging": "../../common/scripts/docker_tag.sh hardcoreeng/tool staging",
|
||||
|
||||
Reference in New Issue
Block a user