clipboard-polyfill
Version:
A polyfill for the asynchronous clipboard API
32 lines (25 loc) • 554 B
Plain Text
build:
env PROD=true ./node_modules/.bin/webpack
dev:
./node_modules/.bin/webpack --watch
analyze:
env PROD=true BUNDLE_ANALYZER=true ./node_modules/.bin/webpack
setup:
yarn install
build-for-git: prod
git stage -f build/*.js build/*d.ts
deploy:
rsync -avz ./ garron.net:~/garron.net/code/clipboard-polyfill/ \
--exclude .git \
--exclude node_modules
publish: deploy
git push --tags origin
git push origin master
yarn publish