Left: | ||
Right: |
OLD | NEW |
---|---|
(Empty) | |
1 { | |
2 "name": "adblockplusui", | |
3 "private": true, | |
4 "description": "Adblock Plus UI", | |
5 "scripts": { | |
6 "lint": "npm run lint:js", | |
7 "lint:js": "eslint ./*.js ./lib/*.js ./ext/*.js", | |
8 "prepare": "python2 ensure_dependencies.py", | |
9 "start": "http-server \"${@:2}\"" | |
saroyanm
2018/02/07 11:48:26
I'm getting an error "sh: 1: Bad substitution"
wh
saroyanm
2018/02/07 12:08:16
Bash version -> "4.3.11(1)-release (x86_64-pc-linu
saroyanm
2018/02/07 14:02:04
I've updated to 4.4.0(1)-release but still same i
saroyanm
2018/02/07 14:21:41
Note: "start": "http-server '${@:2}'"
Fixes the is
a.giammarchi
2018/02/07 14:30:04
OK this is an issue with npm using sh, not bash, a
saroyanm
2018/02/07 14:31:42
Sounds good, thanks.
| |
10 }, | |
11 "devDependencies": { | |
12 "eslint": "^4.16.0", | |
13 "eslint-config-eyeo": "^2.0.0", | |
14 "http-server": "^0.11.1" | |
15 } | |
16 } | |
OLD | NEW |