Skip to content

Commit c659e28

Browse files
committed
Dependencies and eslint
1 parent cd5b792 commit c659e28

File tree

5 files changed

+40
-33
lines changed

5 files changed

+40
-33
lines changed

.eslintrc.js

Lines changed: 0 additions & 14 deletions
This file was deleted.

.npmignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
.*
22
test*
3-
coverage
4-
!test
3+
coverage

eslint.config.mjs

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import globals from "globals";
2+
import js from "@eslint/js";
3+
4+
export default [
5+
js.configs.recommended,
6+
{
7+
files: ["*.js"],
8+
languageOptions: {
9+
ecmaVersion: 2015,
10+
globals: {
11+
...globals.browser,
12+
...globals.node,
13+
define: "readonly",
14+
"JZZ": "readonly",
15+
"React": "readonly"
16+
}
17+
},
18+
rules: {
19+
"no-unused-vars": ["error", { caughtErrors: "none"}]
20+
}
21+
}
22+
];

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@
1616
],
1717
"author": "jazz-soft (https://jazz-soft.net/)",
1818
"dependencies": {
19-
"jzz": "^1.8.4",
20-
"jzz-gui-player": "^1.7.4",
21-
"jzz-midi-smf": "^1.9.2",
22-
"jzz-synth-tiny": "^1.4.0"
19+
"jzz": "^1.9.3",
20+
"jzz-gui-player": "^1.7.7",
21+
"jzz-midi-smf": "^1.9.8",
22+
"jzz-synth-tiny": "^1.4.3"
2323
},
2424
"devDependencies": {
25-
"eslint": "^9.3.0",
26-
"jsdom": "^24.1.0",
27-
"mocha": "^10.4.0",
28-
"nyc": "^15.1.0",
29-
"web-midi-test": "^1.2.8"
25+
"eslint": "^9.25.0",
26+
"jsdom": "^26.1.0",
27+
"mocha": "^11.1.0",
28+
"nyc": "^17.1.0",
29+
"web-midi-test": "^1.2.9"
3030
},
3131
"repository": {
3232
"type": "git",

test-webpack/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@
55
"test": "webpack"
66
},
77
"dependencies": {
8-
"react": "^18.3.1",
9-
"react-dom": "^18.3.1",
8+
"react": "^19.1.0",
9+
"react-dom": "^19.1.0",
1010
"react-midi-player": "^1.0.8"
1111
},
1212
"devDependencies": {
13-
"@babel/core": "^7.24.6",
14-
"@babel/preset-env": "^7.24.6",
15-
"@babel/preset-react": "^7.24.6",
16-
"babel-loader": "^9.1.3",
17-
"webpack": "^5.91.0",
18-
"webpack-cli": "^5.1.4"
13+
"@babel/core": "^7.26.10",
14+
"@babel/preset-env": "^7.26.9",
15+
"@babel/preset-react": "^7.26.3",
16+
"babel-loader": "^10.0.0",
17+
"webpack": "^5.99.6",
18+
"webpack-cli": "^6.0.1"
1919
},
2020
"private": true
2121
}

0 commit comments

Comments
 (0)