OLD | NEW |
1 { | 1 { |
2 "name": "adblockplusui", | 2 "name": "adblockplusui", |
3 "private": true, | 3 "private": true, |
4 "description": "Adblock Plus UI", | 4 "description": "Adblock Plus UI", |
5 "scripts": { | 5 "scripts": { |
| 6 "bash:js": "eslint ./js/**/*.js && bash -c 'echo \"/* eslint-disable */$(bro
wserify --node --no-bundle-external $0)\">$1'", |
| 7 "bash:css": "node-sass --output $1 $0", |
6 "lint": "npm run lint:js", | 8 "lint": "npm run lint:js", |
7 "lint:js": "eslint ./*.js ./lib/*.js ./ext/*.js", | 9 "lint:js": "eslint ./*.js ./lib/*.js ./ext/*.js", |
8 "prepare": "python2 ensure_dependencies.py", | 10 "prepare": "python2 ensure_dependencies.py", |
9 "start": "http-server & npm run watch", | 11 "start": "http-server & npm run watch", |
10 "bundle": "npm run bundle:desktop-options.js && npm run bundle:desktop-optio
ns.css", | 12 "bundle": "npm run bundle:desktop-options.js && npm run bundle:desktop-optio
ns.css", |
11 "bundle:desktop-options.css": "node-sass --output skin css/desktop-options.s
css", | 13 "bundle:desktop-options.css": "npm run bash:css ./css/desktop-options.scss .
/skin/desktop-options.css", |
12 "bundle:desktop-options.js": "eslint ./js/**/*.js && echo '/* eslint-disable
*/// BUNDLED FILE'>./desktop-options.js && browserify --node --no-bundle-extern
al js/desktop-options.js >> ./desktop-options.js", | 14 "bundle:desktop-options.js": "npm run bash:js ./js/desktop-options.js ./desk
top-options.js", |
13 "watch": "npm run watch:desktop-options.js & npm run watch:desktop-options.c
ss", | 15 "watch": "npm run watch:desktop-options.js & npm run watch:desktop-options.c
ss", |
14 "watch:desktop-options.css": "watch 'npm run bundle:desktop-options.css' ./c
ss", | 16 "watch:desktop-options.css": "watch 'npm run bundle:desktop-options.css' ./c
ss", |
15 "watch:desktop-options.js": "watch 'npm run bundle:desktop-options.js' ./js"
, | 17 "watch:desktop-options.js": "watch 'npm run bundle:desktop-options.js' ./js"
, |
16 "postinstall": "npm run bundle" | 18 "postinstall": "npm run bundle" |
17 }, | 19 }, |
18 "devDependencies": { | 20 "devDependencies": { |
19 "browserify": "^16.1.0", | 21 "browserify": "^16.1.0", |
20 "eslint": "^4.16.0", | 22 "eslint": "^4.16.0", |
21 "eslint-config-eyeo": "^2.0.0", | 23 "eslint-config-eyeo": "^2.0.0", |
22 "http-server": "^0.11.1", | 24 "http-server": "^0.11.1", |
23 "node-sass": "^4.7.2", | 25 "node-sass": "^4.7.2", |
24 "watch": "^1.0.2" | 26 "watch": "^1.0.2" |
25 } | 27 } |
26 } | 28 } |
OLD | NEW |