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'", | 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", | 7 "bash:css": "node-sass --output $1 $0", |
| 8 "bashForTest:js": "mkdir -p smoke && bash -c 'cp -R ./tests/{locale,backgrou
nd.html,$0.*} ./smoke'", |
| 9 "bundleTest:js": "bash -c 'echo \"/* eslint-disable */$(browserify --node ./
tests/$0.js)\">./smoke/$0.js'", |
8 "lint": "npm run lint:js", | 10 "lint": "npm run lint:js", |
9 "lint:js": "eslint ./*.js ./lib/*.js ./ext/*.js", | 11 "lint:js": "eslint ./*.js ./lib/*.js ./ext/*.js", |
10 "prepare": "python2 ensure_dependencies.py", | 12 "prepare": "python2 ensure_dependencies.py", |
11 "start": "http-server & npm run watch", | 13 "start": "http-server & npm run watch", |
12 "bundle": "npm run bundle:desktop-options.js && npm run bundle:desktop-optio
ns.css", | 14 "bundle": "npm run bundle:desktop-options.js && npm run bundle:desktop-optio
ns.css", |
13 "bundle:desktop-options.css": "npm run bash:css ./css/desktop-options.scss .
/skin/desktop-options.css", | 15 "bundle:desktop-options.css": "npm run bash:css ./css/desktop-options.scss .
/skin/desktop-options.css", |
14 "bundle:desktop-options.js": "npm run bash:js ./js/desktop-options.js ./desk
top-options.js", | 16 "bundle:desktop-options.js": "npm run bash:js ./js/desktop-options.js ./desk
top-options.js", |
15 "watch": "npm run watch:desktop-options.js & npm run watch:desktop-options.c
ss", | 17 "watch": "npm run watch:desktop-options.js & npm run watch:desktop-options.c
ss", |
16 "watch:desktop-options.css": "watch 'npm run bundle:desktop-options.css' ./c
ss", | 18 "watch:desktop-options.css": "watch 'npm run bundle:desktop-options.css' ./c
ss", |
17 "watch:desktop-options.js": "watch 'npm run bundle:desktop-options.js' ./js"
, | 19 "watch:desktop-options.js": "watch 'npm run bundle:desktop-options.js' ./js"
, |
| 20 "test": "npm run test:io-element.js && http-server", |
| 21 "test:io-element.js": "npm run bashForTest:js io-element && npm run bundleTe
st:js io-element", |
18 "postinstall": "npm run bundle" | 22 "postinstall": "npm run bundle" |
19 }, | 23 }, |
20 "devDependencies": { | 24 "dependencies": { |
21 "browserify": "^16.1.0", | 25 "browserify": "^16.1.0", |
| 26 "document-register-element": "^1.7.2", |
22 "eslint": "^4.16.0", | 27 "eslint": "^4.16.0", |
23 "eslint-config-eyeo": "^2.0.0", | 28 "eslint-config-eyeo": "^2.0.0", |
24 "http-server": "^0.11.1", | 29 "http-server": "^0.11.1", |
| 30 "hyperhtml-element": "^1.5.0", |
25 "node-sass": "^4.7.2", | 31 "node-sass": "^4.7.2", |
26 "watch": "^1.0.2" | 32 "watch": "^1.0.2" |
27 } | 33 } |
28 } | 34 } |
OLD | NEW |