UNPKG

gm-storage

Version:

An ES6 Map wrapper for the synchronous userscript storage API

69 lines (68 loc) 2.27 kB
{ "name": "gm-storage", "version": "4.1.1", "description": "An ES6 Map wrapper for the synchronous userscript storage API", "main": "dist/cjs/index.cjs", "module": "dist/esm/index.mjs", "unpkg": "dist/umd/index.umd.min.js", "jsdelivr": "dist/umd/index.umd.min.js", "types": "dist/types/index.d.ts", "repository": "https://github.com/chocolateboy/gm-storage", "author": "chocolateboy", "license": "MIT", "scripts": { "build": "rollup -c --exports named --no-externalLiveBindings --no-treeshake.moduleSideEffects", "build:doc": "toc-md README.md", "build:dts": "tsc --declaration --emitDeclarationOnly --noImplicitAny --noUnusedLocals --noUnusedParameters --strict", "build:release": "cross-env NODE_ENV=production run-s build:dts build build:doc", "clean": "shx rm -rf dist", "coverage": "nyc ava --verbose --serial \"./test/**/*.js\"", "prepublishOnly": "run-s clean build:release coverage", "rebuild": "run-s clean build", "test": "run-s build test:run", "test:run": "ava --verbose --serial \"./test/**/*.js\"" }, "files": ["dist"], "exports": { "./package.json": "./package.json", ".": { "types": "./dist/types/index.d.ts", "import": "./dist/esm/index.mjs", "require": "./dist/cjs/index.cjs" } }, "browserslist": "maintained node versions", "pnpm": { "onlyBuiltDependencies": [ "esbuild" ] }, "devDependencies": { "@rollup/plugin-terser": "^0.4.4", "@types/node": "^24.0.10", "@types/tampermonkey": "^5.0.4", "ava": "^6.4.1", "cross-env": "^7.0.3", "esbuild": "^0.25.0", "npm-run-all2": "^7.0.2", "nyc": "^17.1.0", "rollup": "^4.34.8", "rollup-plugin-esbuild": "^6.1.1", "rollup-plugin-filesize": "^10.0.0", "shx": "^0.3.4", "toc-md-alt": "^0.4.6", "typescript": "^5.7.3" }, "keywords": [ "adapter", "es6", "es6-map", "greasemonkey", "map", "tampermonkey", "userscript", "userscripts", "violentmonkey", "wrapper" ] }