A thorough demo of everything you might want to configure for typescript library development in VS Code, along with a small example and unit tests.
Configures:
- TypeScript, for type checking etc.
- TypeDoc, for library documentation generation.
- Karma, for multi-browser unit testing.
- Jasmine, for writing the unit tests.
- NPM, for distribution of libraries.
- modularize-namespace, for global and modular libraries.
git clone https://github.com/MaulingMonkey/template_ts_library_vscode.git
mkdir NEW_PROJECT
cd NEW_PROJECT
npm init
robocopy ..\template_ts_library_vscode . *.* /Spackage.json: Changename, then disableprivate..vscode/tasks.json: Replace/remove links togithub.com/MaulingMonkey/template_ts_library_vscode, replace/removemmk.examplewith your own namespace{src,tests_global}/*.ts: Replacemmk.examplewith your own namespacetasks/build_typescript.cmd: Replacemmk.examplewith your own namespacenpm install