OLD | NEW |
1 { | 1 { |
2 "name": "adblockpluschrome", | 2 "name": "adblockpluschrome", |
3 "repository": "https://hg.adblockplus.org/adblockpluschrome", | 3 "repository": "https://hg.adblockplus.org/adblockpluschrome", |
4 "license": "GPL-3.0", | 4 "license": "GPL-3.0", |
5 "dependencies": {}, | 5 "dependencies": {}, |
6 "devDependencies": { | 6 "devDependencies": { |
7 "//": [ | 7 "//": [ |
8 "'dmg', 'extract-zip' and 'ncp' are needed by `download_*.js` modules", | 8 "'dmg', 'extract-zip' and 'ncp' are needed by `download_*.js` modules", |
9 "in adblockpluscore/test/.", | 9 "in adblockpluscore/test/.", |
10 "The chromedriver version was pinned to that exact version, due tu in-", | 10 "The chromedriver version was pinned to that exact version, due tu in-", |
11 "compatibilities with the configured chromium version and newer drivers." | 11 "compatibilities with the configured chromium version and newer drivers." |
12 ], | 12 ], |
13 "chromedriver": "2.36.0", | 13 "chromedriver": "2.36.0", |
14 "dmg": "^0.1.0", | 14 "dmg": "^0.1.0", |
15 "eslint": "^5.1.0", | 15 "eslint": "^5.1.0", |
16 "eslint-config-eyeo": "^2.1.0", | 16 "eslint-config-eyeo": "^2.1.0", |
17 "extract-zip": "^1.6.5", | 17 "extract-zip": "^1.6.5", |
18 "geckodriver": "^1.9.0", | 18 "geckodriver": "^1.9.0", |
19 "ncp": "^2.0.0", | 19 "ncp": "^2.0.0", |
20 "mocha": "^5.2.0", | 20 "mocha": "^5.2.0", |
21 "selenium-webdriver": "^3.6.0" | 21 "selenium-webdriver": "^3.6.0" |
22 }, | 22 }, |
23 "scripts": { | 23 "scripts": { |
| 24 "pretest": "python ensure_dependencies.py", |
24 "lint": "eslint *.js lib/ qunit/ ext/ test/", | 25 "lint": "eslint *.js lib/ qunit/ ext/ test/", |
25 "test": "mocha", | 26 "test": "mocha" |
26 "posttest": "npm run lint" | |
27 } | 27 } |
28 } | 28 } |
OLD | NEW |