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` 1. Clone the repository: `git clone git://github.com/angular/angularjs-batarang`
2. Install the bower dependencies: `bower install` 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. 4. Navigate to `chrome://chrome/extensions/` and enable Developer Mode.
5. Choose "Load unpacked extension" 5. Choose "Load unpacked extension"
6. In the dialog, open the directory you just cloned. 6. In the dialog, open the directory you just cloned.

@ -8,7 +8,8 @@
}, },
"devDependencies": {}, "devDependencies": {},
"scripts": { "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": { "repository": {
"type": "git", "type": "git",