docs: add new build script

test-unit-sauce
Brian Ford 10 years ago
parent 99ea8b5225
commit 036a6cf310

@ -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.

@ -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",