I want to have a node_modules/my-package/... environment for one of my libraries.
My package.json is considered valid. I has a name and a version and a few other fields:
(this is node-modules/my-paclage/package.json)
{
    "name": "my-package",
    "version": "1.0.0",
    ...
}
Then I wanted to add it to the package-lock.json file so npm knows about it. If you do not do that, an npm install ... or npm uninstall ... actually deletes the my-package folder I created under node-modules/....
So I decided to add the info in my package-lock.json, only I'm not able to make it work. All I added is the version like so:
(this is package-lock.json)
...
"dependencies": {
    ...
    "my-package": {
        "version": "1.0.0"
    }
    ...
}
....
Again, the syntax per se is correct. However, with that entry, when I try to do an npm install ... or npm uninstall ... it tells me:
error 404 Not Found: krypton-search@1.0.0
What am I doing wrong?
 
    