watson-developer-cloud

v4.0.1
Client library to use the IBM Watson Services
assistant compare comply discovery ibm natural language classifier natural language understanding personality insights speech to text text to speech and 7 more...

tslint:config

tslint-config-prettier-check ./tslint.json

tslint:fix

tslint --fix -p . -c tslint.json

tslint:check

tslint -p . -c ./tslint.json

eslint:config

eslint --print-config .eslintrc.js | eslint-config-prettier-check

eslint:fix

eslint . --fix

eslint:check

eslint . --cache

lint

npm run eslint:check && npm run tslint:check && dependency-lint

browserify

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

build

tsc && npm run browserify && npm run minify

doc

jsdoc -c scripts/jsdoc/config.json

minify

uglifyjs --compress --mangle --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" -- dist/watson.js

prepublishOnly

npm run build

test-integration

jest --silent --verbose test/integration

test-unit

jest --silent --verbose test/unit/

test

jest --silent --verbose test/

test-unit-travis

jest --silent --runInBand test/unit/

test-travis

jest --silent --runInBand --testNamePattern='^((?!@slow).)*$' test/

report-coverage

codecov

watch-doc

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

watch

npm run test-unit -- --watch

watchify

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

check-packages

installed-check -e -d
npm i watson-developer-cloud

Metadata

Downloads