@ouroboros/react-hooks
Version:
Common hooks used with React
48 lines (47 loc) • 1.31 kB
JSON
{
"name": "@ouroboros/react-hooks",
"version": "1.0.2",
"description": "Common hooks used with React",
"main": "index.js",
"types": "index.d.ts",
"scripts": {
"build": "tslint -p tsconfig.json && tsc",
"clean": "rm *.js *.d.ts",
"for_local": "npm install; tslint -p tsconfig.json && tsc; rm -Rf node_modules/@types/react node_modules/@emotion/react node_modules/@emotion/styled node_modules/react node_modules/react-dom",
"test": "echo \"Error: no test specified.\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ouroboroscoding/react-hooks.git"
},
"keywords": [
"@ouroboros/react-hooks",
"react",
"hooks",
"online", "useOnline",
"width", "useWidth",
"size", "useSize"
],
"author": "Chris Nasr <chris@ouroboroscoding.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/ouroboroscoding/react-hooks/issues"
},
"devDependencies": {
"@types/node": "^18.14.0",
"@types/react": "^18.0.28",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"typescript": "^4.8.3"
},
"dependencies": {
"@ouroboros/browser": "^0.5.2",
"@ouroboros/subscribe": "^1.3.1"
},
"peerDependencies": {
"@emotion/react": "^11.10.6",
"@emotion/styled": "^11.10.6",
"react": "^17.0.0 || ^18.0.0",
"react-dom": "^17.0.0 || ^18.0.0"
}
}