Skip to content

Commit

Permalink
Update mocha and minami. Quell some rollup warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
grimmdude committed Jun 30, 2021
1 parent 324fa29 commit d11f568
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "midi-writer-js",
"version": "2.0.0",
"version": "2.0.1",
"description": "A library providing an API for generating MIDI files.",
"main": "build/index.js",
"types": "types.d.ts",
Expand All @@ -19,8 +19,8 @@
"eslint-plugin-promise": "^4.1.1",
"eslint-plugin-standard": "^4.0.1",
"jsdoc": "^3.6.4",
"minami": "^1.1.1",
"mocha": "^6.2.3",
"minami": "^1.2.3",
"mocha": "^9.0.1",
"nyc": "^15.0.1",
"rollup": "^2.9.0",
"watch": "^1.0.2"
Expand Down
6 changes: 4 additions & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@ export default {
input: 'src/main.js',
output: {
file: 'build/index.js',
format: 'cjs'
format: 'cjs',
exports: 'default',
},
external: ['tonal-midi', 'fs'],
plugins: [
babel({
exclude: 'node_modules/**', // only transpile our source code
plugins: ['@babel/plugin-transform-destructuring']
plugins: ['@babel/plugin-transform-destructuring'],
babelHelpers: 'bundled'
})
]
};
2 changes: 1 addition & 1 deletion test/writer.js

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

0 comments on commit d11f568

Please sign in to comment.