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

Side by Side Diff: package.json

Issue 29441570: Issue 5257 - Add an eslint target to npm run and run it posttest. (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore/
Patch Set: Created May 18, 2017, 3:53 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld