UNPKG

@crxjs/vite-plugin

Version:

Build Chrome Extensions with this Vite plugin.

126 lines 3.67 kB
{ "name": "@crxjs/vite-plugin", "version": "2.2.0", "description": "Build Chrome Extensions with this Vite plugin.", "keywords": [ "rollup-plugin", "vite-plugin", "chrome", "chrome-extension", "extension", "webext", "webextension", "browser", "browser-extension" ], "homepage": "https://crxjs.dev/vite-plugin", "bugs": { "url": "https://github.com/crxjs/chrome-extension-tools/issues" }, "repository": { "type": "git", "url": "git+https://github.com/crxjs/chrome-extension-tools", "directory": "packages/vite-plugin" }, "license": "MIT", "author": "Jack and Amy Steam <jacksteamdev@gmail.com>", "type": "module", "exports": { ".": { "require": "./index.cjs", "import": "./dist/index.mjs", "types": "./dist/index.d.ts" }, "./*": "./*", "./client": { "types": "./client.d.ts" } }, "main": "index.cjs", "module": "dist/index.mjs", "types": "dist/index.d.ts", "files": [ "dist", "types", "manifest.schema.json", "index.cjs", "client.d.ts" ], "dependencies": { "@rollup/pluginutils": "^4.1.2", "@webcomponents/custom-elements": "^1.5.0", "acorn-walk": "^8.2.0", "cheerio": "^1.0.0-rc.10", "convert-source-map": "^1.7.0", "debug": "^4.3.3", "es-module-lexer": "^0.10.0", "fast-glob": "^3.2.11", "fs-extra": "^10.0.1", "jsesc": "^3.0.2", "magic-string": "^0.30.12", "pathe": "^2.0.1", "picocolors": "^1.1.1", "react-refresh": "^0.13.0", "rollup": "2.79.2", "rxjs": "7.5.7" }, "devDependencies": { "@extend-chrome/messages": "1.2.2", "@extend-chrome/storage": "1.5.0", "@rollup/plugin-alias": "4.0.4", "@rollup/plugin-commonjs": "21.1.0", "@rollup/plugin-json": "^5.0.0", "@rollup/plugin-node-resolve": "13.2.0", "@sveltejs/vite-plugin-svelte": "1.4.0", "@types/acorn": "4.0.6", "@types/chrome": "0.0.237", "@types/convert-source-map": "^2.0.0", "@types/debug": "4.1.7", "@types/fs-extra": "9.0.13", "@types/jest-image-snapshot": "^5.1.0", "@types/jsesc": "3.0.1", "@types/node": "17.0.18", "@types/react": "17.0.52", "@types/react-dom": "17.0.18", "@typescript-eslint/eslint-plugin": "5.41.0", "@typescript-eslint/parser": "5.41.0", "@vitejs/plugin-react": "^2.2.0", "@vitejs/plugin-vue": "3.2.0", "chokidar": "^3.5.3", "esbuild": "0.17.14", "esbuild-runner": "2.2.2", "eslint": "8.43.0", "eslint-plugin-react": "^7.29.4", "jest-image-snapshot": "^5.2.0", "npm-run-all": "^4.1.5", "playwright-chromium": "1.52.0", "react": "17.0.2", "react-dom": "17.0.2", "rimraf": "3.0.2", "rollup-plugin-dts": "^4.2.0", "rollup-plugin-esbuild": "4.10.3", "svelte": "^3.48.0", "typescript": "^4.6.4", "vite": "^3.2.11", "vite-plugin-inspect": "0.7.25", "vitest": "0.28.5", "vue": "3.2.47" }, "scripts": { "format": "prettier -w -c ../../.prettierrc.yaml", "build": "run-s build:clean build:js", "build:clean": "rimraf dist", "build:js": "rollup -c rollup.config.ts --configPlugin esbuild", "dev:js": "npm run build:js -- -w", "dev:lint": "tsc --noEmit --watch", "lint": "run-s lint:eslint lint:types", "lint:eslint": "eslint \"{src,test}/**/*.ts\"", "lint:types": "tsc --noEmit", "test": "vitest --mode unit", "test:e2e": "vitest --mode e2e", "test:run": "run-s test:run:*", "test:run:out": "vitest --run --mode out", "test:run:e2e": "vitest --run --mode e2e", "test:update": "run-s \"test:run:out --update\" \"test:run:e2e --update\"" } }