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