mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Allow to develop & build on Windows powershell (#7081)
* allow to develop & build on windows powershell Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com> * remove hardcoded bash shell from test workflow Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com> * use rimraf Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com> --------- Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
1 parent
f445bd4eb9
commit
df6f4b5fa0
10 files changed
+31
-19
No files matched your search
@@ -18,21 +18,21 @@
|
||||
"license": "MIT",
|
||||
"author": "OpenLens Authors <info@k8slens.dev>",
|
||||
"scripts": {
|
||||
"clean": "rm -rf binaries/ dist/ static/build",
|
||||
"clean": "rimraf binaries/ dist/ static/build",
|
||||
"build": "npm run compile",
|
||||
"postbuild": "npm run build:tray-icons && npm run download:binaries",
|
||||
"build:app": "electron-builder --publish onTag",
|
||||
"prebuild:app": "run-script-os",
|
||||
"prebuild:app:default": "exit 0",
|
||||
"prebuild:app:win32": "rm -rf node_modules/win-ca/pem",
|
||||
"prebuild:app:win32": "rimraf node_modules/win-ca/pem",
|
||||
"build:dir": "npm run compile && electron-builder --dir",
|
||||
"compile": "env NODE_ENV=production webpack --config webpack/webpack.ts --progress",
|
||||
"compile": "cross-env NODE_ENV=production webpack --config webpack/webpack.ts --progress",
|
||||
"postcompile": "npm run build:tray-icons && npm run download:binaries",
|
||||
"predev": "rm -rf static/build/ && npm run build:tray-icons && npm run download:binaries",
|
||||
"predev": "rimraf static/build/ && npm run build:tray-icons && npm run download:binaries",
|
||||
"dev": "concurrently -i -k \"yarn run dev-run -C\" yarn:dev:*",
|
||||
"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:renderer": "env NODE_ENV=development ts-node ./webpack/dev-server.ts",
|
||||
"dev:main": "cross-env NODE_ENV=development webpack --config webpack/main.ts --progress --watch",
|
||||
"dev:renderer": "cross-env NODE_ENV=development ts-node ./webpack/dev-server.ts",
|
||||
"test:integration": "jest -xyz --runInBand --detectOpenHandles --forceExit --modulePaths=[\"<rootDir>/integration/\"];",
|
||||
"build:tray-icons": "ts-node build/generate-tray-icons.ts",
|
||||
"download:binaries": "npm exec -- @k8slens/ensure-binaries --package $INIT_CWD/package.json --base-dir $INIT_CWD/binaries/client"
|
||||
|
||||
Reference in new issue
Block a user