forked from Pete9xi/ThirdEye
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
36 lines (36 loc) · 1.58 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
"name": "thirdeye",
"version": "1.0.8",
"productName": "ThirdEye",
"description": "Two way chat between Discord and Minecraft Bedrock along with logs for Anticheats.",
"type": "module",
"private": true,
"devDependencies": {
"@types/node": "20.12.7 ",
"bedrock-protocol": "3.36.0",
"discord.js": "14.14.1",
"prettier": "3.2.5",
"typescript": "5.4.5",
"discord-api-types": "0.37.82"
},
"prettier": {
"trailingComma": "es5",
"tabWidth": 4,
"useTabs": false,
"semi": true,
"printWidth": 250
},
"scripts": {
"format": "npx prettier --write --ignore-path .prettierignore ./",
"linux//": " --- BUILD (Linux) --- ",
"clean": "rm -rf build/",
"mkDirs": "mkdir -p build",
"copy:assets": "cp -R src/Install_NodeJS_Modules.bat src/Run.bat src/whitelist.json package.json LICENSE README.md build",
"build": "npm run clean; ./node_modules/typescript/bin/tsc -p tsconfig.json; npm run copy:assets; node modify-package.js",
"windows//": " --- BUILD (Windows) --- ",
"clean_win": "rd /s /q build>nul 2>&1|echo.>nul",
"mkdir_win": "@if exist build (rd /s /q build && mkdir build) else (mkdir build)",
"copy_assets_win": "@powershell Copy-Item -Path ^(\\\"src\\Install_NodeJS_Modules.bat\\\",\\\"src\\Run.bat\\\",\\\"src\\whitelist.json\\\",\\\"package.json\\\",\\\"LICENSE\\\",\\\"README.md\\\"^) -Destination \"build\" -Recurse",
"build_win": "npm run clean_win && npm run mkdir_win 1>nul && node node_modules\\typescript\\bin\\tsc -p tsconfig.json && npm run copy_assets_win 1>nul && node modify-package.js"
}
}