-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add package.json with handy npm scripts #170
base: master
Are you sure you want to change the base?
Conversation
👺 |
"cheat", | ||
"java" | ||
], | ||
"author": "Fr1kin Babbaj", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😹
"description": "hax 4 forge", | ||
"main": "index.js", | ||
"scripts": { | ||
"setup-decompilation-workspace": "scripts/update", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😹
"main": "index.js", | ||
"scripts": { | ||
"setup-decompilation-workspace": "scripts/update", | ||
"compile-forgehax": "scripts/cibuild" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😹
}, | ||
"keywords": [ | ||
"minecraft", | ||
"cheat", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😹
], | ||
"author": "Fr1kin Babbaj", | ||
"license": "MIT", | ||
"bugs": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😹
"bugs": { | ||
"url": "https://github.com/Fr1kin/ForgeHax/issues" | ||
}, | ||
"homepage": "https://github.com/Fr1kin/ForgeHax#readme" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😹
"type": "git", | ||
"url": "git+https://github.com/Fr1kin/ForgeHax.git" | ||
}, | ||
"keywords": [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😹
"setup-decompilation-workspace": "scripts/update", | ||
"compile-forgehax": "scripts/cibuild" | ||
}, | ||
"repository": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😹
"name": "forgehax", | ||
"version": "2.9.0", | ||
"description": "hax 4 forge", | ||
"main": "index.js", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😹
@@ -0,0 +1,25 @@ | |||
{ | |||
"name": "forgehax", | |||
"version": "2.9.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😹
@@ -0,0 +1,25 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😹
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/Fr1kin/ForgeHax/issues" | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😹
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/Fr1kin/ForgeHax.git" | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😹
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/Fr1kin/ForgeHax.git" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😹
"compile-forgehax": "scripts/cibuild" | ||
}, | ||
"repository": { | ||
"type": "git", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😹
"scripts": { | ||
"setup-decompilation-workspace": "scripts/update", | ||
"compile-forgehax": "scripts/cibuild" | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😹
"version": "2.9.0", | ||
"description": "hax 4 forge", | ||
"main": "index.js", | ||
"scripts": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😹
{ | ||
"name": "forgehax", | ||
"version": "2.9.0", | ||
"description": "hax 4 forge", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😹
@@ -0,0 +1,25 @@ | |||
{ | |||
"name": "forgehax", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😹
"minecraft", | ||
"cheat", | ||
"java" | ||
], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😹
"java" | ||
], | ||
"author": "Fr1kin Babbaj", | ||
"license": "MIT", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😹
"author": "Fr1kin Babbaj", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/Fr1kin/ForgeHax/issues" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😹
"url": "https://github.com/Fr1kin/ForgeHax/issues" | ||
}, | ||
"homepage": "https://github.com/Fr1kin/ForgeHax#readme" | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😹
Maybe we can expand this into offering forgehax as a public npm package? |
Running the shell scripts in the
scripts
folder manually is an outdated and annoying way of doing things.This PR adds support for handy npm run scripts that will allow ForgeHax developers to easily run the CI deployment scripts locally in a user friendly way.
Another advantage of introduceing
npm
into the ForgeHax development workflow is that it will make ForgeHax use state of the art web technologies and thus render the entire project web scale.With this PR, you can easily setup the MCP development workspace by running:
To compile a release
jar
version of ForgeHax, run: