Skip to content

Commit

Permalink
Dependencies and cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jazz-soft committed Aug 29, 2024
1 parent 11341fa commit a8efa9f
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 48 deletions.
35 changes: 0 additions & 35 deletions .eslintrc.js

This file was deleted.

8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.x'
node-version: '20.x'
- run: npm install
- run: npm test
- run: npm run coverage
- uses: coverallsapp/github-action@master
- uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
37 changes: 37 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
import globals from "globals";
import js from "@eslint/js";

export default [
js.configs.recommended,
{
ignores: ["**/.instrumented/*"]
},
{
files: ["javascript/*.js", "test/*.js"],
languageOptions: {
ecmaVersion: 2015,
globals: {
...globals.browser,
...globals.node,
define: "readonly",
JZZ: "readonly"
}
},
rules: {
"no-prototype-builtins": "off",
"no-unused-vars": ["error", { caughtErrors: "none"}],
"no-empty" : ["warn", { "allowEmptyCatch": true }]
}
},
{
files: ["test/*.js"],
languageOptions: {
globals: {
describe: "readonly",
it: "readonly",
before: "readonly",
after: "readonly"
}
}
}
];
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jzz-gui-karaoke",
"version": "1.2.9",
"version": "1.3.0",
"description": "Karaoke MIDI Player",
"main": "javascript/JZZ.gui.Karaoke.js",
"scripts": {
Expand All @@ -16,19 +16,19 @@
],
"author": "jazz-soft (https://jazz-soft.net/)",
"dependencies": {
"jzz": "^1.7.7",
"jzz-midi-smf": "^1.8.4"
"jzz": "^1.8.5",
"jzz-midi-smf": "^1.9.4"
},
"devDependencies": {
"eslint": "^8.56.0",
"eslint": "^9.9.1",
"grunt": "^1.6.1",
"grunt-contrib-jshint": "^3.2.0",
"grunt-contrib-uglify": "^5.2.2",
"jsdom": "^23.2.0",
"jzz-gui-player": "^1.7.0",
"jzz-synth-tiny": "^1.3.7",
"mocha": "^10.2.0",
"nyc": "^15.1.0"
"jsdom": "^25.0.0",
"jzz-gui-player": "^1.7.4",
"jzz-synth-tiny": "^1.4.1",
"mocha": "^10.7.3",
"nyc": "^17.0.0"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit a8efa9f

Please sign in to comment.