@tommostools/use-context-selector
Version: 
Hook for simple context slicing in React
47 lines (46 loc) • 1.13 kB
JSON
{
  "name": "@tommostools/use-context-selector",
  "version": "0.3.0",
  "description": "Hook for simple context slicing in React",
  "keywords": [
    "react",
    "context",
    "hook",
    "contexto"
  ],
  "author": "Tommo <tommos.tools@gmail.com>",
  "homepage": "https://github.com/TommosTools/TommosTools",
  "repository": {
    "type": "git",
    "url": "https://github.com/TommosTools/TommosTools.git"
  },
  "license": "MIT",
  "private": false,
  "scripts": {
    "compile": "tsup src/index.ts --dts",
    "lint": "eslint 'src/**/*.ts*'",
    "test": "jest"
  },
  "type": "module",
  "main": "./dist/index.cjs",
  "module": "./dist/index.js",
  "browser": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    "./package.json": "./package.json",
    ".": {
      "types": "./dist/index.d.ts",
      "module": "./dist/index.js",
      "import": "./dist/index.js",
      "default": "./dist/index.cjs"
    }
  },
  "dependencies": {
    "@types/react": ">=16.8.0",
    "contexto": "^0.3.0"
  },
  "jest": {
    "testEnvironment": "jsdom"
  },
  "gitHead": "5b36e9af33d02f6ac7b3a7ac4dd90f5233a7b92b"
}