diff --git a/extension/package.json b/extension/package.json index 463151d..9f8e814 100644 --- a/extension/package.json +++ b/extension/package.json @@ -4,10 +4,10 @@ "private": true, "description": "Firefox extension for FabledCurator", "scripts": { - "lint": "web-ext lint --source-dir=.", - "start": "web-ext run --source-dir=. --firefox=firefox", - "build": "web-ext build --source-dir=. --overwrite-dest", - "sign": "web-ext sign --source-dir=. --channel=unlisted --api-key=$WEB_EXT_API_KEY --api-secret=$WEB_EXT_API_SECRET" + "lint": "web-ext lint --source-dir=. --no-config-discovery --ignore-files package.json package-lock.json web-ext-artifacts node_modules README.md .gitignore", + "start": "web-ext run --source-dir=. --no-config-discovery --ignore-files package.json package-lock.json web-ext-artifacts node_modules README.md .gitignore --firefox=firefox", + "build": "web-ext build --source-dir=. --no-config-discovery --ignore-files package.json package-lock.json web-ext-artifacts node_modules README.md .gitignore --overwrite-dest", + "sign": "web-ext sign --source-dir=. --no-config-discovery --ignore-files package.json package-lock.json web-ext-artifacts node_modules README.md .gitignore --channel=unlisted --api-key=$WEB_EXT_API_KEY --api-secret=$WEB_EXT_API_SECRET" }, "devDependencies": { "web-ext": "^8.0.0" diff --git a/extension/web-ext-config.cjs b/extension/web-ext-config.cjs deleted file mode 100644 index 019579a..0000000 --- a/extension/web-ext-config.cjs +++ /dev/null @@ -1,13 +0,0 @@ -module.exports = { - sourceDir: '.', - artifactsDir: './web-ext-artifacts', - ignoreFiles: [ - 'package.json', - 'package-lock.json', - 'web-ext-config.cjs', - 'web-ext-artifacts', - 'node_modules', - 'README.md', - '.gitignore', - ], -};