Index: package.json |
=================================================================== |
new file mode 100644 |
--- /dev/null |
+++ b/package.json |
@@ -0,0 +1,16 @@ |
+{ |
+ "name": "adblockplusui", |
+ "private": true, |
+ "description": "Adblock Plus UI", |
+ "scripts": { |
+ "lint": "npm run lint:js", |
+ "lint:js": "eslint ./*.js ./lib/*.js ./ext/*.js", |
+ "prepare": "python2 ensure_dependencies.py", |
+ "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.
|
+ }, |
+ "devDependencies": { |
+ "eslint": "^4.16.0", |
+ "eslint-config-eyeo": "^2.0.0", |
+ "http-server": "^0.11.1" |
+ } |
+} |