UNPKG

vite-plugin-wext-manifest

Version:

Vite plugin that lets you specify `manifest.json` properties to appear only in specific browsers.

99 lines (98 loc) 2.38 kB
{ "name": "vite-plugin-wext-manifest", "version": "1.1.0", "description": "Vite plugin that lets you specify `manifest.json` properties to appear only in specific browsers.", "license": "MIT", "repository": "https://github.com/abhijithvijayan/vite-plugin-wext-manifest.git", "funding": "https://github.com/sponsors/abhijithvijayan", "author": { "name": "abhijithvijayan", "email": "email@abhijithvijayan.in", "url": "https://abhijithvijayan.in" }, "engines": { "node": ">=18" }, "type": "module", "exports": { "types": "./lib/index.d.ts", "default": "./lib/index.js" }, "files": [ "lib" ], "scripts": { "dev": "npm run build:esm -- --watch", "build:esm": "tsc --outDir lib", "build": "rimraf lib && npm run build:esm", "pack:list": "npm pack && tar -xvzf *.tgz && rm -rf package *.tgz", "prepublishOnly": "npm run pack:list", "test": "jest", "test:watch": "jest --watch", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "*.ts": [ "eslint --ext .ts" ] }, "keywords": [ "webextension", "manifest", "vite.js", "vite-plugin", "plugin", "wext", "chrome", "firefox", "edge", "brave", "opera", "vivaldi", "arc", "yandex" ], "dependencies": { "find-up-simple": "^1.0.1", "load-json-file": "^7.0.1", "read-pkg": "^9.0.1", "wext-manifest-transformer": "^1.2.3" }, "peerDependencies": { "vite": "^6.3.5" }, "devDependencies": { "@abhijithvijayan/eslint-config": "^2.8.0", "@abhijithvijayan/eslint-config-airbnb": "^1.1.0", "@abhijithvijayan/tsconfig": "^1.5.1", "@babel/eslint-parser": "^7.23.9", "@swc/core": "^1.12.7", "@swc/jest": "^0.2.38", "@types/jest": "^29.5.14", "@types/node": "^20.19.1", "@typescript-eslint/eslint-plugin": "^6.20.0", "@typescript-eslint/parser": "^6.20.0", "cross-env": "^7.0.3", "eslint": "^8.56.0", "eslint-config-prettier": "^8.10.0", "eslint-plugin-import": "^2.29.1", "eslint-plugin-jsx-a11y": "^6.8.0", "eslint-plugin-node": "^11.1.0", "eslint-plugin-prettier": "^5.1.3", "eslint-plugin-react": "^7.33.2", "eslint-plugin-react-hooks": "^4.6.0", "husky": "^4.3.8", "jest": "^29.7.0", "lint-staged": "^11.0.0", "prettier": "^3.2.4", "rimraf": "^3.0.2", "typescript": "5.8.3", "vite": "^6.3.5" } }