| 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 "chrome-remote-interface": "^0.20.0", | 7 "chrome-remote-interface": "^0.20.0", |
| 8 "eslint": "^3.19.0", | |
| 9 "eslint-config-eyeo": "1.0.4", | |
| 8 "nodeunit": "0.9.1", | 10 "nodeunit": "0.9.1", |
| 9 "sandboxed-module": "2.0.3", | 11 "sandboxed-module": "2.0.3", |
| 10 "unzip": "^0.1.11" | 12 "unzip": "^0.1.11" |
| 11 }, | 13 }, |
| 12 "scripts": { | 14 "scripts": { |
| 13 "test": "node test_runner.js" | 15 "eslint": "eslint *.js lib test chrome", |
|
Wladimir Palant
2017/05/19 15:52:31
IMHO, this will run the global ESLint and not the
hub
2017/05/19 16:47:31
$ which eslint
eslint not found
If I echo $PATH f
Wladimir Palant
2017/05/19 18:12:31
Good to know, definitely saves some complexity her
| |
| 16 "test": "node test_runner.js", | |
| 17 "posttest": "npm run eslint" | |
| 14 } | 18 } |
| 15 } | 19 } |
| OLD | NEW |