Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: package.json

Issue 29860555: Issue 6717 - Part 2: run qunit in headless firefox (Closed) Base URL: https://hg.adblockplus.org/adblockpluschrome/file/3270e924ba9f
Patch Set: Created Aug. 23, 2018, 3:30 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dependencies ('k') | test/firefox.js » ('j') | test/firefox.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: package.json
diff --git a/package.json b/package.json
index 63e144b1babbd3e1819169d956af067e2159b858..2c518c3e2f9ad91eedc81b41be921c957522ce04 100644
--- a/package.json
+++ b/package.json
@@ -4,11 +4,23 @@
"license": "GPL-3.0",
"dependencies": {},
"devDependencies": {
+ "//": [
+ "'dmg', 'extract-zip' and 'ncp' are needed by the module",
+ "adblockpluscore/test/download_firefox.js."
+ ],
+ "dmg": "^0.1.0",
"eslint": "^5.1.0",
- "eslint-config-eyeo": "^2.1.0"
+ "eslint-config-eyeo": "^2.1.0",
+ "extract-zip": "^1.6.5",
+ "geckodriver": "^1.9.0",
+ "ncp": "^2.0.0",
+ "nodeunit": "^0.9.1",
+ "selenium-webdriver": "^3.6.0"
},
"scripts": {
- "lint": "eslint *.js lib/ qunit/ ext/",
+ "lint": "eslint *.js lib/ qunit/ ext/ test/",
+ "run_tests": "nodeunit test/*",
+ "test": "_run () { python build.py devenv -t $1; npm run run_tests ; } ; _run",
Sebastian Noack 2018/08/23 16:38:44 I'm wondering why do we need to define a sheel scr
tlucas 2018/08/23 18:56:02 Making it configurable was the reason to do this,
Sebastian Noack 2018/08/23 21:54:20 It seems we have to touch the CI configuration aga
tlucas 2018/08/24 10:25:08 Done.
"posttest": "npm run lint"
}
}
« no previous file with comments | « dependencies ('k') | test/firefox.js » ('j') | test/firefox.js » ('J')

Powered by Google App Engine
This is Rietveld