BIN := node_modules/.bin # these are not files .PHONY: clean test patch # disable default suffixes .SUFFIXES: all: yarn.lock yarn.lock:: package.json @yarn install --production=false @touch -mr $@ $< yarn.lock:: node_modules @yarn install --production=false --check-files @touch -mr $@ $< node_modules: mkdir -p $@ patch: npm version patch npm publish clean: rm -rf node_modules test: yarn.lock $(error No tests)