I’m in need to develop a package, which will never be published to npm, but only shared locally with other developers and local projects. It’s kind of an API wrapper.
The actual project wants to use this package, thus it’s in local git. Available via git+ssh. Installing the package with npm install works in the way, that the sources are being fetched and put in to the correct node_modules directory.
But, the sources are not built. The package is Typescript API wrapper, which need to be build using “npm build”. The build script in package.json is simply “tsc”. Before tsc will work, npm install on this module needs to be executed, in order to fetch the required dev dependencies.
Can anyone explain what to do?