File tree Expand file tree Collapse file tree 4 files changed +13
-18
lines changed Expand file tree Collapse file tree 4 files changed +13
-18
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,9 @@ deploy:
19
19
- provider : releases
20
20
api_key :
21
21
secure : H5ykqiOnawQxu/tjHtEKAWy2BivWD3gZI8EljVejqQO+kJLcDqJA6qjj1cCQ6kNHoEgAW8se0F9EXGpIpDt8w0Bj7t0hpzT+F/zVvAhWFTKoheugQzkvIrZzBQH1Szg2I25O1PR+f5jwu1vpnPNiu2axU85hIF8eHiscwwHd7UuD7kyGHFEBqiGp+mSDhrwMeEGDdpiojN8uHd2YFFDRZPCqdu+Sft7Y0PmUMFpMSmqQ9pttYDf27K9jowYcT7Qh8XCjX+3p/RXQcSQM6gp4mRo9bcYhPTcZeA0S5Bo/yiDE9QfiD6+pj7u6yGJG8yDZouiVwclA0Pjaf9ntjW1aKNeqBthYfxYq0XJ9Ac3GJvwdQm2lbcsvHFrr106yNlJCHrRd3CiW34MfPn+RrjmEjPMYzGYd1qEEbyAEx/oA6g7LCi/f3ZwQPBsrr9ChhdsfyCvTDzwz5NpxuV2ybqLL4fEGMJdIuFmGUlVWKhbsBZouPFsFz5FTDdHsap+s4WErpQXmUv69zC9ueQOPyRdNzRw6mnN0n4pFXJiIWcolCiK5wUjbUITD6rfvUd4U/4jU0YAk824nivlesTWInmQSTmYvQWi6XJ+LX8XxJwGf4Vw8qJc66RKP+Y2mNyvQu2uUebT1TObY6VhMYGj2gYi+pVzc9NyD25U//8JxgIt1b2c=
22
- file : dist/watson-speech.js
22
+ file :
23
+ - dist/watson-speech.js
24
+ - dist/watson-speech.min.js
23
25
skip_cleanup : true
24
26
on :
25
27
tags : true
Original file line number Diff line number Diff line change 1
1
Note: the latest * stable* release can always be found on [ GitHub Releases]
2
- or, for browserify users, on [ npm] : ` npm install --save watson-speech `
2
+ or, for [ browserify] users, on [ npm] :
3
+
4
+ ``` sh
5
+ npm install --save watson-speech
6
+ ```
3
7
4
8
[ GitHub Releases ] : https://github.com/watson-developer-cloud/speech-javascript-sdk/releases
5
9
[ npm ] : https://www.npmjs.com/package/watson-speech
10
+ [ browserify ] : http://browserify.org/
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 9
9
"test" : " karma start test/resources/karma.conf.js --single-run" ,
10
10
"test-integration" : " TEST_MODE=integration karma start test/resources/karma.conf.js --single-run" ,
11
11
"browserify" : " browserify index.js --standalone WatsonSpeech --outfile dist/watson-speech.js" ,
12
+ "minify" : " uglifyjs --compress --mangle --screw-ie8 dist/watson-speech.js --output dist/watson-speech.min.js" ,
12
13
"watchify" : " watchify index.js --standalone WatsonSpeech --outfile dist/watson-speech.js --debug --verbose" ,
13
- "build" : " npm run browserify" ,
14
+ "build" : " npm run browserify && npm run minify " ,
14
15
"doc" : " jsdoc -c jsdoc/config.json" ,
15
16
"watch-doc" : " nodemon --watch lib/ --watch services/ --watch jsdoc/ --watch package.json --ext js,tmpl --exec npm run doc"
16
17
},
31
32
"karma-mocha" : " ^0.2.1" ,
32
33
"mocha" : " ^2.4.4" ,
33
34
"serve-static" : " ^1.10.2" ,
35
+ "uglify-js" : " ^2.6.1" ,
34
36
"watchify" : " ^3.7.0" ,
35
37
"watson-developer-cloud" : " ^1.2.1" ,
36
38
"whatwg-fetch" : " ^0.11.0"
You can’t perform that action at this time.
0 commit comments