diff --git a/package.json b/package.json index b428425d49..6841cd8ef1 100644 --- a/package.json +++ b/package.json @@ -18,11 +18,11 @@ "dev:renderer": "yarn webpack-dev-server --config webpack.renderer.ts", "dev:extension-types": "yarn compile:extension-types --watch", "compile": "env NODE_ENV=production concurrently yarn:compile:*", - "compile:main": "webpack --config webpack.main.ts", - "compile:renderer": "webpack --config webpack.renderer.ts", - "compile:i18n": "lingui compile", - "compile:extension-types": "rollup --config src/extensions/rollup.config.js", - "npm:fix-package-version": "ts-node build/set_npm_version.ts", + "compile:main": "yarn webpack --config webpack.main.ts", + "compile:renderer": "yarn webpack --config webpack.renderer.ts", + "compile:i18n": "yarn lingui compile", + "compile:extension-types": "yarn rollup --config src/extensions/rollup.config.js", + "npm:fix-package-version": "yarn ts-node build/set_npm_version.ts", "build:linux": "yarn compile && electron-builder --linux --dir -c.productName=Lens", "build:mac": "yarn compile && electron-builder --mac --dir -c.productName=Lens", "build:win": "yarn compile && electron-builder --win --dir -c.productName=Lens", @@ -32,12 +32,12 @@ "dist:win": "yarn compile && electron-builder --publish onTag --x64 --ia32", "dist:dir": "yarn dist --dir -c.compression=store -c.mac.identity=null", "postinstall": "patch-package", - "i18n:extract": "lingui extract", + "i18n:extract": "yarn lingui extract", "download-bins": "concurrently yarn:download:*", "download:kubectl": "yarn run ts-node build/download_kubectl.ts", "download:helm": "yarn run ts-node build/download_helm.ts", "build:tray-icons": "yarn run ts-node build/build_tray_icon.ts", - "lint": "eslint $@ --ext js,ts,tsx --max-warnings=0 src/", + "lint": "yarn eslint $@ --ext js,ts,tsx --max-warnings=0 src/", "mkdocs-serve-local": "docker build -t mkdocs-serve-local:latest mkdocs/ && docker run --rm -it -p 8000:8000 -v ${PWD}:/docs mkdocs-serve-local:latest", "typedocs-extensions-api": "yarn typedoc --ignoreCompilerErrors --readme docs/extensions/typedoc-readme.md.tpl --name @k8slens/extensions --out docs/extensions/api --mode library --excludePrivate --hideBreadcrumbs --includes src/ src/extensions/extension-api.ts" },