diff --git a/lib/accessibility.js b/lib/accessibility.js index 59a9947..fe78e6b 100644 --- a/lib/accessibility.js +++ b/lib/accessibility.js @@ -2,7 +2,7 @@ const Eval = require('./eval') exports.audit = () => { return Eval.execute(function () { - const {axs} = window.__devtron // defined in browserGlobals.js + const {axs} = window.__devtron // defined in browser-globals.js const config = new axs.AuditConfiguration({showUnsupportedRulesWarning: false}) const results = axs.Audit.run(config) diff --git a/lib/browserGlobals.js b/lib/browser-globals.js similarity index 100% rename from lib/browserGlobals.js rename to lib/browser-globals.js diff --git a/manifest.json b/manifest.json index 8fc7d95..24613a4 100644 --- a/manifest.json +++ b/manifest.json @@ -5,7 +5,7 @@ "content_scripts": [ { "matches": ["*"], - "js": ["out/browserGlobals.js"] + "js": ["out/browser-globals.js"] } ] } diff --git a/package.json b/package.json index 5409467..cdee958 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,8 @@ "description": "Electron DevTools Extension", "main": "./api.js", "scripts": { - "prepublish": "browserify lib/*.js -o out/index.js --ignore-missing --entry lib/index.js && browserify lib/browserGlobals.js -o out/browserGlobals.js", - "start": "watchify lib/*.js -o out/index.js --ignore-missing --entry lib/index.js --verbose", + "prepublish": "browserify lib/*.js -o out/index.js --ignore-missing --entry lib/index.js && browserify lib/browser-globals.js -o out/browser-globals.js", + "start": "browserify lib/browser-globals.js -o out/browser-globals.js && watchify lib/*.js -o out/index.js --ignore-missing --entry lib/index.js --verbose", "test": "mocha test/unit/*-test.js test/integration/*-test.js && standard" }, "repository": {