Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

starcraft66
Copy link
Contributor

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:

npm run setup-decompilation-workspace

To compile a release jar version of ForgeHax, run:

npm run compile-forgehax

@fr1kin
Copy link
Owner

fr1kin commented Feb 5, 2020

👺

"cheat",
"java"
],
"author": "Fr1kin Babbaj",
Copy link
Collaborator

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",
Copy link
Collaborator

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"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😹

},
"keywords": [
"minecraft",
"cheat",
Copy link
Collaborator

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": {
Copy link
Collaborator

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"
Copy link
Collaborator

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": [
Copy link
Collaborator

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": {
Copy link
Collaborator

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",
Copy link
Collaborator

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",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😹

@@ -0,0 +1,25 @@
{
Copy link
Collaborator

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"
},
Copy link
Collaborator

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"
},
Copy link
Collaborator

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"
Copy link
Collaborator

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",
Copy link
Collaborator

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"
},
Copy link
Collaborator

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": {
Copy link
Collaborator

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",
Copy link
Collaborator

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",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😹

"minecraft",
"cheat",
"java"
],
Copy link
Collaborator

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",
Copy link
Collaborator

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"
Copy link
Collaborator

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"
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😹

@x4e
Copy link

x4e commented Feb 20, 2020

Maybe we can expand this into offering forgehax as a public npm package?

@0-x-2-2 0-x-2-2 added the d🤡b Dumb bitch label Feb 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants