| Index: package.json |
| =================================================================== |
| new file mode 100644 |
| --- /dev/null |
| +++ b/package.json |
| @@ -0,0 +1,26 @@ |
| +{ |
| + "name": "adblockplusui", |
| + "version": "0.0.0", |
|
Thomas Greiner
2018/01/23 19:22:36
Technically, we haven't decided on how we want to
a.giammarchi
2018/01/24 10:52:37
makes sense
|
| + "description": "AsBlock Plus UI", |
|
Thomas Greiner
2018/01/23 19:22:35
Typo: Replace "AsBlock Plus UI" with "Adblock Plus
a.giammarchi
2018/01/24 10:52:37
AsBlock ... gosh, 1 word, 2 errors ... coffee here
|
| + "scripts": { |
| + "lint": "npm run lint:css && npm run lint:js", |
| + "lint:css": "stylelint ./skin", |
|
Thomas Greiner
2018/01/23 19:22:35
Detail: You're specifying "*.js" for JavaScript li
a.giammarchi
2018/01/24 10:52:37
skin has no subfolders while eslint was going thro
Thomas Greiner
2018/01/24 11:56:33
The latter sounds most consistent in that case (i.
|
| + "lint:js": "eslint ./*.js ./lib/*.js ./ext/*.js", |
| + "prepare": "python2 ensure_dependencies.py", |
| + "start": "http-server $1" |
| + }, |
| + "devDependencies": { |
| + "eslint": "^4.16.0", |
| + "eslint-config-eyeo": "^2.0.0", |
| + "eslint-config-medikoo-es5": "^1.4.7", |
| + "eslint-config-standard": "^11.0.0-beta.0", |
| + "eslint-plugin-import": "^2.8.0", |
| + "eslint-plugin-node": "^5.2.1", |
| + "eslint-plugin-promise": "^3.6.0", |
| + "eslint-plugin-standard": "^3.0.1", |
|
Thomas Greiner
2018/01/23 19:22:35
I get that we need both "eslint" and "eslint-confi
a.giammarchi
2018/01/24 10:52:36
Good point.
I've tried `eslint` as command and it
Thomas Greiner
2018/01/24 11:56:33
Thanks, I appreciate that. In case the issue still
|
| + "http-server": "^0.11.1", |
|
Thomas Greiner
2018/01/23 19:22:36
Since we're no longer using test_server.py, we sho
a.giammarchi
2018/01/24 10:52:37
differently from git, when you commit the lovely m
Thomas Greiner
2018/01/24 11:56:33
It's a bit more explicit in that regard, that's tr
|
| + "stylelint": "^8.4.0", |
| + "stylelint-config-eyeo": "*", |
| + "stylelint-config-recommended": "^2.0.1" |
|
Thomas Greiner
2018/01/24 15:40:35
Since you were able to remove "eslint-config-stand
|
| + } |
| +} |