-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
101 lines (101 loc) · 4.75 KB
/
package.json
File metadata and controls
101 lines (101 loc) · 4.75 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"name": "ftc-maintenance-sripts",
"repository": "https://github.com/technototes/Decode2025.git",
"author": "Kevin Frei <[email protected]>",
"license": "CC0-1.0",
"type": "module",
"scripts": {
"- // a-": "",
"- // a ": "These are all for fast building 'stuff':",
"- // a+": "",
"fast": "bun run gradle :Twenty403:assembleDebug :Sixteen750:assembleDebug :Blackbird:assembleDebug :SwerveBot:assembleDebug :CrossBones:assembleDebug",
"fast16": "bun run gradle :Sixteen750:assembleDebug",
"fast20": "bun run gradle :Twenty403:assembleDebug",
"fastlb": "bun run gradle :LearnBot:assembleDebug",
"fastbb": "bun run gradle :Blackbird:assembleDebug",
"fastsw": "bun run gradle :SwerveBot:assembleDebug",
"fastcb": "bun run gradle :CrossBones:assembleDebug",
"- // b-": "",
"- // b ": "These are all for 'fullly' building 'stuff':",
"- // b+": "",
"build": "bun run gradle :Sixteen750:build :Twenty403:build :Blackbird:build :SwerveBot:build :CrossBones:build",
"build16": "bun run gradle :Sixteen750:build",
"build20": "bun run gradle :Twenty403:build",
"buildlb": "bun run gradle :LearnBot:build",
"buildbb": "bun run gradle :Blackbird:build",
"buildsw": "bun run gradle :SwerveBot:build",
"buildcb": "bun run gradle :CrossBones:build",
"full": "bun run gradle build",
"- // c-": "",
"- // c ": "These scripts are for formatting code/scripts/markdown stuff:",
"- // c+": "",
"format": "tools format bun",
"foramt": "tools format bun",
"force-format": "prettier -w \"Twenty403/**/*.java\" \"Sixteen750/**/*.java\" \"Blackbird/**/*.java\" \"scripts/**/*.ts*\"",
"- // d-": "",
"- // d ": "This will toggle using TechnoLib locally or from Maven",
"libflip": "bun run scripts/flip.ts lib",
"- // e-": "",
"- // e": "Disable/enable 'all' bots & subbuilds",
"botflip": "bun run scripts/flip.ts bot",
"- // f-": "",
"- // f ": "Stuff for connecting/disconnecting from the bot",
"- // f+": "",
"connect": "bun run adb connect 192.168.43.1:5555",
"disconnect": "bun run adb disconnect 192.168.43.1:5555",
"discall": "bun run adb disconnect",
"- // g-": "",
"- // g ": "Open the FTC Panels web interface",
"panel": "bun run open http://192.168.43.1:8001",
"- // h-": "",
"- // h ": "platform-specific commands",
"- // h+": "",
"gradle": "./gradlew",
"adb": "bun run os adb",
"adb:win": "./scripts/adb.cmd",
"adb:mac": "~/Library/Android/sdk/platform-tools/adb",
"adb:lin": "~/Android/Sdk/platform-tools/adb",
"open": "bun run os open",
"open:win": "cmd /c start \"\"",
"open:mac": "open",
"open:lin": "xdg-open",
"- // j-": "",
"- // j ": "This is the script that presents the students with a workflow",
"work": "bun run scripts/workflow.ts",
"- // y-": "",
"- // y ": "This runs a different script per os (run-script-os isn't bun-compatible)",
"os": "bun run scripts/os.ts",
"- // z-": "",
"- // z ": "Type check the scripts (BUG: It's typechecking node_modules too!)",
"types": "tsc --noEmit -p tsconfig.json",
"- //": "This is just a shortcut helper script for now to launch the pedropath visualizer",
"pv": "bun run open http://localhost:3000 && cd pedroviz && bun install && bun pvdev",
"- // graph-": "",
"- // graph1": "This generates class graphs for the various codebases. Paste it into https://mermaid.live to visualize",
"- // graph2": "First build the java2umltext tool with './gradlew :java2umltext:build' (or bun build)",
"- // graph3": " but you probably need to umlflip first to enable all the code",
"- // graph4": "Then you can use the graph* commands below to generate the graphs",
"umlflip": "bun run scripts/flip.ts uml",
"graphlib": "java -jar scripts/java2umltext/build/libs/java2umltext-0.1.0.jar MERMAID TechnoLib/RobotLibrary > tl-classgraph.mmd",
"graph16": "java -jar scripts/java2umltext/build/libs/java2umltext-0.1.0.jar MERMAID Sixteen750 > 16750-classgraph.mmd",
"graph20": "java -jar scripts/java2umltext/build/libs/java2umltext-0.1.0.jar MERMAID Twenty403 > 20403-classgraph.mmd",
"graphlb": "java -jar scripts/java2umltext/build/libs/java2umltext-0.1.0.jar MERMAID LearnBot > learnbot-classgraph.mmd",
"graph": "bun run graphlib && bun run graph16 && bun run graph20 && bun run graphlb"
},
"dependencies": {
"@freik/containers": "^0.4.4",
"@freik/typechk": "^0.9.0",
"@freik/workspace": "^0.6.5",
"prettier": "^3.7.4",
"prettier-plugin-java": "^2.7.7",
"prettier-plugin-organize-imports": "^4.3.0",
"pretty-quick": "^4.2.2",
"simple-git": "^3.30.0",
"simple-git-hooks": "^2.13.1",
"typescript": "^5.9.3"
},
"devDependencies": {
"@types/bun": "1.3.5"
},
"private": true
}