@chakra-xui/clickable
Version:
React hook and component that implements native button interactions
63 lines (62 loc) • 1.84 kB
JSON
{
"name": "@chakra-xui/clickable",
"version": "1.0.2",
"description": "React hook and component that implements native button interactions",
"keywords": [
"chakra xui",
"clickable",
"tabbable",
"button",
"div button"
],
"sideEffects": false,
"author": "Segun Adebayo <sage@adebayosegun.com>",
"homepage": "https://github.com/chakra-xui/chakra-xui#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",
"exports": {
".": {
"require": "./dist/cjs/index.js",
"default": "./dist/esm/index.js"
}
},
"files": [
"dist"
],
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/chakra-xui/chakra-xui.git"
},
"bugs": {
"url": "https://github.com/chakra-xui/chakra-xui/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": {
"@chakra-xui/utils": "1.0.2"
},
"peerDependencies": {
"react": "16.x || 17.x"
},
"devDependencies": {
"react": "^17.0.1"
}
}