watson-developer-cloud
v2.5.0 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
npm i [email protected]
Metadata
- Apache-2.0
- >=0.12
- IBM Corp.
- released 10/12/2016