-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
38 lines (38 loc) · 2.03 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
"name": "adblockplusui",
"private": true,
"description": "Adblock Plus UI",
"scripts": {
"bash:js": "eslint ./js/**/*.js && bash -c 'echo \"/* eslint-disable */$(browserify --node --no-bundle-external $0)\">$1'",
"bash:css": "bash -c 'node-sass ./css/$0.scss ./skin/$0.css'",
"bashForTest:css": "bash -c 'node-sass ./css/$0.scss ./smoke/css/$0.css'",
"bashForTest:js": "mkdir -p smoke && bash -c 'cp -R ./tests/{locale,background.html,$0.*} ./smoke'",
"bundleTest:js": "bash -c 'echo \"/* eslint-disable */$(browserify --node ./tests/$0.js)\">./smoke/$0.js'",
"lint": "npm run lint:js",
"lint:js": "eslint ./*.js ./lib/*.js ./ext/*.js",
"prepare": "python2 ensure_dependencies.py",
"start": "http-server & npm run watch",
"bundle": "npm run bundle:desktop-options.js && npm run bundle:desktop-options.css",
"bundle:desktop-options.css": "npm run bash:css desktop-options",
"bundle:desktop-options.js": "npm run bash:js ./js/desktop-options.js ./desktop-options.js",
"watch": "npm run watch:desktop-options.js & npm run watch:desktop-options.css",
"watch:desktop-options.css": "watch 'npm run bundle:desktop-options.css' ./css",
"watch:desktop-options.js": "watch 'npm run bundle:desktop-options.js' ./js",
"test": "npm run test:io-element && npm run test:io-steps && npm run test:io-toggle && http-server",
"test:io-element": "npm run bashForTest:js io-element && npm run bundleTest:js io-element",
"test:io-steps": "npm run bashForTest:js io-steps && npm run bundleTest:js io-steps && npm run bashForTest:css io-steps",
"test:io-toggle": "npm run bashForTest:js io-toggle && npm run bundleTest:js io-toggle && npm run bashForTest:css io-toggle",
"postinstall": "npm run bundle"
},
"dependencies": {
"browserify": "^16.1.0",
"document-register-element": "^1.7.2",
"eslint": "^4.16.0",
"eslint-config-eyeo": "^2.0.0",
"http-server": "^0.11.1",
"hyperhtml": "^2.9.0",
"hyperhtml-element": "^1.5.0",
"node-sass": "^4.7.2",
"watch": "^1.0.2"
}
}