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 "lint": "npm run lint:js", | 6 "lint": "npm run lint:js", |
7 "lint:js": "eslint ./*.js ./lib/*.js ./ext/*.js", | 7 "lint:js": "eslint ./*.js ./lib/*.js ./ext/*.js", |
8 "prepare": "python2 ensure_dependencies.py", | 8 "prepare": "python2 ensure_dependencies.py", |
9 "start": "http-server" | 9 "start": "http-server & npm run watch", |
| 10 "bundle": "npm run bundle:desktop-options", |
| 11 "bundle:desktop-options": "eslint ./js/**/*.js && echo '/* eslint-disable */
// BUNDLED FILE'>./desktop-options.js && browserify --node --no-bundle-external
js/desktop-options.js >> ./desktop-options.js", |
| 12 "watch": "npm run watch:desktop-options", |
| 13 "watch:desktop-options": "watch 'npm run bundle:desktop-options' ./js", |
| 14 "postinstall": "npm run bundle" |
10 }, | 15 }, |
11 "devDependencies": { | 16 "devDependencies": { |
| 17 "browserify": "^16.1.0", |
12 "eslint": "^4.16.0", | 18 "eslint": "^4.16.0", |
13 "eslint-config-eyeo": "^2.0.0", | 19 "eslint-config-eyeo": "^2.0.0", |
14 "http-server": "^0.11.1" | 20 "http-server": "^0.11.1", |
| 21 "watch": "^1.0.2" |
15 } | 22 } |
16 } | 23 } |
OLD | NEW |