diff --git a/README.md b/README.md index 7ce76b9d9..d610f3752 100644 --- a/README.md +++ b/README.md @@ -7,9 +7,8 @@ Create authentic looking D&D homebrews using only markdown. Check it out [here]( 1. Clone down the repo 1. In your terminal, head to the repo 1. Run `npm install` to get all the dependacies -2. Run `npm install -g gulp` to install the gulp build tool -1. Run `gulp fresh`, this will compile and build all the needed libraries (this only has to be done once, unless you add more libs) -1. Run `gulp` to run the project locally. Should be accessible at `localhost:8000` +1. Run `npm run build`, this will compile and build all the needed libraries (this only has to be done once, unless you add more libs) +1. Run `npm run watch` to run the project locally. Should be accessible at `localhost:8000` 2. Any changes to files within the proejct will be detected and the propject will automatically re-build **Notes:** If you'd like to create and edit homebrews, you'll need to have MongoDB installed and running. @@ -34,4 +33,4 @@ You can check out the changelog [here](https://github.com/stolksdorf/homebrewery ### license -This project licensed under [MIT](./license) \ No newline at end of file +This project licensed under [MIT](./license) diff --git a/package.json b/package.json index b00abd3d2..9d45fdc78 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,8 @@ "description": "Create authentic looking D&D homebrews using only markdown", "version": "2.3.0", "scripts": { + "build": "node_modules/.bin/gulp fresh", + "watch": "node_modules/.bin/gulp", "postinstall": "gulp prod", "start": "node server.js" },