-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f9c3202
commit bdc3296
Showing
2 changed files
with
29 additions
and
34 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,17 @@ | ||
{ | ||
"name": "paradox-anticheat", | ||
"version": "3.3.4", | ||
"version": "3.3.6", | ||
"productName": "Paradox-AntiCheat", | ||
"description": "A utility to fight against malicious hackers on Bedrock Edition", | ||
"private": true, | ||
"devDependencies": { | ||
"7zip-bin": "5.2.0", | ||
"prettier": "3.0.0" | ||
"prettier": "3.0.3" | ||
}, | ||
"dependencies": { | ||
"@minecraft/server": "1.4.0-beta.1.20.10-stable", | ||
"@minecraft/server-ui": "1.2.0-beta.1.20.10-stable", | ||
"i": "^0.3.7", | ||
"typescript": "5.1.6" | ||
"@minecraft/server": "1.6.0-beta.1.20.30-stable", | ||
"@minecraft/server-ui": "1.2.0-beta.1.20.30-stable", | ||
"typescript": "5.2.2" | ||
}, | ||
"prettier": { | ||
"trailingComma": "es5", | ||
|
@@ -22,7 +21,7 @@ | |
"printWidth": 250 | ||
}, | ||
"scripts": { | ||
"postinstall": "npm install --prefix src @minecraft/[email protected].10 && npm install --prefix src [email protected]", | ||
"postinstall": "npm install --prefix src @minecraft/[email protected].30 && npm install --prefix src [email protected]", | ||
"enableMcLoopback": "CheckNetIsolation.exe LoopbackExempt -a -p=S-1-15-2-1958404141-86561845-1752920682-3514627264-368642714-62675701-733520436", | ||
"enableMcPreviewLoopback": "CheckNetIsolation.exe LoopbackExempt -a -p=S-1-15-2-424268864-5579737-879501358-346833251-474568803-887069379-4040235476", | ||
"format": "npx prettier --write --ignore-path .prettierignore ./", | ||
|
@@ -38,7 +37,7 @@ | |
"mkdir_win": "@if exist build (rd /s /q build && mkdir build) else (mkdir build)", | ||
"copy:win-vanilla-data": "@powershell Copy-Item -Path ^(\\\"src\\node_modules\\\"^) -Destination \"build\\scripts\" -Recurse", | ||
"copy_assets_win": "@powershell Copy-Item -Path ^(\\\"animation_controllers\\\",\\\"animations\\\",\\\"entities\\\",\\\"functions\\\",\\\"CHANGELOG.md\\\",\\\"LICENSE\\\",\\\"manifest.json\\\",\\\"pack_icon.png\\\",\\\"README.md\\\"^) -Destination \"build\" -Recurse", | ||
"win": "npm run mkdir_win 1>nul && node node_modules\\typescript\\bin\\tsc -p tsconfig.json && npm run copy_assets_win 1>nul && npm run copy:win-vanilla-data 1>nul", | ||
"build_win": "npm run mkdir_win 1>nul && node node_modules\\typescript\\bin\\tsc -p tsconfig.json && npm run copy_assets_win 1>nul && npm run copy:win-vanilla-data 1>nul", | ||
"build_win_noscript": "npm run mkdir_win 1>nul && npm run copy_assets_win 1>nul", | ||
"zip_win": "npm run clean_win && npm run build_win && cd build && node -e \"const path = require('path'); const arch = process.arch.startsWith('arm') ? 'arm64' : (process.arch === 'x32' ? 'ia32' : 'x64'); const executable = path.join(__dirname, '..', 'node_modules', '7zip-bin', 'win', arch, '7za'); require('child_process').execSync(`${executable} a -tzip Paradox-AntiCheat-v%npm_package_version%.zip .`);\"", | ||
"dist_win": "npm run clean_win && npm run format && npm run build_win 1>nul && npm run zip_win 1>nul && powershell -Command \"Rename-Item -Path 'build\\Paradox-AntiCheat-v%npm_package_version%.zip' -NewName 'Paradox-AntiCheat-v%npm_package_version%.mcpack'\"" | ||
|