UNPKG

webext-storage

Version:

A more usable typed storage API for Web Extensions

63 lines (62 loc) 1.26 kB
{ "name": "webext-storage", "version": "2.0.1", "description": "A more usable typed storage API for Web Extensions", "keywords": [ "browser", "extension", "chrome", "firefox", "safari", "webextension", "storage", "session", "sync", "local", "event", "web-ext" ], "repository": "fregante/webext-storage", "funding": "https://github.com/sponsors/fregante", "license": "MIT", "author": "Federico Brigante <me@fregante.com> (https://fregante.com)", "type": "module", "exports": "./distribution/index.js", "main": "./distribution/index.js", "types": "./distribution/index.d.ts", "scripts": { "build": "tsc", "prepack": "tsc --sourceMap false", "test": "tsc && xo && tsd && vitest run", "test:watch": "vitest", "watch": "tsc --watch" }, "xo": { "envs": [ "browser" ], "globals": [ "chrome" ] }, "dependencies": { "webext-polyfill-kinda": "^1.0.2" }, "devDependencies": { "@sindresorhus/tsconfig": "^7.0.0", "@types/chrome": "^0.0.300", "@types/sinon-chrome": "^2.2.15", "jest-chrome": "^0.8.0", "sinon-chrome": "^3.0.1", "tsd": "^0.31.2", "typescript": "^5.7.3", "vitest": "^3.0.4", "xo": "^0.60.0" }, "engines": { "node": ">=20" }, "tsd": { "directory": "source" } }