{ "name": "bannerbanner", "version": "1.0.0", "description": "No description.", "scripts": { "build": "npm run build-content-script && npm run build-background-script", "watch": "npm run watch-content-script | : | npm run watch-background-script", "build-content-script": "browserify -o extension/content_script.js src/content_script.js", "watch-content-script": "watchify -o extension/content_script.js src/content_script.js -v", "build-background-script": "browserify -o extension/background_script.js src/background_script.js", "watch-background-script": "watchify -o extension/background_script.js src/background_script.js -v", "fx-build": "web-ext build -s extension -a dist && rename -f 's/\\.zip$/.xpi/' dist/*.zip", "fx-run": "web-ext run -s extension", "cr-build": "crx pack extension -o dist/extension.crx -p chrome-extension-key.pem" }, "devDependencies": { "babel-preset-env": "^1.6.1", "babel-preset-stage-3": "^6.24.1", "babelify": "^7.3.0", "browserify": "^14.3.0", "crx": "^3.2.1", "watchify": "^3.9.0", "web-ext": "^1.9.1" }, "dependencies": { "lodash": "^4.17.5", "webextension-polyfill": "^0.1.1" }, "browserify": { "transform": [ "babelify" ] } }