Skip to content

Commit

Permalink
Update package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
hiento09 authored Dec 4, 2023
1 parent a6b4438 commit 364e220
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@
"build:web": "yarn workspace jan-web build && cpx \"web/out/**\" \"electron/renderer/\"",
"build:electron": "cpx \"models/**\" \"electron/models/\" && yarn workspace jan build",
"build:electron:test": "yarn workspace jan build:test",
"build:extensions": "rimraf ./electron/pre-install/*.tgz && concurrently --kill-others-on-fail \"cd ./extensions/conversational-extension && npm install && npm run build:publish\" \"cd ./extensions/inference-extension && npm install && npm run build:publish\" \"cd ./extensions/model-extension && npm install && npm run build:publish\" \"cd ./extensions/monitoring-extension && npm install && npm run build:publish\" \"cd ./extensions/assistant-extension && npm install && npm run build:publish\"",
"build:extensions:windows": "rimraf ./electron/pre-install/*.tgz; powershell -command \"& {Get-ChildItem -Path './extensions' -Directory | ForEach {Write-Host 'Building in ' $_.FullName; Set-Location $_.FullName; npm install; npm run build:publish; Set-Location -LiteralPath '..\\..';}}\"",
"build:extensions:linux": "rimraf ./electron/pre-install/*.tgz && for dir in ./extensions/*; do if [ -d \"$dir\" ]; then (cd \"$dir\" && npm install && npm run build:publish); fi; done",
"build:extensions:darwin": "rimraf ./electron/pre-install/*.tgz && for dir in ./extensions/*; do if [ -d \"$dir\" ]; then (cd \"$dir\" && npm install && npm run build:publish); fi; done",
"build:extensions": "run-script-os",
"build:test": "yarn build:web && yarn workspace jan build:test",
"build": "yarn build:web && yarn build:electron",
"build:publish": "yarn build:web && yarn workspace jan build:publish"
Expand Down

0 comments on commit 364e220

Please sign in to comment.