Skip to content

Add package.json with handy npm scripts#170

Open
starcraft66 wants to merge 1 commit intofr1kin:masterfrom
starcraft66:feature/npm-scripts
Open

Add package.json with handy npm scripts#170
starcraft66 wants to merge 1 commit intofr1kin:masterfrom
starcraft66:feature/npm-scripts

Conversation

@starcraft66
Copy link
Copy Markdown
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
Copy Markdown
Owner

fr1kin commented Feb 5, 2020

👺

Comment thread package.json
"cheat",
"java"
],
"author": "Fr1kin Babbaj",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

😹

Comment thread package.json
"description": "hax 4 forge",
"main": "index.js",
"scripts": {
"setup-decompilation-workspace": "scripts/update",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

😹

Comment thread package.json
"main": "index.js",
"scripts": {
"setup-decompilation-workspace": "scripts/update",
"compile-forgehax": "scripts/cibuild"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

😹

Comment thread package.json
},
"keywords": [
"minecraft",
"cheat",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

😹

Comment thread package.json
],
"author": "Fr1kin Babbaj",
"license": "MIT",
"bugs": {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

😹

Comment thread package.json
"bugs": {
"url": "https://github.com/Fr1kin/ForgeHax/issues"
},
"homepage": "https://github.com/Fr1kin/ForgeHax#readme"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

😹

Comment thread package.json
"type": "git",
"url": "git+https://github.com/Fr1kin/ForgeHax.git"
},
"keywords": [
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

😹

Comment thread package.json
"setup-decompilation-workspace": "scripts/update",
"compile-forgehax": "scripts/cibuild"
},
"repository": {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

😹

Comment thread package.json
"name": "forgehax",
"version": "2.9.0",
"description": "hax 4 forge",
"main": "index.js",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

😹

Comment thread package.json
@@ -0,0 +1,25 @@
{
"name": "forgehax",
"version": "2.9.0",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

😹

Comment thread package.json
@@ -0,0 +1,25 @@
{
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

😹

Comment thread package.json
"license": "MIT",
"bugs": {
"url": "https://github.com/Fr1kin/ForgeHax/issues"
},
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

😹

Comment thread package.json
"repository": {
"type": "git",
"url": "git+https://github.com/Fr1kin/ForgeHax.git"
},
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

😹

Comment thread package.json
},
"repository": {
"type": "git",
"url": "git+https://github.com/Fr1kin/ForgeHax.git"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

😹

Comment thread package.json
"compile-forgehax": "scripts/cibuild"
},
"repository": {
"type": "git",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

😹

Comment thread package.json
"scripts": {
"setup-decompilation-workspace": "scripts/update",
"compile-forgehax": "scripts/cibuild"
},
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

😹

Comment thread package.json
"version": "2.9.0",
"description": "hax 4 forge",
"main": "index.js",
"scripts": {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

😹

Comment thread package.json
{
"name": "forgehax",
"version": "2.9.0",
"description": "hax 4 forge",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

😹

Comment thread package.json
@@ -0,0 +1,25 @@
{
"name": "forgehax",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

😹

Comment thread package.json
"minecraft",
"cheat",
"java"
],
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

😹

Comment thread package.json
"java"
],
"author": "Fr1kin Babbaj",
"license": "MIT",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

😹

Comment thread package.json
"author": "Fr1kin Babbaj",
"license": "MIT",
"bugs": {
"url": "https://github.com/Fr1kin/ForgeHax/issues"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

😹

Comment thread package.json
"url": "https://github.com/Fr1kin/ForgeHax/issues"
},
"homepage": "https://github.com/Fr1kin/ForgeHax#readme"
}
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

😹

@x4e
Copy link
Copy Markdown

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