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" |
} |
} |