UNPKG

@vantezzen/plasmo-state

Version:

♻️ Sync state across content script, background workers and the popup in Plasmo extensions

71 lines (70 loc) 2.11 kB
{ "name": "@vantezzen/plasmo-state", "version": "2.2.0", "description": "♻️ Sync state across content script, background workers and the popup in Plasmo extensions", "type": "module", "main": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "import": "./dist/index.js", "types": "./dist/index.d.ts" } }, "files": [ "dist" ], "scripts": { "dev": "run-p dev:*", "dev:compile": "tsup src/index.ts --format esm --watch --sourcemap", "dev:test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --watch", "dev:example": "cd example && plasmo dev --target=chrome-mv3", "build": "tsup src/index.ts --format esm --minify --clean --dts", "test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest", "prepublishOnly": "pnpm build" }, "author": "vantezzen <hello@vantezzen.io>", "repository": { "type": "git", "url": "https://github.com/vantezzen/plasmo-state.git" }, "license": "MIT", "keywords": [ "plasmo", "browser-extension", "react", "template" ], "peerDependencies": { "react": "^16.8.6 || ^17 || ^18" }, "devDependencies": { "@jest/globals": "28.1.2", "@jest/types": "28.1.1", "@plasmohq/rps": "latest", "@testing-library/react": "13.3.0", "@trivago/prettier-plugin-sort-imports": "3.2.0", "@types/chrome": "0.0.191", "@types/node": "18.0.1", "@types/react": "18.0.14", "cross-env": "7.0.3", "events": "^3.3.0", "jest": "28.1.2", "jest-environment-jsdom": "28.1.2", "plasmo": "^0.90.5", "prettier": "2.7.1", "react": "18.2.0", "react-dom": "18.2.0", "rimraf": "3.0.2", "ts-jest": "28.0.5", "tsup": "6.1.3", "typescript": "4.7.4" }, "dependencies": { "@plasmohq/storage": "^0.8.1", "@types/webextension-polyfill": "^0.9.0", "debug": "^4.3.4", "webextension-polyfill": "^0.9.0" }, "packageManager": "pnpm@10.11.0+sha512.6540583f41cc5f628eb3d9773ecee802f4f9ef9923cc45b69890fb47991d4b092964694ec3a4f738a420c918a333062c8b925d312f42e4f0c263eb603551f977" }