I've a few existing Asp.Net Core 2 class library projects. Now I want to enable TypeScript compilation in them so I can add the generated js files as resources to the library. (The js is for Cosmos db server side scripts, not for web app).
I've added the package.json and tsconfig.json files but VS 2017 is ignoring them as regards the right click and "Package Install" option does not appear.
I can create a separate empty Asp.Net Core web app to get the typescript compiling working but then I have the problem of sharing the js files with my class library.
Any ideas?