What even is this?
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.
Possible usage
git clone https://github.com/MaulingMonkey/template_ts_library_vscode.git
mkdir NEW_PROJECT
cd NEW_PROJECT
npm init
robocopy ..\template_ts_library_vscode . *.* /S
package.json
: Changename
, then disableprivate
..vscode/tasks.json
: Replace/remove links togithub.com/MaulingMonkey/template_ts_library_vscode
, replace/removemmk.example
with your own namespace{src,tests_global}/*.ts
: Replacemmk.example
with your own namespacetasks/build_typescript.cmd
: Replacemmk.example
with your own namespacenpm install