Hi! Thank you for this library!
I'm using it for testing the package I'm developing. Actually I test that it can be correctly installed. I have script that creates temporary directory, installs there from src and runs tests. Currently I need to create dummy package.json because otherwise I'm getting error.
Steps:
mkdir -p .installed
echo '{\"name\": \"dummy\"}' > .installed/package.json
pushd .installed
install-local ..
popd
TEST_PATH=.installed npm run test
If I don't generate package.json I'm getting the error:
ENOENT: no such file or directory, open '../.installed/package.json'
It would be great to add option to not check package.json presence.
Hi! Thank you for this library!
I'm using it for testing the package I'm developing. Actually I test that it can be correctly installed. I have script that creates temporary directory, installs there from src and runs tests. Currently I need to create dummy
package.jsonbecause otherwise I'm getting error.Steps:
If I don't generate
package.jsonI'm getting the error:It would be great to add option to not check
package.jsonpresence.