1 | {
|
2 | "name": "watson-developer-cloud",
|
3 | "version": "4.0.1",
|
4 | "description": "Client library to use the IBM Watson Services",
|
5 | "repository": {
|
6 | "type": "git",
|
7 | "url": "https://github.com/watson-developer-cloud/node-sdk.git"
|
8 | },
|
9 | "keywords": [
|
10 | "assistant",
|
11 | "compare comply",
|
12 | "discovery",
|
13 | "ibm",
|
14 | "natural language classifier",
|
15 | "natural language understanding",
|
16 | "personality insights",
|
17 | "speech to text",
|
18 | "text to speech",
|
19 | "tone analyzer",
|
20 | "tone_analyzer",
|
21 | "visual recognition",
|
22 | "watson developer cloud",
|
23 | "watson",
|
24 | "wdc"
|
25 | ],
|
26 | "author": "IBM Corp.",
|
27 | "contributors": [
|
28 | {
|
29 | "name": "German Attanasio Ruiz",
|
30 | "email": "germanatt@us.ibm.com"
|
31 | },
|
32 | {
|
33 | "name": "Nathan Friedly",
|
34 | "email": "nfriedly@us.ibm.com"
|
35 | },
|
36 | {
|
37 | "name": "Jeff Stylos",
|
38 | "email": "jsstylos@us.ibm.com"
|
39 | },
|
40 | {
|
41 | "name": "Dustin Popp",
|
42 | "email": "dustinpopp@ibm.com"
|
43 | }
|
44 | ],
|
45 | "license": "Apache-2.0",
|
46 | "bugs": {
|
47 | "url": "https://github.com/watson-developer-cloud/node-sdk/issues"
|
48 | },
|
49 | "devDependencies": {
|
50 | "@commitlint/cli": "^7.5.2",
|
51 | "@commitlint/config-conventional": "^7.5.0",
|
52 | "@semantic-release/changelog": "^3.0.2",
|
53 | "@semantic-release/git": "^7.0.8",
|
54 | "browserify": "^16.2.3",
|
55 | "codecov": "^3.2.0",
|
56 | "concat-stream": "^2.0.0",
|
57 | "dependency-lint": "~5.0.1",
|
58 | "eslint": "^5.13.0",
|
59 | "eslint-config-google": "^0.12.0",
|
60 | "eslint-config-prettier": "^4.0.0",
|
61 | "eslint-plugin-node": "^8.0.1",
|
62 | "eslint-plugin-prettier": "^3.0.1",
|
63 | "husky": "^1.3.1",
|
64 | "installed-check": "^2.2.0",
|
65 | "jest": "^24.1.0",
|
66 | "jsdoc": "~3.5.5",
|
67 | "lint-staged": "~7.2.0",
|
68 | "object.assign": "~4.1.0",
|
69 | "prettier": "^1.16.4",
|
70 | "semantic-release": "^15.13.3",
|
71 | "tslint": "^5.12.1",
|
72 | "tslint-config-prettier": "^1.18.0",
|
73 | "tslint-eslint-rules": "^5.4.0",
|
74 | "typedoc": "^0.14.2",
|
75 | "typescript": "^3.3.3",
|
76 | "uglify-es": "~3.3.9",
|
77 | "watchify": "~3.11.0",
|
78 | "wav": "~1.0.2"
|
79 | },
|
80 | "dependencies": {
|
81 | "@types/csv-stringify": "^1.4.3",
|
82 | "@types/extend": "^3.0.1",
|
83 | "@types/file-type": "^10.6.0",
|
84 | "@types/is-stream": "~1.1.0",
|
85 | "@types/node": "^11.9.4",
|
86 | "async": "^2.6.2",
|
87 | "axios": "^0.18.0",
|
88 | "buffer-from": "^1.1.1",
|
89 | "dotenv": "^6.2.0",
|
90 | "extend": "~3.0.2",
|
91 | "file-type": "^10.7.1",
|
92 | "form-data": "^2.3.3",
|
93 | "ibm-cloud-sdk-core": "^0.1.1",
|
94 | "isstream": "~0.1.2",
|
95 | "mime-types": "^2.1.21",
|
96 | "object.omit": "~3.0.0",
|
97 | "object.pick": "~1.3.0",
|
98 | "semver": "^5.6.0",
|
99 | "vcap_services": "^0.6.0",
|
100 | "websocket": "^1.0.28"
|
101 | },
|
102 | "engines": {
|
103 | "node": ">=6.0.0"
|
104 | },
|
105 | "scripts": {
|
106 | "tslint:config": "tslint-config-prettier-check ./tslint.json",
|
107 | "tslint:fix": "tslint --fix -p . -c tslint.json",
|
108 | "tslint:check": "tslint -p . -c ./tslint.json",
|
109 | "eslint:config": "eslint --print-config .eslintrc.js | eslint-config-prettier-check",
|
110 | "eslint:fix": "eslint . --fix",
|
111 | "eslint:check": "eslint . --cache",
|
112 | "lint": "npm run eslint:check && npm run tslint:check && dependency-lint",
|
113 | "browserify": "browserify sdk.js --standalone Watson --outfile dist/watson.js",
|
114 | "build": "tsc && npm run browserify && npm run minify",
|
115 | "doc": "jsdoc -c scripts/jsdoc/config.json",
|
116 | "minify": "uglifyjs --compress --mangle --output dist/watson.min.js --preamble \"// Watson Developer Cloud\n// JavaScript SDK$npm_package_version\n// Generated at `date`\n// Copyright IBM ($npm_package_license)\n// $npm_package_homepage\" -- dist/watson.js",
|
117 | "prepublishOnly": "npm run build",
|
118 | "test-integration": "jest --silent --verbose test/integration",
|
119 | "test-unit": "jest --silent --verbose test/unit/",
|
120 | "test": "jest --silent --verbose test/",
|
121 | "test-unit-travis": "jest --silent --runInBand test/unit/",
|
122 | "test-travis": "jest --silent --runInBand --testNamePattern='^((?!@slow).)*$' test/",
|
123 | "report-coverage": "codecov",
|
124 | "watch-doc": "nodemon --watch ./ --ext js,tmpl,json --ignore dist/ --ignore doc/ --ignore test/ --ignore examples/ --exec npm run doc",
|
125 | "watch": "npm run test-unit -- --watch",
|
126 | "watchify": "watchify sdk.js --standalone Watson --outfile dist/watson.js --debug --verbose",
|
127 | "check-packages": "installed-check -e -d"
|
128 | },
|
129 | "husky": {
|
130 | "hooks": {
|
131 | "pre-commit": "lint-staged",
|
132 | "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
133 | }
|
134 | },
|
135 | "lint-staged": {
|
136 | "**/*.ts": [
|
137 | "tsc",
|
138 | "tslint --fix -p . -c tslint.json",
|
139 | "git add"
|
140 | ],
|
141 | "test/**/*.js": [
|
142 | "eslint --fix",
|
143 | "prettier --write",
|
144 | "git add"
|
145 | ],
|
146 | "examples/*.js": [
|
147 | "eslint --fix",
|
148 | "git add"
|
149 | ]
|
150 | },
|
151 | "jest": {
|
152 | "collectCoverage": true,
|
153 | "coverageDirectory": "./coverage/",
|
154 | "testEnvironment": "node"
|
155 | }
|
156 | }
|