|
4 | 4 | "description": "IBM Watson Speech to Text and Text to Speech SDK for web browsers.", |
5 | 5 | "main": "index.js", |
6 | 6 | "scripts": { |
7 | | - "watch-test": "karma start test/resources/karma.conf.js", |
8 | | - "lint": "eslint --config test/resources/.eslintrc.js *.js speech-to-text/*.js text-to-speech/*.js util/*.js", |
9 | | - "test": "karma start test/resources/karma.conf.js --single-run", |
10 | | - "test-integration": "TEST_MODE=integration karma start test/resources/karma.conf.js --single-run", |
| 7 | + "watch-test": "karma start", |
| 8 | + "test": "eslint . && karma start --single-run", |
| 9 | + "test-integration": "TEST_MODE=integration karma start --single-run", |
11 | 10 | "browserify": "browserify index.js --standalone WatsonSpeech --outfile dist/watson-speech.js --transform envify", |
12 | 11 | "minify": "uglifyjs --compress --mangle --screw-ie8 dist/watson-speech.js --output dist/watson-speech.min.js --preamble \"// IBM Watson Speech JavaScript SDK\n// $npm_package_version\n// Generated at `date`\n// Copyright IBM ($npm_package_license)\n// $npm_package_homepage\"", |
13 | 12 | "watchify": "watchify index.js --standalone WatsonSpeech --outfile dist/watson-speech.js --debug --verbose", |
|
20 | 19 | "browserify": "^13.0.0", |
21 | 20 | "concat-stream": "^1.5.1", |
22 | 21 | "envify": "^3.4.0", |
23 | | - "eslint": "^1.10.3", |
24 | | - "eslint-config-google": "^0.3.0", |
| 22 | + "eslint": "^2.4.0", |
25 | 23 | "expect.js": "^0.3.1", |
26 | 24 | "jquery": "^2.2.1", |
27 | 25 | "jsdoc": "^3.4.0", |
|
40 | 38 | "dependencies": { |
41 | 39 | "clone": "^1.0.2", |
42 | 40 | "defaults": "^1.0.3", |
| 41 | + "eslint": "^2.4.0", |
43 | 42 | "get-user-media-promise": "^1.0.0", |
| 43 | + "karma-eslint": "^2.1.0", |
44 | 44 | "microphone-stream": "^3.0.2", |
45 | 45 | "object.assign": "^4.0.3", |
46 | 46 | "object.pick": "^1.1.1", |
|
0 commit comments