mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
open-lens build fixes
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
f5c014fecf
commit
2cfad3ee79
@ -20,6 +20,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"clean": "rm -rf binaries/ dist/ static/build",
|
"clean": "rm -rf binaries/ dist/ static/build",
|
||||||
"build": "npm run compile",
|
"build": "npm run compile",
|
||||||
|
"postbuild": "npm run build:tray-icons && npm run download:binaries",
|
||||||
"build:app": "electron-builder --publish onTag $ELECTRON_BUILDER_EXTRA_ARGS",
|
"build:app": "electron-builder --publish onTag $ELECTRON_BUILDER_EXTRA_ARGS",
|
||||||
"prebuild:app": "run-script-os",
|
"prebuild:app": "run-script-os",
|
||||||
"prebuild:app:default": "exit 0",
|
"prebuild:app:default": "exit 0",
|
||||||
@ -32,7 +33,7 @@
|
|||||||
"dev-run": "nodemon --watch ./static/build/main.js --exec \"electron --remote-debugging-port=9223 --inspect .\"",
|
"dev-run": "nodemon --watch ./static/build/main.js --exec \"electron --remote-debugging-port=9223 --inspect .\"",
|
||||||
"dev:main": "env NODE_ENV=development webpack --config webpack/main.ts --progress --watch",
|
"dev:main": "env NODE_ENV=development webpack --config webpack/main.ts --progress --watch",
|
||||||
"dev:renderer": "env NODE_ENV=development ts-node ./webpack/dev-server.ts",
|
"dev:renderer": "env NODE_ENV=development ts-node ./webpack/dev-server.ts",
|
||||||
"test:integration": "func() { jest ${1:-xyz} --runInBand --detectOpenHandles --forceExit --modulePaths=[\"<rootDir>/integration/\"]; }; func",
|
"test:integration": "jest -xyz --runInBand --detectOpenHandles --forceExit --modulePaths=[\"<rootDir>/integration/\"];",
|
||||||
"build:tray-icons": "ts-node build/generate-tray-icons.ts",
|
"build:tray-icons": "ts-node build/generate-tray-icons.ts",
|
||||||
"download:binaries": "ts-node build/download_binaries.ts"
|
"download:binaries": "ts-node build/download_binaries.ts"
|
||||||
},
|
},
|
||||||
@ -77,6 +78,16 @@
|
|||||||
"{workspaceRoot}/binaries/",
|
"{workspaceRoot}/binaries/",
|
||||||
"{workspaceRoot}/static/build/"
|
"{workspaceRoot}/static/build/"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"build:app": {
|
||||||
|
"dependsOn": [
|
||||||
|
"build"
|
||||||
|
],
|
||||||
|
"outputs": [
|
||||||
|
"{workspaceRoot}/dist/",
|
||||||
|
"{workspaceRoot}/binaries/",
|
||||||
|
"{workspaceRoot}/static/build/"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user