watson-developer-cloud
v2.17.1 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
npm run compat-check && eslint . && node test/dependency-lint.js
compat-check
eslint --print-config .eslintrc.js | eslint-config-prettier-check
autofix
eslint . --fix
doc
jsdoc -c scripts/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