diff --git a/.gitignore b/.gitignore index 9de0ec3..0e71b52 100644 --- a/.gitignore +++ b/.gitignore @@ -92,3 +92,5 @@ dist .pnp.* build public/electron.js +public/services +config.json diff --git a/package.json b/package.json index 2a20294..af65278 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "description": "Simple monitor for displaying MIDI status for digital pianos.", "author": "TheoryOfNekomata (https://modal.sh)", "version": "0.1.0", + "main": "public/electron.js", "private": true, "license": "MIT", "dependencies": { @@ -11,7 +12,6 @@ "@testing-library/user-event": "^7.1.2", "@theoryofnekomata/react-musical-keyboard": "1.0.4", "@types/jest": "^24.0.0", - "@types/node": "^12.0.0", "@types/react": "^16.9.0", "@types/react-dom": "^16.9.0", "electron-is-dev": "^1.2.0", @@ -25,7 +25,7 @@ "postinstall": "electron-builder install-app-deps", "start": "concurrently \"BROWSER=none react-scripts start\" \"wait-on http://localhost:3000 && electron .\"", "test": "react-scripts test", - "compile": "tsc src/shell/electron.ts --outDir public/", + "compile": "tsc src/electron.ts --resolveJsonModule --esModuleInterop --outDir public/", "rebuild": "electron-rebuild -f -w midi", "prebuild": "react-scripts build", "build": "electron-builder" @@ -46,9 +46,11 @@ ] }, "devDependencies": { + "@types/node": "12", "concurrently": "^5.3.0", "electron": "^9.2.0", "electron-builder": "^22.8.0", + "fast-check": "^2.1.0", "wait-on": "^5.1.0" }, "build": { diff --git a/public/index.html b/public/index.html index 71307a2..4fb02c4 100644 --- a/public/index.html +++ b/public/index.html @@ -1,5 +1,5 @@ - + @@ -28,8 +28,46 @@ Piano MIDI Monitor + -