Skip to the content.

Package Maintenance Info

NOTE: This is likely deprecated by replace vdh qnamaker-api-client with official one #55

Info for local developers to get the package up and running locally and publish it live

Run package locally

  1. In current package directory run npm link

    npm link
    
  2. In the directory you want to consume the package, run the following:

    npm link @ads-vdh/qnamaker-api
    

Deployment

Project Setup

npm config set scope ads-vdh
npm config set access public

User Setup

Create an npm account and make sure you are added to ads-vdh org account in order to publish

Login to npm using either of the methods

A) Login to npm

npm login

or

B) For multiple accounts

Add .npmrc file in the current directory with the following info:

//registry.npmjs.org/:_authToken=***

Publish Package

Revision version number in package.json

npm publish --access public