UNPKG

@dr.pogodin/react-global-state

Version:
79 lines (78 loc) 2.52 kB
{ "name": "@dr.pogodin/react-global-state", "version": "0.23.0", "description": "Hook-based global state for React", "main": "./build/code/index.js", "types": "./build/types/index.d.ts", "exports": { "types": "./build/types/index.d.ts", "default": "./build/code/index.js" }, "scripts": { "build": "rimraf build && npm run build:types && npm run build:code", "build:code": "rimraf build/code && babel src -x .ts,.tsx --out-dir build/code --source-maps --config-file ./babel.module.config.js", "build:types": "rimraf build/types && tsc --project tsconfig.types.json", "jest": "npm run jest:types && npm run jest:logic", "jest:logic": "jest --config jest/config.json -w 1 --no-cache", "jest:types": "tstyche", "lint": "eslint --cache", "test": "npm run lint && npm run typecheck && npm run jest", "typecheck": "tsc --noEmit" }, "repository": "github:birdofpreyru/react-global-state", "keywords": [ "react", "reactjs", "state", "hooks", "hook", "global", "typescript" ], "author": "Dr. Sergey Pogodin <doc@pogodin.studio> (https://dr.pogodin.studio)", "license": "MIT", "bugs": { "url": "https://github.com/birdofpreyru/react-global-state.git/issues" }, "homepage": "https://dr.pogodin.studio/docs/react-global-state/index.html", "engines": { "node": ">=20" }, "dependencies": { "@babel/runtime": "^7.29.2", "@dr.pogodin/js-utils": "^0.1.6", "@types/lodash": "^4.17.24", "lodash-es": "^4.18.1" }, "devDependencies": { "@babel/cli": "^7.28.6", "@babel/core": "^7.29.0", "@babel/node": "^7.29.0", "@babel/plugin-transform-runtime": "^7.29.0", "@babel/preset-env": "^7.29.2", "@babel/preset-react": "^7.28.5", "@babel/preset-typescript": "^7.28.5", "@dr.pogodin/eslint-configs": "^0.2.10", "@testing-library/dom": "^10.4.1", "@testing-library/react": "^16.3.2", "@tsconfig/recommended": "^1.0.13", "@types/jest": "^30.0.0", "@types/lodash-es": "^4.17.12", "@types/pretty": "^2.0.3", "@types/react": "^19.2.14", "@types/react-dom": "^19.2.3", "babel-jest": "^30.3.0", "babel-plugin-add-import-extension": "^1.6.0", "babel-plugin-module-resolver": "^5.0.3", "jest": "^30.3.0", "jest-environment-jsdom": "^30.3.0", "mockdate": "^3.0.5", "rimraf": "^6.1.3", "tstyche": "^7.0.0", "typescript": "^5.9.3" }, "peerDependencies": { "react": "^19.2.5", "react-dom": "^19.2.5" } }