Since it's my first time using Deno, I'm writing down the steps to make it work here.
Download and install Deno from https://deno.land/#installation
You can now run .js and .ts files by writing "deno run *.js" in the console.
Visual Studio code
- Download extension denoland.vscode-deno
- Enable Deno in the project by configuring ./.vscode/settings.json
export PATH="$HOME/.deno/bin:$PATH"
Velociraptor (Script runner)
Install: deno install -qA -n vr https://deno.land/x/velociraptor/cli.ts
How to use: Type "vr start" to run start script in "scripts.yaml".
Note: Had problems adding "vr" to path. Had to manually add 'export PATH="$HOME/.deno/bin:$PATH"' to my ~/.zshrc# deno_graphql_playground```