@reactuses/core
Version:
<div align = "center"> <h1 align = "center"> reactuse </h1> </div>
108 lines (107 loc) • 2.72 kB
JSON
{
"name": "@reactuses/core",
"version": "6.0.3",
"license": "Unlicense",
"homepage": "https://www.reactuse.com/",
"repository": {
"type": "git",
"url": "git+https://github.com/childrentime/reactuse.git",
"directory": "packages/core"
},
"bugs": {
"url": "https://github.com/childrentime/reactuse/issues"
},
"keywords": [
"react",
"react-use",
"react hooks",
"hook",
"hooks",
"component"
],
"sideEffects": false,
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./useQRCode": {
"import": {
"types": "./dist/useQRCode.d.mts",
"default": "./dist/useQRCode.mjs"
},
"require": {
"types": "./dist/useQRCode.d.cts",
"default": "./dist/useQRCode.cjs"
}
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"LICENSE",
"README.md",
"dist",
"package.json"
],
"scripts": {
"lint": "eslint \"{hooks,tests}/**/*.{ts,tsx}\"",
"build": "esno scripts/build.ts",
"build:bunchee": "bunchee",
"dev": "bunchee --watch",
"gend": "tsx scripts/tsdoc.ts",
"publish:ci": "esno scripts/publish.ts",
"release:prepare": "bump",
"release": "esno scripts/release.ts",
"test": "jest",
"test:coverage": "jest --coverage"
},
"peerDependencies": {
"qrcode": "^1.5",
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
},
"peerDependenciesMeta": {
"qrcode": {
"optional": true
}
},
"dependencies": {
"@microsoft/fetch-event-source": "^2.0.1",
"@testing-library/dom": "^10.4.0",
"js-cookie": "^3.0.5",
"lodash-es": "^4.17.21",
"screenfull": "^5.0.0",
"use-sync-external-store": "^1.2.0"
},
"devDependencies": {
"@jsdevtools/version-bump-prompt": "^6.1.0",
"@reactuses/ts-document": "workspace:*",
"@testing-library/react": "^16.1.0",
"@types/jest": "^27.5.2",
"@types/js-cookie": "^3.0.3",
"@types/lodash": "^4.14.184",
"@types/lodash-es": "^4.17.7",
"@types/qrcode": "^1.5.5",
"@types/use-sync-external-store": "^0.0.6",
"babel-jest": "^29.0.2",
"consola": "^2.15.3",
"esbuild": "^0.19.11",
"esbuild-register": "^3.4.1",
"jest": "^29.0.2",
"jest-environment-jsdom": "^29.0.2",
"jest-environment-node": "^29.7.0",
"lodash": "^4.17.21",
"qrcode": "^1.5.3",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"typescript": "^5.3.3"
}
}