test:
  override:
    - npm run check

machine:
  node:
    version: v6.9.5

test:
  override:
    - npm run check

machine:
  node:
    version: v6.9.5

dependencies:
  pre:
    - echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc

deployment:
  production:
    branch: master
    commands:
    - ./deploy.sh

Configure CircleCI to deploy to npm when on PRs merged to master.
Other: Configure CircleCI to deploy to npm when on PRs merged to master.
