aboutigor
Version:
Igor? Who, where, when, how?
26 lines (20 loc) • 511 B
Plain Text
COFFEE:= ./node_modules/.bin/coffee
build:
$(COFFEE) -b --output lib --compile src
clean:
rm -rf ./lib
rm -rf ./node_modules
rm -f package-lock.json
update:
-ncu -u
npm version $(shell date '+%y.%-V%u.%-d%H%M') --force --allow-same-version --no-git-tag-version
npm install
$(COFFEE) -b --output lib --compile src
run:
$(COFFEE) -b --output lib --compile src
npm start
deploy-git:
npm version $(shell date '+%y.%-V%u.%-d%H%M') --force --allow-same-version
git push
git push --tags
npm publish