Skip to content

Commit

Permalink
chore: Add .vscode config
Browse files Browse the repository at this point in the history
  • Loading branch information
amithm7 committed Jan 9, 2022
1 parent 1aa4c03 commit b6d2678
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ blocklists__/
package-lock.json

# IDE
.vscode
# .vscode

# Local enviroment variables
.env
Expand Down
18 changes: 18 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
// For VS Code debugger
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "pwa-node",
"request": "launch",
"name": "Launch Node Server",
"skipFiles": [
"<node_internals>/**"
],
"program": "${workspaceFolder}/src/server-node.js"
}
]
}
16 changes: 16 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
// Uncomment deno specific settings while developing deno for intellisense,
// type definitions, etc.

// "deno.enable": true,
// "deno.lint": true,
// "deno.unstable": false
"deno.importMap": "./import_map.json",
"cSpell.words": [
"Deno",
"rethinkdns"
],
"cSpell.enableFiletypes": [
"env"
],
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "2.0.0",
"license": "MPL-2.0",
"description": "Rethink Free Dns with Blocklist, one click install from github to cloudflare",
"main": "src/index.js",
"main": "src/server-node.js",
"type": "module",
"scripts": {
"clean": "npm run clean:wrangler",
Expand Down

0 comments on commit b6d2678

Please sign in to comment.