Add jsconfig and jQuery types
This commit is contained in:
parent
a96279eae9
commit
ee30c99235
6
jsconfig.json
Normal file
6
jsconfig.json
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"include": [
|
||||||
|
"js/**/*",
|
||||||
|
"types/**/*"
|
||||||
|
]
|
||||||
|
}
|
17
package-lock.json
generated
17
package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "Blockbench",
|
"name": "Blockbench",
|
||||||
"version": "3.7.0",
|
"version": "3.7.4",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@ -67,6 +67,15 @@
|
|||||||
"@types/node": "*"
|
"@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": {
|
"@types/node": {
|
||||||
"version": "14.0.19",
|
"version": "14.0.19",
|
||||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.0.19.tgz",
|
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.0.19.tgz",
|
||||||
@ -80,6 +89,12 @@
|
|||||||
"@types/node": "*"
|
"@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": {
|
"@types/yargs": {
|
||||||
"version": "15.0.9",
|
"version": "15.0.9",
|
||||||
"resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-15.0.9.tgz",
|
"resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-15.0.9.tgz",
|
||||||
|
@ -94,6 +94,7 @@
|
|||||||
"webapp": "git checkout gh-pages && git merge master && git push && git checkout master"
|
"webapp": "git checkout gh-pages && git merge master && git push && git checkout master"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@types/jquery": "^3.5.4",
|
||||||
"electron": "^8.5.2",
|
"electron": "^8.5.2",
|
||||||
"electron-builder": "^22.9.1",
|
"electron-builder": "^22.9.1",
|
||||||
"electron-notarize": "^1.0.0"
|
"electron-notarize": "^1.0.0"
|
||||||
|
1
types/libraries.d.ts
vendored
Normal file
1
types/libraries.d.ts
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
import * as $ from '../node_modules/@types/jquery/dist/jquery.slim'
|
Loading…
x
Reference in New Issue
Block a user