Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Run Niketa scriptsNew to Visual Studio Code? Get it now.
Run Niketa scripts

Run Niketa scripts

selfrefactor

|
54 installs
| (0) | Free
Request to run scripts defined in `package.json`
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Niketa tools

It expects this in package.json or niketa.json:

"niketaScripts": {
  "fileCommands": {
    "**/*.js": "yarn lint:file"
  },
  "testCommands": {
    "**/*.js": "yarn jest:file"
  }
},

In this case, when pressing ctrl+1, it will run yarn lint:file with the current path as additional argument.

When pressing alt+w, it will run yarn run:file with the current path as additional argument.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft