watson-developer-cloud

v2.15.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 && mocha test/unit test/integration

lint

eslint . && node test/dependency-lint.js

autofix

eslint . --fix

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

test-integration

mocha test/integration

test-unit

npm run lint && mocha test/unit/

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