https://github.com/paul-go/moduless
Debuggable test runner for module-free TypeScript development
https://github.com/paul-go/moduless
Last synced: 3 months ago
JSON representation
Debuggable test runner for module-free TypeScript development
- Host: GitHub
- URL: https://github.com/paul-go/moduless
- Owner: paul-go
- Created: 2020-04-26T18:59:41.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-02-09T15:17:18.000Z (over 1 year ago)
- Last Synced: 2025-02-14T20:48:20.364Z (3 months ago)
- Language: TypeScript
- Size: 84 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Moduless
A lightweight function runner that supports module-free workflow. Designed for use with Visual Studio Code.
## How to use
Step 1: Install moduless into your project:
```
npm install moduless --save-dev
```Step 2: Create a Visual Studio Code task that will allow you to easily set an active function to run. In your `.code-workspace` file, merge in the following JSON:
```json
{
"tasks": {
"tasks": [
{
"label": "Set Active Cover Function",
"type": "shell",
"command": "npx",
"args": [
"moduless",
"set",
"${file}:${lineNumber}"
],
"problemMatcher": []
},
]
}
}
```
It's highly recommended that you assign a Hotkey to this task. When using the moduless workflow, you'll be running this task _constantly_.