Keep package-lock on make build, add make rebuild command

This commit is contained in:
haad 2018-11-12 11:42:47 +01:00
parent f93243821b
commit fbf4763cda

View File

@ -20,6 +20,10 @@ build: test
clean:
rm -rf orbitdb/
rm -rf node_modules/
rm package-lock.json
clean-dependencies: clean
if [ -a package-lock.json ]; then rm package-lock.json; fi;
rebuild: | clean-dependencies build
.PHONY: test build