Skip to content

Commit

Permalink
better packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
rochars committed May 14, 2018
1 parent 7597121 commit 476f82f
Show file tree
Hide file tree
Showing 12 changed files with 67 additions and 45 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
*.log
.DS_Store
*.reapeaks
*.DS_Store
.nyc_output
coverage
node_modules
package-lock.json
20 changes: 17 additions & 3 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
test
.nyc_output
*.log
*.reapeaks
*.DS_Store

# minified browser version
dist/

# Development folders
.nyc_output/
docs/
test/

# Development files
.gitignore
.npmignore
.jshintrc
.travis.yml
appveyor.yml
webpack.config.js
webpack.config.js
compile.js
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
language: node_js
os:
- linux
- osx
node_js:
- "7"
- "8"
- "9"
- "10"
script:
- npm run build
- npm run build-ci
after_success:
- npm run coverage
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# CHANGELOG

## 4.0.5 (2018-05-13)
- Better packaging.

## 4.0.4 (2018-05-10)
- Fix index for files with broken size fields.

Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
# riff-chunks
Read and write the chunks of RIFF and RIFX files.
Copyright (c) 2017-2018 Rafael da Silva Rocha.
https://github.com/rochars/riff-chunks

[![NPM version](https://img.shields.io/npm/v/riff-chunks.svg?style=for-the-badge)](https://www.npmjs.com/package/riff-chunks) [![Docs](https://img.shields.io/badge/docs-online-blue.svg?style=for-the-badge)](https://rochars.github.io/riff-chunks/index.html)
[![Codecov](https://img.shields.io/codecov/c/github/rochars/riff-chunks.svg?style=flat-square)](https://codecov.io/gh/rochars/riff-chunks) [![Unix Build](https://img.shields.io/travis/rochars/riff-chunks.svg?style=flat-square)](https://travis-ci.org/rochars/riff-chunks) [![Windows Build](https://img.shields.io/appveyor/ci/rochars/riff-chunks.svg?style=flat-square&logo=appveyor)](https://ci.appveyor.com/project/rochars/riff-chunks) [![Scrutinizer](https://img.shields.io/scrutinizer/g/rochars/riff-chunks.svg?style=flat-square&logo=scrutinizer)](https://scrutinizer-ci.com/g/rochars/riff-chunks/)

## About
Read and write the chunks of RIFF files.
Read and write the chunks of RIFF and RIFX files.

## Install
```
Expand Down
4 changes: 3 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ environment:
matrix:
- nodejs_version: "7"
- nodejs_version: "8"
- nodejs_version: "9"
- nodejs_version: "10"

install:
- ps: Install-Product node $env:nodejs_version
Expand All @@ -11,7 +13,7 @@ install:
test_script:
- node --version
- npm --version
- cmd: npm run build
- cmd: npm run build-ci

build: off

Expand Down
26 changes: 13 additions & 13 deletions dist/riff-chunks-min.js

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

2 changes: 1 addition & 1 deletion docs/global.html
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ <h5>Returns:</h5>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu May 10 2018 01:51:07 GMT-0300 (Hora oficial do Brasil) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun May 13 2018 23:30:47 GMT-0300 (Hora oficial do Brasil) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
Expand Down
6 changes: 3 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ <h2><a href="index.html">Home</a></h2><h3>Global</h3><ul><li><a href="global.htm


<section class="readme">
<article><h1>riff-chunks</h1><p>Read and write the chunks of RIFF and RIFX files.<br>Copyright (c) 2017-2018 Rafael da Silva Rocha.<br>https://github.com/rochars/riff-chunks</p>
<article><h1>riff-chunks</h1><p>Copyright (c) 2017-2018 Rafael da Silva Rocha.<br>https://github.com/rochars/riff-chunks</p>
<p><a href="https://www.npmjs.com/package/riff-chunks"><img src="https://img.shields.io/npm/v/riff-chunks.svg?style=for-the-badge" alt="NPM version"></a> <a href="https://rochars.github.io/riff-chunks/index.html"><img src="https://img.shields.io/badge/docs-online-blue.svg?style=for-the-badge" alt="Docs"></a><br><a href="https://codecov.io/gh/rochars/riff-chunks"><img src="https://img.shields.io/codecov/c/github/rochars/riff-chunks.svg?style=flat-square" alt="Codecov"></a> <a href="https://travis-ci.org/rochars/riff-chunks"><img src="https://img.shields.io/travis/rochars/riff-chunks.svg?style=flat-square" alt="Unix Build"></a> <a href="https://ci.appveyor.com/project/rochars/riff-chunks"><img src="https://img.shields.io/appveyor/ci/rochars/riff-chunks.svg?style=flat-square&amp;logo=appveyor" alt="Windows Build"></a> <a href="https://scrutinizer-ci.com/g/rochars/riff-chunks/"><img src="https://img.shields.io/scrutinizer/g/rochars/riff-chunks.svg?style=flat-square&amp;logo=scrutinizer" alt="Scrutinizer"></a></p>
<h2>About</h2><p>Read and write the chunks of RIFF files.</p>
<h2>About</h2><p>Read and write the chunks of RIFF and RIFX files.</p>
<h2>Install</h2><pre class="prettyprint source"><code>npm install riff-chunks</code></pre><h2>Use</h2><pre class="prettyprint source lang-javascript"><code>const riffChunks = require(&quot;riff-chunks&quot;);
const fs = require(&quot;fs&quot;);

Expand Down Expand Up @@ -105,7 +105,7 @@ <h2>riffChunks.write()</h2><pre class="prettyprint source lang-javascript"><code
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu May 10 2018 01:51:07 GMT-0300 (Hora oficial do Brasil) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun May 13 2018 23:30:47 GMT-0300 (Hora oficial do Brasil) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
Expand Down
Loading

0 comments on commit 476f82f

Please sign in to comment.