mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Switch to type: module for generate-tray-icons
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
f7ba996f7a
commit
c31c1cc870
@ -5,14 +5,17 @@
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"clean": "rimraf dist/",
|
||||
"build": "swc ./src/index.ts -o ./dist/index.mjs",
|
||||
"build": "swc ./src/index.ts",
|
||||
"prepare:dev": "npm run build",
|
||||
"prepare": "npm run build"
|
||||
},
|
||||
"bin": "./dist/index.mjs",
|
||||
"bin": {
|
||||
"generate-tray-icons": "./dist/index.js"
|
||||
},
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
"type": "module",
|
||||
"private": false,
|
||||
"publishConfig": {
|
||||
"access": "public",
|
||||
|
||||
@ -34,7 +34,7 @@
|
||||
"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": "npm exec -- @k8slens/generate-tray-icons --output $INIT_CWD/static/build/tray --input $INIT_CWD/node_modules/@k8slens/core/src/renderer/components/icon/logo-lens.svg --notice-icon $INIT_CWD/node_modules/@k8slens/core/src/renderer/components/icon/notice.svg --spinner-icon $INIT_CWD/node_modules/@k8slens/core/src/renderer/components/icon/arrow-spinner.svg",
|
||||
"build:tray-icons": "generate-tray-icons --output ./static/build/tray --input ./node_modules/@k8slens/core/src/renderer/components/icon/logo-lens.svg --notice-icon ./node_modules/@k8slens/core/src/renderer/components/icon/notice.svg --spinner-icon ./node_modules/@k8slens/core/src/renderer/components/icon/arrow-spinner.svg",
|
||||
"download:binaries": "ensure-binaries --package ./package.json --base-dir ./binaries/client"
|
||||
},
|
||||
"config": {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user