@aminnairi/react-signal
Version:
Signal Library for React
71 lines (70 loc) • 1.95 kB
JSON
{
"type": "module",
"name": "@aminnairi/react-signal",
"types": "dist/index.d.ts",
"description": "Signal Library for React",
"version": "2.0.1",
"homepage": "https://github.com/aminnairi/react-signal",
"license": "MIT",
"main": "dist/index.js",
"bugs": {
"url": "https://github.com/aminnairi/react-signal/issues"
},
"author": {
"name": "Amin NAIRI",
"url": "https://github.com/aminnairi"
},
"repository": {
"type": "git",
"url": "https://github.com/aminnairi/react-signal.git"
},
"files": [
"dist"
],
"keywords": [
"react",
"signal",
"hook",
"observable",
"useSyncExternalStore"
],
"scripts": {
"dev": "vite",
"build": "rollup --config rollup.config.ts --configPlugin typescript",
"test": "vitest run --coverage",
"coverage": "coveralls < coverage/lcov.info",
"types": "tsc --project tsconfig.build.json --declaration --emitDeclarationOnly",
"lint": "eslint . --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview",
"deploy": "npm run build && npm run types && npm publish --access public"
},
"peerDependencies": {
"react": ">=16.8"
},
"devDependencies": {
"@rollup/plugin-terser": "0.4.4",
"@rollup/plugin-typescript": "12.1.2",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@typescript-eslint/eslint-plugin": "^8.22.0",
"@typescript-eslint/parser": "^8.22.0",
"@vitejs/plugin-react": "^4.3.4",
"@vitest/coverage-v8": "^3.0.4",
"coveralls": "3.1.1",
"eslint": "^9.19.0",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-react-refresh": "^0.4.18",
"happy-dom": "16.8.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-router-dom": "7.1.4",
"rollup": "4.32.1",
"tslib": "2.8.1",
"typescript": "5.7.3",
"vite": "^6.0.11",
"vitest": "3.0.4"
},
"dependencies": {
"zod": "^3.24.2"
}
}