diff --git a/ui/desktop/README.md b/ui/desktop/README.md index ba9ca6e88..d706155e1 100644 --- a/ui/desktop/README.md +++ b/ui/desktop/README.md @@ -39,14 +39,19 @@ List of available project commands. `yarn run ` | Command | Description | | ------- | ----------- | -| build:development | Builds the UI in development mode. | | build | Builds the UI for production. | +| build:development | Builds the UI in development mode. | | build:desktop:debianOnMacOS | Builds debian based linux artifacts on MacOS. | | lint | Runs all lint commands. | +| lint:fix | Runs all automatic linting fixes. | | lint:hbs | Lints `hbs` template files. | +| lint:hbs:fix | Runs the automatic linting fix for `hbs` template files. | | lint:js | Lints `js` files. | +| lint:js:fix | Runs the automatic linting fix for `js` files. | | lint:sass | Lints `scss` files. | +| lint:electron | Runs a linter tool to identify misconfigurations and security anti-patterns in Electron. | | format | Runs all auto-formatters. | +| format:hbs | Auto-formats `hbs` files using Prettier. | | format:js | Auto-formats `js` files using Prettier. | | format:sass | Auto-formats `scss` files using Prettier. | | start | Runs the dummy app local server. | diff --git a/ui/desktop/package.json b/ui/desktop/package.json index 2c30fa816..4f0dfb6ca 100755 --- a/ui/desktop/package.json +++ b/ui/desktop/package.json @@ -23,13 +23,13 @@ "lint:hbs": "ember-template-lint .", "lint:hbs:fix": "ember-template-lint . --fix", "lint:js": "eslint .", + "lint:js:fix": "eslint . --fix", "lint:sass": "stylelint '**/*.scss'", "lint:electron": "electronegativity -r -i ./electron-app", "format": "npm-run-all format:*", "format:hbs": "prettier --write 'app/**/*.hbs'", "format:js": "prettier --write '{app,config,stories,tests,electron-app/src}/**/*.js' *.js", "format:sass": "prettier --write app/**/*.scss", - "lint:js:fix": "eslint . --fix", "start": "ember serve", "prestart:desktop": "cd electron-app && yarn premake", "start:desktop": "ember electron",