Skip to content

Commit

Permalink
RIFFFile class no longer as a default export
Browse files Browse the repository at this point in the history
  • Loading branch information
rochars committed Jan 2, 2020
1 parent 394decf commit 2af9283
Show file tree
Hide file tree
Showing 29 changed files with 3,716 additions and 7,274 deletions.
13 changes: 0 additions & 13 deletions .babelrc

This file was deleted.

7 changes: 7 additions & 0 deletions .jsdocrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"templates": {
"default": {
"includeDate": false
}
}
}
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ node_js:
- "8"
- "9"
- "10"
- "12"
install:
- npm install
- npm install -g
Expand Down
6 changes: 2 additions & 4 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@ Building works the same on all platforms:
```
npm run build
```
This will lint the sources, test the sources, compile a UMD version, a CJS version, a ES bundle, compile a minified browser version, test everything and generate documentation files.
This will lint the sources, test the sources, compile the dist files version, test everything and generate the APID documentation.

There **must** be no errors or warnings during the build.
There **should** be no errors or warnings during the build.

The dist files are generated in the *dist/* folder.

The API documentation is generated in the *docs/* folder.

Mind that riff-file uses Google Closure Compiler with compilation level set to ADVANCED, so properties that have not been exported will be renamed (and likely result in errors in the compiled browser version).
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ npm install riff-file

## Use
```javascript
const RIFFFile = require('riff-file').RIFFFile;
let wavFile = fs.readFileSync("file.wav");
let riff = new RIFFFile();
riff.setSignature(wavFile);
Expand Down
1 change: 1 addition & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ environment:
- nodejs_version: "8"
- nodejs_version: "9"
- nodejs_version: "10"
- nodejs_version: "12"

install:
- ps: Install-Product node $env:nodejs_version
Expand Down

0 comments on commit 2af9283

Please sign in to comment.