-
npm i -g typescript tsc-node grunt-cli
-
npm init --y
-
Create tsconfig.json : tsc --init
-
npm i typescript: Install typescript locally in order for grunt to work properly
-
Manually create Gruntfile.js file
-
Grunt will run tsc typescript command on save, which will transpile all .ts files under /lib into .js files in /dist
- Local:
- npm run dev: Run the app.