I made some changes to an NPM package by forking the GitHub repo, and now I want to install this package to my project
I used this command to install the package:
npm install --save git+https://github.com/username/githubreponame.git#branchname
It installs OO, but when I look to node_modules folder and look into the installed package, I see that not all files are installed from the GitHub repo. No JS files are installed, only License, package.json and README.md are installed, so I can't import anything from the library.
How to install all files?
As mentioned in the comment above :
files in package.json , where pointing to only one folder to be installed when using npm install ,
so removing files from package.json solved the problem.