What is the proper syntax to add local project dependency in npm package.json
file?
I have git project locally in C:\projects\MyApp
I want to get this project with npm install
. I tried following
"dependencies": {
.....
"my-app": "file://../projects/MyApp/MyApp.git"
.....
}
but getting error
Could not install ....
Any suggestion?