diff --git a/jsconfig.json b/jsconfig.json new file mode 100644 index 0000000..47edfa7 --- /dev/null +++ b/jsconfig.json @@ -0,0 +1,6 @@ +{ + "include": [ + "js/**/*", + "types/**/*" + ] +} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 2584091..f23f334 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "Blockbench", - "version": "3.7.0", + "version": "3.7.4", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -67,6 +67,15 @@ "@types/node": "*" } }, + "@types/jquery": { + "version": "3.5.4", + "resolved": "https://registry.npmjs.org/@types/jquery/-/jquery-3.5.4.tgz", + "integrity": "sha512-//9CHhaUt/rurMJTxGI+I6DmsNHgYU6d8aSLFfO5dB7+10lwLnaWT0z5GY/yY82Q/M+B+0Qh3TixlJ8vmBeqIw==", + "dev": true, + "requires": { + "@types/sizzle": "*" + } + }, "@types/node": { "version": "14.0.19", "resolved": "https://registry.npmjs.org/@types/node/-/node-14.0.19.tgz", @@ -80,6 +89,12 @@ "@types/node": "*" } }, + "@types/sizzle": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/@types/sizzle/-/sizzle-2.3.2.tgz", + "integrity": "sha512-7EJYyKTL7tFR8+gDbB6Wwz/arpGa0Mywk1TJbNzKzHtzbwVmY4HR9WqS5VV7dsBUKQmPNr192jHr/VpBluj/hg==", + "dev": true + }, "@types/yargs": { "version": "15.0.9", "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-15.0.9.tgz", diff --git a/package.json b/package.json index 882f165..a3b2b37 100644 --- a/package.json +++ b/package.json @@ -94,6 +94,7 @@ "webapp": "git checkout gh-pages && git merge master && git push && git checkout master" }, "devDependencies": { + "@types/jquery": "^3.5.4", "electron": "^8.5.2", "electron-builder": "^22.9.1", "electron-notarize": "^1.0.0" diff --git a/types/libraries.d.ts b/types/libraries.d.ts new file mode 100644 index 0000000..013ffbc --- /dev/null +++ b/types/libraries.d.ts @@ -0,0 +1 @@ +import * as $ from '../node_modules/@types/jquery/dist/jquery.slim'