2020-03-25 23:15:48 +00:00
|
|
|
test:
|
2020-03-08 09:23:44 +00:00
|
|
|
yarn -s run eslint --color .
|
2020-03-25 23:15:48 +00:00
|
|
|
$(MAKE) rollup
|
2020-03-08 09:23:44 +00:00
|
|
|
yarn -s run jest --color
|
2017-12-03 11:15:02 +00:00
|
|
|
|
2020-03-09 22:57:04 +00:00
|
|
|
rollup:
|
|
|
|
yarn -s run rollup --silent --compact -c rollup.config.js
|
|
|
|
|
2017-12-03 11:15:02 +00:00
|
|
|
publish:
|
|
|
|
git push -u --tags origin master
|
|
|
|
npm publish
|
|
|
|
|
2019-05-06 21:33:15 +00:00
|
|
|
deps:
|
2017-12-03 11:15:02 +00:00
|
|
|
rm -rf node_modules
|
2020-03-08 09:23:44 +00:00
|
|
|
yarn
|
2017-12-03 11:15:02 +00:00
|
|
|
|
2020-04-07 15:48:17 +00:00
|
|
|
update: rollup
|
|
|
|
node updates -cu
|
2019-05-06 21:33:15 +00:00
|
|
|
$(MAKE) deps
|
|
|
|
|
2020-03-08 09:23:44 +00:00
|
|
|
patch: test
|
2020-03-20 20:42:11 +00:00
|
|
|
yarn -s run versions -Cc 'make rollup' patch
|
2018-10-15 04:56:58 +00:00
|
|
|
$(MAKE) publish
|
2017-12-03 11:15:02 +00:00
|
|
|
|
2020-03-08 09:23:44 +00:00
|
|
|
minor: test
|
2020-03-20 20:42:11 +00:00
|
|
|
yarn -s run versions -Cc 'make rollup' minor
|
2018-10-15 04:56:58 +00:00
|
|
|
$(MAKE) publish
|
2017-12-03 11:15:02 +00:00
|
|
|
|
2020-03-08 09:23:44 +00:00
|
|
|
major: test
|
2020-03-20 20:42:11 +00:00
|
|
|
yarn -s run versions -Cc 'make rollup' major
|
2018-10-15 04:56:58 +00:00
|
|
|
$(MAKE) publish
|
2019-05-06 21:33:15 +00:00
|
|
|
|
2020-03-09 22:57:04 +00:00
|
|
|
.PHONY: test rollup publish deps update patch minor major
|