diff --git a/README.md b/README.md index ada00a7..8e2d2c9 100644 --- a/README.md +++ b/README.md @@ -219,8 +219,10 @@ Error: this is a demo This repo contains both automated tests for node and manual tests for the browser. The automated tests can be run using mocha (type `mocha` in the root directory). To run the manual tests: * Build the tests using `build.js` -* Visit `amd-test`, `browser-test`, and `browserify-test` using the HTTP protocol (`python -m SimpleHTTPServer` can be used on OS X) - * The test `browserify-test` currently isn't working due to a bug with browserify. See pull request #66 for details. +* Launch the HTTP server (`npm run serve-tests`) and visit + * http://127.0.0.1:1336/amd-test + * http://127.0.0.1:1336/browser-test + * http://127.0.0.1:1336/browserify-test - **Currently not working** due to a bug with browserify (see [pull request #66](https://github.com/evanw/node-source-map-support/pull/66) for details). * For `header-test`, run `server.js` inside that directory and visit http://127.0.0.1:1337/ ## License diff --git a/package.json b/package.json index 9d17a45..6200f0a 100644 --- a/package.json +++ b/package.json @@ -5,14 +5,16 @@ "main": "./source-map-support.js", "scripts": { "build": "node build.js", + "serve-tests": "http-server -p 1336", "test": "mocha" }, "dependencies": { "source-map": "0.1.32" }, "devDependencies": { - "coffee-script": "1.7.1", "browserify": "3.44.2", + "coffee-script": "1.7.1", + "http-server": "^0.8.5", "mocha": "1.18.2" }, "repository": {