Files
twenty/packages/twenty-chrome-extension/src/manifest.ts
Abdullah d14bb2ea11 Add linter to Chrome Extension (#4044). (#4174)
* feat: configure eslint rules by replicating those in the twenty-front package and introduce scripts for linting, formatting code and removing build output

* fix: ensure each file of the extension package satisfies linting rules and disable some rules where necessary

* fix: update relative imports to absolute imports throughout extension code with the defined tilde and at symbols

* fix: import the updated ui module from the front package to the chrome extension package to prevent eslint rules from breaking subject to the recent merged changes into main

* fix: commit the case change for files that were missed by Git in the earlier commits due to default configuration
2024-02-25 17:32:08 +01:00

38 lines
733 B
TypeScript

import { defineManifest } from '@crxjs/vite-plugin';
import packageData from '../package.json';
export default defineManifest({
manifest_version: 3,
name: 'Twenty',
description: packageData.description,
version: packageData.version,
icons: {
16: 'logo/32-32.png',
32: 'logo/32-32.png',
48: 'logo/32-32.png',
},
action: {},
options_page: 'options.html',
background: {
service_worker: 'src/background/index.ts',
type: 'module',
},
content_scripts: [
{
matches: ['https://www.linkedin.com/*'],
js: ['src/contentScript/index.ts'],
run_at: 'document_end',
},
],
permissions: ['activeTab', 'storage'],
host_permissions: ['https://www.linkedin.com/*'],
});