public:computer:vscode

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revisionBoth sides next revision
public:computer:vscode [2023/01/03 11:51] – [TypeScript] alexpublic:computer:vscode [2023/01/03 11:55] alex
Line 113: Line 113:
 } }
 </sxh> </sxh>
 +  * Run with nodemon; <sxh bash>
 +$ npm install ts-node --save-dev
 +$ npm install nodemon --save-dev
 +</sxh>
 +    * package.json <sxh json>
 + "scripts": {
 +    "start": "npm run build:live",
 +    "build": "tsc -p .",
 +    "build:live": "nodemon --watch 'src/**/*.ts' --exec 'ts-node' src/index.ts"
 +  }
 +  </sxh>
 +
   * [[https://marketplace.visualstudio.com/items?itemName=salbert.comment-ts|Comments in Typescript (s.albert)]]   * [[https://marketplace.visualstudio.com/items?itemName=salbert.comment-ts|Comments in Typescript (s.albert)]]
   * [[https://marketplace.visualstudio.com/items?itemName=GregorBiswanger.json2ts|json2ts (Gregor Biswanger)]]   * [[https://marketplace.visualstudio.com/items?itemName=GregorBiswanger.json2ts|json2ts (Gregor Biswanger)]]
  • public/computer/vscode.txt
  • Last modified: 2024/04/30 00:33
  • by 3.12.71.237