Skip to content

Commit

Permalink
Preparing for '1.3.0-beta' release [iet:9087033]
Browse files Browse the repository at this point in the history
  • Loading branch information
nfreear committed Jul 1, 2017
1 parent 7262c9a commit a324659
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 30 deletions.
7 changes: 6 additions & 1 deletion .gitignore
@@ -1,6 +1,6 @@

htm/oembed.json
htm/opensearch*.xml
# htm/opensearch*.xml
*.jsdoced.js

docs/
Expand All @@ -14,10 +14,15 @@ beep.js
*BAK*

# *test.js
build/*.js
!build/simple-speak.js
*.html
*.png
!embed/index.html
!htm/index.html
!test/index.html
!get-voices.html
!style/icon-64.png
*.log
*.diff
node_modules
Expand Down
7 changes: 3 additions & 4 deletions .travis.yml
Expand Up @@ -3,20 +3,19 @@
language: node_js
node_js:
- "4"
- "6"
#- "6"
- "7"

git:
depth: 8

script:
- npm run build
- npm run build-min
- npm test

after_script:
#- ls -alh build/
- ls -alh build/
#- node test/configure-test.js
cat build/simple-speak.js
cat build/simple-speak.min.js

# End.
10 changes: 6 additions & 4 deletions README.md
Expand Up @@ -29,6 +29,8 @@ Read the [blog post][]. [Suggest features and uses ![.][wish-icon]][wish]. (_An
* Speak and spell modes,
* Supports all the voices and languages your [Web browser supports][compat].

See the [release notes][rel].

## Install and test

Build with [Browserify][]:
Expand All @@ -47,7 +49,7 @@ Use [Javascript hosted][rel] on the [unpkg][] CDN:
<div id="id-simple-speak"> Hello. I'm simple-speak. </div>

<script src="https://unpkg.com/jquery@2.2.4/dist/jquery.min.js"></script>
<script src="https://unpkg.com/simple-speak@1.2.0-beta/build/simple-speak.js"></script>
<script src="https://unpkg.com/simple-speak@1.3.0-beta#._.js"></script>
```

Use [Javascript hosted][rel] on the [RawGit][] CDN:
Expand All @@ -56,7 +58,7 @@ Use [Javascript hosted][rel] on the [RawGit][] CDN:
<div id="id-simple-speak"> Hello. I'm simple-speak. </div>

<script src="https://unpkg.com/jquery@2.2.4/dist/jquery.min.js"></script>
<script src="https://cdn.rawgit.com/nfreear/simple-speak/1.2-beta/build/simple-speak.js"></script>
<script src="https://cdn.rawgit.com/nfreear/simple-speak/1.3.0-beta/build/simple-speak.js"></script>
```

Speak static text within an arbitrary HTML `<element>` — zero-configuration:
Expand Down Expand Up @@ -120,7 +122,7 @@ You can embed `simple-speak` in an `<iframe>`, and optionally set a language:
<iframe
aria-label="Speech synthesis"
class="simple-speak-ifr" width="100%" height="75"
src="https://cdn.rawgit.com/nfreear/simple-speak/1.2-beta/htm/?embed;lang=fr;q=Bonjour"></iframe>
src="https://cdn.rawgit.com/nfreear/simple-speak/1.3.0-beta/embed/?lang=fr;q=Bonjour"></iframe>
```

## WordPress
Expand Down Expand Up @@ -174,7 +176,7 @@ License: [MIT][].
[downl-icon]: https://img.shields.io/npm/dt/simple-speak.svg "Count of total downloads ~NPM"
[gh-down-ic]: https://img.shields.io/github/downloads/nfreear/simple-speak/total.svg?maxAge=2592000 "0 tot"
[size-icon]: https://img.shields.io/github/size/nfreear/simple-speak/build/simple-speak.js.svg
"Size of built Javascript, kilo-Bytes ~ on GitHub"
"Size of built Javascript, kilo-bytes (kB) ~ on GitHub"
[built-icon]: https://img.shields.io/badge/built_with-browserify-blue.svg
"Built with Browserify"
[zh-cn]: https://translate.google.com/?source=osdd#auto/zh-CN/Hello%20auntie
Expand Down
36 changes: 23 additions & 13 deletions build/simple-speak.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions htm/opensearch.xml
Expand Up @@ -4,8 +4,8 @@
<Description>Speech synthesis via simple-speak ~ https://github.com/nfreear/simple-speak</Description>
<Contact>nfreear+@+yahoo.co.uk</Contact>
<Url type="text/html"
template="https://cdn.rawgit.com/nfreear/simple-speak/1.3-beta/htm/?q={searchTerms};lang={language?}&amp;utm_source=opensearch"/>
<Image height="64" width="64" type="image/png">https://cdn.rawgit.com/nfreear/simple-speak/1.3-beta/style/icon-64.png</Image>
template="https://cdn.rawgit.com/nfreear/simple-speak/1.3.0-beta/htm/?q={searchTerms};lang={language?}&amp;utm_source=opensearch"/>
<Image height="64" width="64" type="image/png">https://cdn.rawgit.com/nfreear/simple-speak/1.3.0-beta/style/icon-64.png</Image>
<Query role="example" searchTerms="Hello. I'm simple-speak." />
<Attribution>© Nick Freear, 07-June-2017 | License: MIT.</Attribution>
<SyndicationRight>open</SyndicationRight>
Expand Down
4 changes: 2 additions & 2 deletions index.js
Expand Up @@ -7,7 +7,7 @@
/**
* A powerful, straightforward Javascript wrapper around the Web Speech API in the browser.
* @module simple-speak
* @version 1.2-beta
* @version 1.3.0-beta
* @license MIT
* @copyright © 2017 Nick Freear and contributors.
* @see {@link https://npmjs.com/package/simple-speak|simple-speak on NPM}
Expand All @@ -16,7 +16,7 @@
(function () {
'use strict';

var VERSION_TAG = '1.2-beta'; // <Auto>
var VERSION_TAG = '1.3.0-beta'; // <Auto>

var config = require('./src/configure').configure(VERSION_TAG);

Expand Down
10 changes: 6 additions & 4 deletions package.json
@@ -1,9 +1,10 @@
{
"name": "simple-speak",
"description": "Quickly add text-to-speech widgets to HTML, using the Web Speech API.",
"version": "1.2.0-beta",
"version": "1.3.0-beta",
"license": "MIT",
"browser": "build/simple-speak.js",
"unpkg": "build/simple-speak.js",
"main": "./index.js",
"keywords": [
"speech synthesis", "speak", "tts", "text to speech", "text-to-speech", "browser tts", "spell", "IET-OU"
Expand All @@ -30,10 +31,10 @@
"node": ">= 4.0.0"
},
"scripts": {
"build": "src/_ver.js && npm run jsdoc && npm run browserify",
"build-min": "uglifyjs build/simple-speak.js --comments=/^[!]/ -mco build/simple-speak.min.js",
"build": "src/_ver.js && npm run jsdoc && npm run browserify && npm run uglify",
"uglify": "uglifyjs build/simple-speak.js --comments=/^[!]/ -mco build/simple-speak.min.js",
"test": "semistandard && csslint style/ test/style/",
"browserify": "browserify index.js --debug | exorcist build/simple-speak.js.map | src/_unc.js > build/simple-speak.js",
"browserify": "browserify index.js --no-bf --debug | exorcist build/simple-speak.js.map | src/_unc.js > build/simple-speak.js",
"jsdoc": "jsdoc --private --verbose index.js src/ -R README.md",
"jsdoc-xx": "jsdoc -c docs/jsdoc/conf.json",
"jsdoc-x": "jsdoc --verbose --private --debug index.js src/ -R README.md -t docs/jsdoc/template/",
Expand All @@ -50,5 +51,6 @@
"semistandard": {
"ignore": "build/"
},
"x-build-js-size": "10.0KB",
"//": "Copyright © Nick Freear, 28-May-2017."
}

0 comments on commit a324659

Please sign in to comment.