selfrefactor / niketa-vscode-extension

Request to run scripts defined in `package.json`

Home Page:https://marketplace.visualstudio.com/items?itemName=selfrefactor.niketa-vscode-extension

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Request to run scripts defined in `package.json`

https://marketplace.visualstudio.com/items?itemName=selfrefactor.niketa-vscode-extension

License:MIT License


Languages

Language:JavaScript 99.5%Language:Shell 0.5%