Add jsconfig and jQuery types

This commit is contained in:
JannisX11 2020-12-05 14:12:37 +01:00
parent a96279eae9
commit ee30c99235
4 changed files with 24 additions and 1 deletions

6
jsconfig.json Normal file
View File

@ -0,0 +1,6 @@
{
"include": [
"js/**/*",
"types/**/*"
]
}

17
package-lock.json generated
View File

@ -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",

View File

@ -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"

1
types/libraries.d.ts vendored Normal file
View File

@ -0,0 +1 @@
import * as $ from '../node_modules/@types/jquery/dist/jquery.slim'