Would it be possible to add a minimal package.json file to the root of this repository? It only needs to contain the absolute minimum required fields (e.g., name and version).
Adding a package.json allows JavaScript/Node.js projects to install this repository directly as an NPM dependency using its Git URL (e.g. npm install github:user/repo).
Currently I am managing this dependency using a Git submodule, but I frequently run into the standard headaches and syncing issues associated with submodules. Moving to an NPM-based Git workflow would allow for much cleaner version management and reproducible builds.
Would it be possible to add a minimal package.json file to the root of this repository? It only needs to contain the absolute minimum required fields (e.g., name and version).
Adding a package.json allows JavaScript/Node.js projects to install this repository directly as an NPM dependency using its Git URL (e.g.
npm install github:user/repo).Currently I am managing this dependency using a Git submodule, but I frequently run into the standard headaches and syncing issues associated with submodules. Moving to an NPM-based Git workflow would allow for much cleaner version management and reproducible builds.