45 lines
2.9 KiB
JSON
45 lines
2.9 KiB
JSON
{
|
|
"name": "jan-app",
|
|
"private": true,
|
|
"workspaces": {
|
|
"packages": [
|
|
"electron",
|
|
"web"
|
|
],
|
|
"nohoist": [
|
|
"electron",
|
|
"electron/**",
|
|
"web",
|
|
"web/**"
|
|
]
|
|
},
|
|
"scripts": {
|
|
"lint": "yarn workspace jan lint && yarn workspace jan-web lint",
|
|
"test": "yarn workspace jan test:e2e",
|
|
"dev:electron": "yarn workspace jan dev",
|
|
"dev:web": "yarn workspace jan-web dev",
|
|
"dev": "concurrently --kill-others \"yarn dev:web\" \"wait-on http://localhost:3000 && yarn dev:electron\"",
|
|
"test-local": "yarn lint && yarn build && yarn test",
|
|
"build:core": "cd core && yarn install && yarn run build",
|
|
"build:web": "yarn workspace jan-web build && cpx \"web/out/**\" \"electron/renderer/\"",
|
|
"build:electron": "yarn workspace jan build",
|
|
"build:plugins": "rimraf ./electron/core/pre-install/*.tgz && concurrently --kill-others-on-fail \"cd ./plugins/data-plugin && npm install && npm run postinstall\" \"cd ./plugins/inference-plugin && npm install && npm run postinstall\" \"cd ./plugins/model-management-plugin && npm install && npm run postinstall\" \"cd ./plugins/monitoring-plugin && npm install && npm run postinstall\" && concurrently --kill-others-on-fail \"cd ./plugins/data-plugin && npm run build:publish\" \"cd ./plugins/inference-plugin && npm run build:publish\" \"cd ./plugins/model-management-plugin && npm run build:publish\" \"cd ./plugins/monitoring-plugin && npm run build:publish\"",
|
|
"build:plugins-darwin": "rimraf ./electron/core/pre-install/*.tgz && concurrently \"cd ./plugins/data-plugin && npm install && npm run postinstall\" \"cd ./plugins/inference-plugin && npm install && npm run postinstall\" \"cd ./plugins/model-management-plugin && npm install && npm run postinstall\" \"cd ./plugins/monitoring-plugin && npm install && npm run postinstall\" && chmod +x ./.github/scripts/auto-sign.sh && ./.github/scripts/auto-sign.sh && concurrently \"cd ./plugins/data-plugin && npm run build:publish\" \"cd ./plugins/inference-plugin && npm run build:publish\" \"cd ./plugins/model-management-plugin && npm run build:publish\" \"cd ./plugins/monitoring-plugin && npm run build:publish\"",
|
|
"build": "yarn build:web && yarn build:electron",
|
|
"build:darwin": "yarn build:web && yarn workspace jan build:darwin",
|
|
"build:win32": "yarn build:web && yarn workspace jan build:win32",
|
|
"build:linux": "yarn build:web && yarn workspace jan build:linux",
|
|
"build:publish": "yarn build:web && yarn workspace jan build:publish",
|
|
"build:publish-darwin": "yarn build:web && yarn workspace jan build:publish-darwin",
|
|
"build:publish-win32": "yarn build:web && yarn workspace jan build:publish-win32",
|
|
"build:publish-linux": "yarn build:web && yarn workspace jan build:publish-linux"
|
|
},
|
|
"devDependencies": {
|
|
"concurrently": "^8.2.1",
|
|
"cpx": "^1.5.0",
|
|
"wait-on": "^7.0.1",
|
|
"rimraf": "^3.0.2"
|
|
},
|
|
"version": "0.0.0"
|
|
}
|