diff --git a/.gitignore b/.gitignore index 64b9b54..878cc43 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ node_modules/ build/ -src/templates/*.js .*.swp diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..d9652b9 --- /dev/null +++ b/.npmignore @@ -0,0 +1,2 @@ +node_modules/ +.*.swp diff --git a/CHANGELOG.md b/CHANGELOG.md index e87f799..65489fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,8 @@ -## 0.2.1 (May 21, 2015) +## 0.2.2 (May 21, 2015) * Corrected publishing as Node.js module (`package.json` now contains correct main entry point) +* Corrected `.npmignore`, so the build artifacts are actually published to npm. Unpublished version + 0.2.1 that was built with incorrect `.npmignore` file. ## 0.2.0 (Apr 23, 2015) diff --git a/README.md b/README.md index b8b229b..1557eac 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,9 @@ to a Flash-based approach (such as [Downloadify](https://github.com/dcneiner/Dow Our demo does not include this workaround to keep things simple, so it will not work on Safari at this point of time. +You can also find a sample for using it in Node.js environment +[here](https://github.com/evidenceprime/html-docx-js-node-sample). + To generate DOCX, simply pass a HTML document to `asBlob` method to receive `Blob` (or `Buffer`) containing the output file. diff --git a/bower.json b/bower.json index a478a7a..abf4427 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "html-docx-js", - "version": "0.2.1", + "version": "0.2.2", "description": "Converts HTML documents to DOCX in the browser", "repository": { "type": "git", diff --git a/package.json b/package.json index 45c25a9..8f95774 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "html-docx-js", - "version": "0.2.1", + "version": "0.2.2", "description": "Converts HTML documents to DOCX in the browser", "main": "build/api.js", "repository": {