watson-developer-cloud

v2.1.0
Client library to use the IBM Watson Services and AlchemyAPI
ibm watson wdc watson developer cloud chatbot message resonance user modeling dialog personality insights and 23 more...

test

npm run lint && npm run codecov

lint

eslint .

autofix

eslint . --fix

prepare

npm test && npm version patch

doc

jsdoc -c jsdoc/config.json

watch-doc

nodemon --watch ./ --ext js,tmpl,json --ignore dist/ --ignore doc/ --ignore test/ --ignore examples/ --exec npm run doc

codecov

istanbul cover ./node_modules/.bin/mocha && codecov

test-integration

mocha test/test.zz.integration-all-services.js

test-unit

npm run lint && mocha --fgrep integration --invert

test-browser

karma start --single-run

watch

npm run test-unit -- --watch

browserify

browserify index.js --standalone Watson --outfile dist/watson.js

watchify

watchify index.js --standalone Watson --outfile dist/watson.js --debug --verbose

minify

uglifyjs --compress --mangle --screw-ie8 dist/watson.js --output dist/watson.min.js --preamble "// Watson Developer Cloud // JavaScript SDK$npm_package_version // Generated at `date` // Copyright IBM ($npm_package_license) // $npm_package_homepage"

build

npm run browserify && npm run minify

Metadata

Downloads