Left: | ||
Right: |
OLD | NEW |
---|---|
1 { | 1 { |
2 "name": "adblockpluscore", | 2 "name": "adblockpluscore", |
3 "repository": "https://hg.adblockplus.org/adblockpluscore", | 3 "repository": "https://hg.adblockplus.org/adblockpluscore", |
4 "license": "GPL-3.0", | 4 "license": "GPL-3.0", |
5 "dependencies": {}, | 5 "dependencies": {}, |
6 "devDependencies": { | 6 "devDependencies": { |
7 "sandboxed-module": "2.0.3", | 7 "node-qunit-phantomjs": "^1.5.0", |
kzar
2017/01/09 08:28:43
I wonder what node-qunit-phantomjs really adds? Co
Felix Dahlke
2017/01/10 09:16:47
QUnit tests run in an HTML page, we have to extrac
kzar
2017/01/10 11:05:33
Well it seems that most of the work is actually do
Felix Dahlke
2017/01/10 13:27:32
I guess we can, but given how qunit-phantomjs-runn
kzar
2017/01/11 04:25:28
Well the point is to minimise dependencies. One pa
Felix Dahlke
2017/01/11 10:06:02
It's not that simple. We should aim to minimise de
| |
8 "nodeunit": "0.9.1" | 8 "nodeunit": "0.9.1", |
9 "qunitjs": "^2.1.0", | |
kzar
2017/01/09 08:28:42
IMO seems kind of a hack to use a nodejs script fr
Felix Dahlke
2017/01/10 09:16:48
qunitjs is a pure frontend dependency in my unders
kzar
2017/01/10 11:05:33
Fair enough.
| |
10 "sandboxed-module": "2.0.3" | |
9 }, | 11 }, |
10 "scripts": { | 12 "scripts": { |
11 "test": "node test_runner.js" | 13 "test": "npm run test-node; npm run test-browser", |
kzar
2017/01/09 08:28:43
IMO we should instead modify test_runner.js. It wo
Felix Dahlke
2017/01/10 09:16:48
Done.
| |
14 "test-node": "node test_runner.js", | |
15 "test-browser": "node_modules/node-qunit-phantomjs/bin/node-qunit-phantomjs test/browser/index.html" | |
12 } | 16 } |
13 } | 17 } |
OLD | NEW |