Skip to content
This repository was archived by the owner on May 9, 2023. It is now read-only.

Commit cfd483d

Browse files
Add cli
1 parent d20ff0d commit cfd483d

File tree

6 files changed

+280
-91
lines changed

6 files changed

+280
-91
lines changed

package-lock.json

Lines changed: 14 additions & 46 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
"publishConfig": {
1313
"access": "public"
1414
},
15+
"bin": {
16+
"minecraft_version": "./dist/bin.js"
17+
},
1518
"scripts": {
1619
"dev": "nodemon -e ts,js -w src/**/* src/api.ts",
1720
"search": "ts-node src/fetchVersion/index.ts",
@@ -37,7 +40,8 @@
3740
"express": "^4.18.1",
3841
"jsdom": "^20.0.0",
3942
"mongoose": "^6.5.2",
40-
"yaml": "^2.1.1"
43+
"yaml": "^2.1.1",
44+
"yargs": "^17.5.1"
4145
},
4246
"devDependencies": {
4347
"@types/adm-zip": "^0.5.0",
@@ -50,7 +54,6 @@
5054
"cli-color": "^2.0.3",
5155
"nodemon": "^2.0.19",
5256
"ts-node": "^10.9.1",
53-
"typescript": "^4.7.4",
54-
"yargs": "^17.5.1"
57+
"typescript": "^4.7.4"
5558
}
5659
}

0 commit comments

Comments
 (0)