Created
May 30, 2020 06:03
-
-
Save panzerstadt/e9e8e6f50a1724996f18f4f1244118d9 to your computer and use it in GitHub Desktop.
package.json that sets up Deno global namespace intellisense. run `npm run setup`, make an app.ts file, and get to work!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "deno-with-setup", | |
"version": "1.0.0", | |
"description": "", | |
"main": "app.ts", | |
"scripts": { | |
"start": "deno run app.ts", | |
"setup": "npm run setup:tsconfig && npm run setup:deno", | |
"setup:tsconfig": "echo {\"compilerOptions\": { \"types\": [\"./deno.d.ts\"] }} > tsconfig.json", | |
"setup:deno": "deno types > deno.d.ts" | |
}, | |
"keywords": [], | |
"author": "panzerstadt", | |
"license": "ISC" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment