Comparing version 0.1.5 to 0.2.0
{ | ||
"name": "speak-tts", | ||
"version": "0.1.5", | ||
"version": "0.2.0", | ||
"description": "Browser TTS (using speechSynthesis API) made easy", | ||
@@ -8,3 +8,4 @@ "main": "index.js", | ||
"dev": "webpack-dev-server --devtool eval --progress --colors --content-base demo/build --hot --inline", | ||
"deploy": "NODE_ENV=production webpack -p --config webpack.production.config.js" | ||
"compile": "babel -d lib/ src/", | ||
"prepublish": "npm run compile" | ||
}, | ||
@@ -18,2 +19,5 @@ "author": "tom-s", | ||
"tts", | ||
"text to speech", | ||
"browser speech", | ||
"browser tts", | ||
"language detection" | ||
@@ -23,2 +27,3 @@ ], | ||
"devDependencies": { | ||
"babel-cli": "^6.6.5", | ||
"babel-core": "^6.0.0", | ||
@@ -29,4 +34,2 @@ "babel-loader": "^6.0.0", | ||
"babel-preset-es2015": "^6.5.0", | ||
"babel-preset-stage-0": "^6.5.0", | ||
"babel-preset-stage-2": "^6.0.0", | ||
"babel-runtime": "^5.8.3", | ||
@@ -33,0 +36,0 @@ "webpack": "^1.10.5", |
@@ -15,3 +15,3 @@ Speech synthesis made easy - Browser based text to speech (TTS) | ||
Speech synthesis (tts) with (optional) language detection. Based on browser SpeechSynthesis API, it improves it by handling some quirks and bugs of IOS/android devices and some chrome versions. Also split sentences into several speeches to make it sound more natural. Work in Chrome, opera and Safari (including ios8 and ios9 devices). Tested successfully on Ipad and Android. | ||
Speech synthesis (tts) for the browser with (optional) language detection. Based on browser SpeechSynthesis API, it improves it by handling some quirks and bugs of IOS/android devices and some chrome versions. Also split sentences into several speeches to make it sound more natural and provides additional callback functions. Work in Chrome, opera and Safari (including ios8 and ios9 devices). Tested successfully on Ipad and Android. | ||
See browser support here : http://caniuse.com/#feat=speech-synthesis | ||
@@ -29,3 +29,3 @@ | ||
```bash | ||
import Speech from 'speak-tts'; | ||
import Speech from 'speak-tts' | ||
``` | ||
@@ -36,3 +36,3 @@ | ||
```bash | ||
Speech.init(); | ||
Speech.init() | ||
``` | ||
@@ -39,0 +39,0 @@ |
@@ -25,3 +25,3 @@ // webpack.config.js | ||
plugins: ['transform-runtime'], | ||
presets: ['es2015', 'stage-0'] | ||
presets: ['es2015'] | ||
} | ||
@@ -31,3 +31,3 @@ }, | ||
include: /\.json$/, loaders: ["json-loader"], | ||
extensions: ['', '.json', '.jsx', '.js'] | ||
extensions: ['', '.json', '.js'] | ||
} | ||
@@ -34,0 +34,0 @@ ], |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9
10
307913
1227