forked from watson-developer-cloud/node-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
218 lines (218 loc) · 5.65 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
{
"name": "ibm-watson",
"version": "4.3.4",
"description": "Client library to use the IBM Watson Services",
"repository": {
"type": "git",
"url": "https://github.com/watson-developer-cloud/node-sdk.git"
},
"keywords": [
"assistant",
"compare comply",
"discovery",
"ibm",
"natural language classifier",
"natural language understanding",
"personality insights",
"speech to text",
"text to speech",
"tone analyzer",
"tone_analyzer",
"visual recognition",
"watson developer cloud",
"watson",
"wdc"
],
"author": "IBM Corp.",
"contributors": [
{
"name": "German Attanasio Ruiz",
"email": "[email protected]"
},
{
"name": "Nathan Friedly",
"email": "[email protected]"
},
{
"name": "Jeff Stylos",
"email": "[email protected]"
},
{
"name": "Dustin Popp",
"email": "[email protected]"
}
],
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/watson-developer-cloud/node-sdk/issues"
},
"devDependencies": {
"@commitlint/cli": "^7.6.1",
"@commitlint/config-conventional": "^7.6.0",
"@semantic-release/changelog": "^3.0.2",
"@semantic-release/git": "^7.0.8",
"browserify": "^16.2.3",
"codecov": "^3.5.0",
"concat-stream": "^2.0.0",
"dependency-lint": "~5.0.1",
"eslint": "^5.16.0",
"eslint-config-google": "^0.12.0",
"eslint-config-prettier": "^4.3.0",
"eslint-plugin-node": "^8.0.1",
"eslint-plugin-prettier": "^3.1.0",
"husky": "^1.3.1",
"installed-check": "^2.2.0",
"jest": "^24.8.0",
"jsdoc": "^3.6.2",
"lint-staged": "~7.2.0",
"object.assign": "~4.1.0",
"prettier": "^1.17.1",
"semantic-release": "^15.13.12",
"tslint": "^5.16.0",
"tslint-config-prettier": "^1.18.0",
"tslint-eslint-rules": "^5.4.0",
"typedoc": "^0.14.2",
"typescript": "^3.4.5",
"uglify-es": "~3.3.9",
"watchify": "~3.11.0",
"wav": "~1.0.2"
},
"dependencies": {
"@types/csv-stringify": "^1.4.3",
"@types/extend": "^3.0.1",
"@types/is-stream": "~1.1.0",
"@types/node": "^11.9.4",
"async": "^2.6.2",
"axios": "^0.18.0",
"dotenv": "^6.2.0",
"extend": "~3.0.2",
"ibm-cloud-sdk-core": "^0.3.5",
"isstream": "~0.1.2",
"object.pick": "~1.3.0",
"snyk": "^1.192.4",
"websocket": "^1.0.28"
},
"engines": {
"node": ">=6.0.0"
},
"scripts": {
"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",
"doc": "jsdoc -c scripts/jsdoc/config.json",
"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",
"prepublishOnly": "npm run build && npm run browserify && npm run minify",
"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-integration-travis": "jest --silent --runInBand --no-colors --testNamePattern='^((?!@slow).)*$' --json test/integration > test-output.log",
"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",
"snyk-protect": "snyk protect"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"**/*.ts": [
"tsc",
"tslint --fix -p . -c tslint.json",
"git add"
],
"test/**/*.js": [
"eslint --fix",
"prettier --write",
"git add"
],
"examples/*.js": [
"eslint --fix",
"git add"
]
},
"jest": {
"collectCoverage": true,
"coverageDirectory": "./coverage/",
"testEnvironment": "node"
},
"commitlint": {
"rules": {
"body-leading-blank": [
1,
"always"
],
"footer-leading-blank": [
1,
"always"
],
"header-max-length": [
2,
"always",
72
],
"scope-case": [
2,
"always",
"lower-case"
],
"subject-case": [
2,
"never",
[
"sentence-case",
"start-case",
"pascal-case",
"upper-case"
]
],
"subject-empty": [
2,
"never"
],
"subject-full-stop": [
2,
"never",
"."
],
"type-case": [
2,
"always",
"lower-case"
],
"type-empty": [
2,
"never"
],
"type-enum": [
2,
"always",
[
"build",
"chore",
"ci",
"docs",
"feat",
"fix",
"perf",
"refactor",
"revert",
"style",
"test"
]
]
}
},
"snyk": true
}