From 6ef6a400a0fdeea42d9b6a67d7264526753dc777 Mon Sep 17 00:00:00 2001 From: fmvilas Date: Wed, 5 Dec 2018 10:07:15 +0100 Subject: [PATCH] Auto-deploy to npm when pushing to master --- .npmrc | 1 + .travis.yml | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 .npmrc create mode 100644 .travis.yml diff --git a/.npmrc b/.npmrc new file mode 100644 index 000000000..ae643592e --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +//registry.npmjs.org/:_authToken=${NPM_TOKEN} diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..96bf7e8df --- /dev/null +++ b/.travis.yml @@ -0,0 +1,5 @@ +deploy: + provider: script + script: npm publish + on: + branch: master