From 961dc2472f0adccee8eda26122ff1a74c664fe76 Mon Sep 17 00:00:00 2001 From: T F Date: Tue, 20 Jun 2017 11:24:52 -0700 Subject: [PATCH] No need to install brunch globally (#2352) --- README.md | 3 +-- package.json | 4 +++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 14f2bdbb9c..26632a2bbb 100644 --- a/README.md +++ b/README.md @@ -45,8 +45,7 @@ To create projects outside of the `installer/` directory, add the latest archive ```bash $ npm install -$ npm install -g brunch -$ brunch watch +$ npm run watch ``` ### Building docs from source diff --git a/package.json b/package.json index 517b3b4023..6759ca4136 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,8 @@ "files": ["README.md", "LICENSE.md", "package.json", "priv/static/phoenix.js", "assets/js/phoenix.js"], "scripts": { "test": "./node_modules/.bin/mocha ./assets/test/**/*.js --compilers js:babel-register -r jsdom-global/register", - "docs": "documentation build assets/js/phoenix.js -f html -o doc/js" + "docs": "documentation build assets/js/phoenix.js -f html -o doc/js", + "watch": "brunch watch", + "build": "brunch build" } }