├── .gitignore ├── .prettierrc.json ├── .travis.yml ├── LICENSE ├── README.md ├── package.json ├── src ├── ManifestAsset.js └── index.js ├── test ├── .gitignore ├── chrome-url-overrides.js ├── default-icons.js ├── integration │ ├── chrome-url-overrides │ │ ├── bookmarks.html │ │ ├── history.html │ │ ├── manifest.json │ │ └── newtab.html │ ├── default-icons │ │ ├── favicon-16.ico │ │ ├── favicon-32.ico │ │ ├── favicon-64.ico │ │ └── manifest.json │ ├── manifest-overrides │ │ ├── content_script.js │ │ ├── manifest.development.json │ │ ├── manifest.json │ │ └── manifest.production.json │ ├── web-extension │ │ ├── _locales │ │ │ └── en │ │ │ │ └── messages.json │ │ ├── background_script.js │ │ ├── content_script.css │ │ ├── content_script.js │ │ ├── favicon.ico │ │ ├── inject.js │ │ ├── manifest.json │ │ ├── options.html │ │ ├── options │ │ │ └── index.js │ │ ├── popup.html │ │ └── popup │ │ │ └── index.js │ └── wildcard-paths │ │ ├── manifest.json │ │ ├── nested │ │ ├── nested │ │ │ └── two-deep.js │ │ └── one-deep.js │ │ ├── no-wildcard │ │ └── no-wildcard.js │ │ ├── zero-deep-1.js │ │ └── zero-deep-2.js ├── manifest-overrides.js ├── utils.js ├── web-extension.js └── wildcard-paths.js └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevincharm/parcel-plugin-web-extension/HEAD/.prettierrc.json -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevincharm/parcel-plugin-web-extension/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevincharm/parcel-plugin-web-extension/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevincharm/parcel-plugin-web-extension/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevincharm/parcel-plugin-web-extension/HEAD/package.json -------------------------------------------------------------------------------- /src/ManifestAsset.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevincharm/parcel-plugin-web-extension/HEAD/src/ManifestAsset.js -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevincharm/parcel-plugin-web-extension/HEAD/src/index.js -------------------------------------------------------------------------------- /test/.gitignore: -------------------------------------------------------------------------------- 1 | dist/ 2 | -------------------------------------------------------------------------------- /test/chrome-url-overrides.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevincharm/parcel-plugin-web-extension/HEAD/test/chrome-url-overrides.js -------------------------------------------------------------------------------- /test/default-icons.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevincharm/parcel-plugin-web-extension/HEAD/test/default-icons.js -------------------------------------------------------------------------------- /test/integration/chrome-url-overrides/bookmarks.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevincharm/parcel-plugin-web-extension/HEAD/test/integration/chrome-url-overrides/bookmarks.html -------------------------------------------------------------------------------- /test/integration/chrome-url-overrides/history.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevincharm/parcel-plugin-web-extension/HEAD/test/integration/chrome-url-overrides/history.html -------------------------------------------------------------------------------- /test/integration/chrome-url-overrides/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevincharm/parcel-plugin-web-extension/HEAD/test/integration/chrome-url-overrides/manifest.json -------------------------------------------------------------------------------- /test/integration/chrome-url-overrides/newtab.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevincharm/parcel-plugin-web-extension/HEAD/test/integration/chrome-url-overrides/newtab.html -------------------------------------------------------------------------------- /test/integration/default-icons/favicon-16.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevincharm/parcel-plugin-web-extension/HEAD/test/integration/default-icons/favicon-16.ico -------------------------------------------------------------------------------- /test/integration/default-icons/favicon-32.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevincharm/parcel-plugin-web-extension/HEAD/test/integration/default-icons/favicon-32.ico -------------------------------------------------------------------------------- /test/integration/default-icons/favicon-64.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevincharm/parcel-plugin-web-extension/HEAD/test/integration/default-icons/favicon-64.ico -------------------------------------------------------------------------------- /test/integration/default-icons/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevincharm/parcel-plugin-web-extension/HEAD/test/integration/default-icons/manifest.json -------------------------------------------------------------------------------- /test/integration/manifest-overrides/content_script.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevincharm/parcel-plugin-web-extension/HEAD/test/integration/manifest-overrides/content_script.js -------------------------------------------------------------------------------- /test/integration/manifest-overrides/manifest.development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevincharm/parcel-plugin-web-extension/HEAD/test/integration/manifest-overrides/manifest.development.json -------------------------------------------------------------------------------- /test/integration/manifest-overrides/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevincharm/parcel-plugin-web-extension/HEAD/test/integration/manifest-overrides/manifest.json -------------------------------------------------------------------------------- /test/integration/manifest-overrides/manifest.production.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevincharm/parcel-plugin-web-extension/HEAD/test/integration/manifest-overrides/manifest.production.json -------------------------------------------------------------------------------- /test/integration/web-extension/_locales/en/messages.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevincharm/parcel-plugin-web-extension/HEAD/test/integration/web-extension/_locales/en/messages.json -------------------------------------------------------------------------------- /test/integration/web-extension/background_script.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevincharm/parcel-plugin-web-extension/HEAD/test/integration/web-extension/background_script.js -------------------------------------------------------------------------------- /test/integration/web-extension/content_script.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevincharm/parcel-plugin-web-extension/HEAD/test/integration/web-extension/content_script.css -------------------------------------------------------------------------------- /test/integration/web-extension/content_script.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevincharm/parcel-plugin-web-extension/HEAD/test/integration/web-extension/content_script.js -------------------------------------------------------------------------------- /test/integration/web-extension/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevincharm/parcel-plugin-web-extension/HEAD/test/integration/web-extension/favicon.ico -------------------------------------------------------------------------------- /test/integration/web-extension/inject.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevincharm/parcel-plugin-web-extension/HEAD/test/integration/web-extension/inject.js -------------------------------------------------------------------------------- /test/integration/web-extension/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevincharm/parcel-plugin-web-extension/HEAD/test/integration/web-extension/manifest.json -------------------------------------------------------------------------------- /test/integration/web-extension/options.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevincharm/parcel-plugin-web-extension/HEAD/test/integration/web-extension/options.html -------------------------------------------------------------------------------- /test/integration/web-extension/options/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevincharm/parcel-plugin-web-extension/HEAD/test/integration/web-extension/options/index.js -------------------------------------------------------------------------------- /test/integration/web-extension/popup.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevincharm/parcel-plugin-web-extension/HEAD/test/integration/web-extension/popup.html -------------------------------------------------------------------------------- /test/integration/web-extension/popup/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevincharm/parcel-plugin-web-extension/HEAD/test/integration/web-extension/popup/index.js -------------------------------------------------------------------------------- /test/integration/wildcard-paths/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevincharm/parcel-plugin-web-extension/HEAD/test/integration/wildcard-paths/manifest.json -------------------------------------------------------------------------------- /test/integration/wildcard-paths/nested/nested/two-deep.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevincharm/parcel-plugin-web-extension/HEAD/test/integration/wildcard-paths/nested/nested/two-deep.js -------------------------------------------------------------------------------- /test/integration/wildcard-paths/nested/one-deep.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevincharm/parcel-plugin-web-extension/HEAD/test/integration/wildcard-paths/nested/one-deep.js -------------------------------------------------------------------------------- /test/integration/wildcard-paths/no-wildcard/no-wildcard.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevincharm/parcel-plugin-web-extension/HEAD/test/integration/wildcard-paths/no-wildcard/no-wildcard.js -------------------------------------------------------------------------------- /test/integration/wildcard-paths/zero-deep-1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevincharm/parcel-plugin-web-extension/HEAD/test/integration/wildcard-paths/zero-deep-1.js -------------------------------------------------------------------------------- /test/integration/wildcard-paths/zero-deep-2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevincharm/parcel-plugin-web-extension/HEAD/test/integration/wildcard-paths/zero-deep-2.js -------------------------------------------------------------------------------- /test/manifest-overrides.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevincharm/parcel-plugin-web-extension/HEAD/test/manifest-overrides.js -------------------------------------------------------------------------------- /test/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevincharm/parcel-plugin-web-extension/HEAD/test/utils.js -------------------------------------------------------------------------------- /test/web-extension.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevincharm/parcel-plugin-web-extension/HEAD/test/web-extension.js -------------------------------------------------------------------------------- /test/wildcard-paths.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevincharm/parcel-plugin-web-extension/HEAD/test/wildcard-paths.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevincharm/parcel-plugin-web-extension/HEAD/yarn.lock --------------------------------------------------------------------------------