This commit is contained in:
DaanV2
2021-08-18 17:11:09 +02:00
parent d606e18320
commit 657f17d6f6
4 changed files with 3776 additions and 1 deletions

3
.gitattributes vendored
View File

@@ -5,3 +5,6 @@ language/**/*.json linguist-vendored=true
resource/**/*.json linguist-vendored=true resource/**/*.json linguist-vendored=true
skinpacks/**/*.json linguist-vendored=true skinpacks/**/*.json linguist-vendored=true
*.json linguist-detectable=true *.json linguist-detectable=true
node_modules/
node_modules

44
.vscode/tasks.json vendored
View File

@@ -6,6 +6,50 @@
"label": "Format workspace", "label": "Format workspace",
"command": "Powershell.exe -executionpolicy remotesigned -File ./scripts/format_documents.ps1", "command": "Powershell.exe -executionpolicy remotesigned -File ./scripts/format_documents.ps1",
"problemMatcher": "$tsc" "problemMatcher": "$tsc"
},
{
"type": "npm",
"script": "watch",
"isBackground": true,
"group": {
"kind": "build",
"isDefault": true
},
"presentation": { "reveal": "silent", "panel": "dedicated" },
"problemMatcher": ["$tsc-watch"]
},
{
"type": "npm",
"script": "compile",
"isBackground": false,
"group": "build",
"presentation": { "reveal": "silent", "panel": "dedicated" },
"problemMatcher": ["$tsc"]
},
{
"type": "shell",
"label": "Format workspace",
"command": "Powershell.exe -executionpolicy remotesigned -File ./scripts/format_documents.ps1",
"problemMatcher": "$tsc"
},
{
"type": "shell",
"label": "build extension",
"command": "./scripts/build.bat",
"group": "build",
"problemMatcher": "$tsc"
},
{
"type": "shell",
"label": "install project extension",
"command": "Powershell.exe -executionpolicy remotesigned -File ./scripts/install.ps1",
"problemMatcher": "$tsc"
},
{
"type": "shell",
"label": "update project extension",
"command": "Powershell.exe -executionpolicy remotesigned -File ./scripts/update.ps1",
"problemMatcher": "$tsc"
} }
] ]
} }

3692
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

36
package.json Normal file
View File

@@ -0,0 +1,36 @@
{
"name": "minecraft-bedrock-schemas",
"version": "1.0.0",
"description": "The unit test for minecraft-bedrock-schemas",
"main": "index.js",
"directories": {
"test": "test"
},
"scripts": {
"test": "mocha -r ts-node/register '**/*.test.ts'",
"update": "npm update && npm audit fix"
},
"repository": {
"compile": "tsc -b",
"type": "git",
"url": "git+https://github.com/Blockception/Minecraft-bedrock-json-schemas.git"
},
"keywords": [
"unittest"
],
"author": "Blockception ltd",
"license": "BSD-3-Clause",
"bugs": {
"url": "https://github.com/Blockception/Minecraft-bedrock-json-schemas/issues"
},
"homepage": "https://github.com/Blockception/Minecraft-bedrock-json-schemas#readme",
"devDependencies": {
"@types/chai": "^4.2.21",
"@types/mocha": "^9.0.0",
"chai": "^4.3.4",
"json-loader": "^0.5.7",
"mocha": "^9.0.3",
"ts-loader": "^9.2.5",
"ts-node": "^10.2.0"
}
}