/api-tsc-sdk

Primary LanguageTypeScript

TODO title

Project set up

  1. Installing dependencies locally

$ npm install

  1. Compiling $ npm run-script tsc

Running

tsc && node ./build/index.js

NOTES

Project creation

  1. Create directory (cannot be named typescript)

  2. Initialize npm. This will create packages.json. $ npm init

  3. Add Typescript dependency to the project (updates packages.json). $ npm install typescript

  4. Initialize Typescript. This will create tsconfig.json. $ ./node_modules/.bin/tsc --init

  5. Updated tsconfig.json with source and output directories