UNPKG

@bianic-ui/descendant

Version:

Register child nodes of a react element for better accessibility

58 lines (57 loc) 1.79 kB
{ "name": "@bianic-ui/descendant", "version": "0.1.0-alpha.2", "description": "Register child nodes of a react element for better accessibility", "keywords": [ "dom", "children", "accessibility", "descendants", "child", "hooks", "bianic ui", "react" ], "sideEffects": false, "author": "Muhammad Rafiul Ilmi Syarifudin <ilmi.mris@gmail.com>", "homepage": "https://gitlab.com/bia-design/bianic-ui#readme", "license": "MIT", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/types/index.d.ts", "typings": "dist/types/index.d.ts", "files": [ "dist" ], "publishConfig": { "access": "public" }, "repository": { "type": "git", "url": "git+https://gitlab.com/bia-design/bianic-ui.git" }, "bugs": { "url": "https://gitlab.com/bia-design/bianic-ui/issues" }, "scripts": { "prebuild": "rimraf dist", "start": "nodemon --watch src --exec yarn build -e ts,tsx", "build": "concurrently yarn:build:*", "test": "jest --env=jsdom --passWithNoTests", "lint": "concurrently yarn:lint:*", "version": "yarn build", "build:esm": "cross-env BABEL_ENV=esm babel src --root-mode upward --extensions .ts,.tsx -d dist/esm --source-maps", "build:cjs": "cross-env BABEL_ENV=cjs babel src --root-mode upward --extensions .ts,.tsx -d dist/cjs --source-maps", "build:types": "tsc --emitDeclarationOnly --declaration --declarationDir dist/types", "test:cov": "yarn test --coverage", "lint:src": "eslint src --ext .ts,.tsx --config ../../.eslintrc", "lint:types": "tsc --noEmit" }, "dependencies": { "@bianic-ui/hooks": "^0.1.0-alpha.2" }, "peerDependencies": { "react": "16.x" }, "gitHead": "6cc39d5eddff81d62ba31b952bd14704308d9e70" }