From 036a6cf3109f4ee50f8ae7a1cd724d0b0888d7f7 Mon Sep 17 00:00:00 2001 From: Brian Ford Date: Mon, 4 Aug 2014 15:56:26 -0700 Subject: [PATCH] docs: add new build script --- README.md | 2 +- package.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 194964e..1f4da4b 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ https://chrome.google.com/webstore/detail/ighdmehidhipcmcojjgiloacoafjmpfk 1. Clone the repository: `git clone git://github.com/angular/angularjs-batarang` 2. Install the bower dependencies: `bower install` -3. Build the inject script: `node scripts/inline.js` +3. Build the inject script: `npm run build` 4. Navigate to `chrome://chrome/extensions/` and enable Developer Mode. 5. Choose "Load unpacked extension" 6. In the dialog, open the directory you just cloned. diff --git a/package.json b/package.json index c4c10f3..a78f145 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,8 @@ }, "devDependencies": {}, "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "build": "browserify hint.js -o hint.bundle.js" }, "repository": { "type": "git",