Index: package.json |
=================================================================== |
--- a/package.json |
+++ b/package.json |
@@ -1,13 +1,17 @@ |
{ |
"name": "adblockpluscore", |
"repository": "https://hg.adblockplus.org/adblockpluscore", |
"license": "GPL-3.0", |
"dependencies": {}, |
"devDependencies": { |
- "sandboxed-module": "2.0.3", |
- "nodeunit": "0.9.1" |
+ "node-qunit-phantomjs": "^1.5.0", |
+ "nodeunit": "0.9.1", |
+ "qunitjs": "^2.1.0", |
+ "sandboxed-module": "2.0.3" |
}, |
"scripts": { |
- "test": "node test_runner.js" |
+ "test": "npm run test-node; npm run test-browser", |
+ "test-node": "node test_runner.js", |
+ "test-browser": "node_modules/node-qunit-phantomjs/bin/node-qunit-phantomjs test/browser/index.html" |
} |
} |