2018-10-15 04:56:58 +00:00
|
|
|
.PHONY: test
|
2017-12-03 11:15:02 +00:00
|
|
|
test:
|
2018-07-10 15:33:08 +00:00
|
|
|
npx eslint --color --quiet *.js
|
2019-01-19 19:05:26 +00:00
|
|
|
node --trace-deprecation --throw-deprecation test.js
|
2017-12-03 11:15:02 +00:00
|
|
|
|
2018-10-15 04:56:58 +00:00
|
|
|
.PHONY: publish
|
2017-12-03 11:15:02 +00:00
|
|
|
publish:
|
|
|
|
git push -u --tags origin master
|
|
|
|
npm publish
|
|
|
|
|
2018-10-15 04:56:58 +00:00
|
|
|
.PHONY: update
|
2017-12-03 11:15:02 +00:00
|
|
|
update:
|
2018-07-10 15:33:08 +00:00
|
|
|
node updates.js -u
|
2017-12-03 11:15:02 +00:00
|
|
|
rm -rf node_modules
|
2018-10-15 04:56:58 +00:00
|
|
|
npm i --no-package-lock
|
2017-12-03 11:15:02 +00:00
|
|
|
|
2018-10-15 04:56:58 +00:00
|
|
|
.PHONY: patch
|
|
|
|
patch:
|
|
|
|
$(MAKE) test
|
|
|
|
npx ver patch
|
|
|
|
$(MAKE) publish
|
2017-12-03 11:15:02 +00:00
|
|
|
|
2018-10-15 04:56:58 +00:00
|
|
|
.PHONY: minor
|
|
|
|
minor:
|
|
|
|
$(MAKE) test
|
|
|
|
npx ver minor
|
|
|
|
$(MAKE) publish
|
2017-12-03 11:15:02 +00:00
|
|
|
|
2018-10-15 04:56:58 +00:00
|
|
|
.PHONY: major
|
|
|
|
major:
|
|
|
|
$(MAKE) test
|
|
|
|
npx ver major
|
|
|
|
$(MAKE) publish
|