UNPKG

@reactour/mask

Version:

<p align="center"> <img alt="Reactour" title="Reactour" src="https://raw.githubusercontent.com/elrumordelaluz/reactour/main/packages/mask/logo.svg" width="400"> </p> <p align="center"> An SVG mask that cover all the window contents except the one spec

50 lines (49 loc) 1.21 kB
{ "name": "@reactour/mask", "version": "1.2.0", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "sideEffects": false, "license": "MIT", "devDependencies": { "@reactour/tsconfig": "*", "@types/react": "^19.1.3", "@types/react-dom": "^19.1.3", "config": "3.3.12", "react": "^19.1.0", "tsup": "^8.4.0", "typescript": "^5.8.3" }, "dependencies": { "@reactour/utils": "*" }, "peerDependencies": { "react": "16.x || 17.x || 18.x || 19.x" }, "scripts": { "build": "tsup index.tsx --format esm,cjs --dts --external react", "dev": "tsup index.tsx --format esm,cjs --watch --dts --external react", "lint": "TIMING=1 eslint **/*.ts* --fix", "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist" }, "publishConfig": { "access": "public" }, "files": [ "dist/**" ], "keywords": [ "react", "mask", "svg", "highlighted area", "focus" ], "repository": { "type": "git", "url": "https://github.com/elrumordelaluz/reactour.git", "directory": "packages/mask" }, "homepage": "https://github.com/elrumordelaluz/reactour/tree/main/packages/mask" }