Browser extension to hide view-reducing screen junk from websites.

package.json 1.2 KiB

6 years ago
6 years ago
12345678910111213141516171819202122232425262728293031323334
  1. {
  2. "name": "bannerbanner",
  3. "version": "1.1.0",
  4. "description": "No description.",
  5. "scripts": {
  6. "build": "npm run build-content-script && npm run build-background-script",
  7. "watch": "npm run watch-content-script | : | npm run watch-background-script",
  8. "build-content-script": "browserify -o extension/content_script.js src/content_script.js",
  9. "watch-content-script": "watchify -o extension/content_script.js src/content_script.js -v",
  10. "build-background-script": "browserify -o extension/background_script.js src/background_script.js",
  11. "watch-background-script": "watchify -o extension/background_script.js src/background_script.js -v",
  12. "fx-build": "web-ext build -s extension -a dist && rename -f 's/\\.zip$/.xpi/' dist/*.zip",
  13. "fx-run": "web-ext run -s extension",
  14. "cr-build": "crx pack extension -o dist/extension.crx -p chrome-extension-key.pem"
  15. },
  16. "devDependencies": {
  17. "babel-preset-env": "^1.6.1",
  18. "babel-preset-stage-3": "^6.24.1",
  19. "babelify": "^7.3.0",
  20. "browserify": "^14.3.0",
  21. "crx": "^3.2.1",
  22. "watchify": "^3.9.0",
  23. "web-ext": "^1.9.1"
  24. },
  25. "dependencies": {
  26. "lodash": "^4.17.5",
  27. "webextension-polyfill": "^0.1.1"
  28. },
  29. "browserify": {
  30. "transform": [
  31. "babelify"
  32. ]
  33. }
  34. }