@dr.pogodin/react-global-state
Version:
Hook-based global state for React
82 lines (81 loc) • 2.67 kB
JSON
{
"name": "@dr.pogodin/react-global-state",
"version": "0.25.0",
"description": "Hook-based global state for React",
"main": "./build/logic/index.js",
"types": "./build/types/index.d.ts",
"exports": {
"types": "./build/types/index.d.ts",
"default": "./build/logic/index.js"
},
"scripts": {
"build": "rimraf build && npm run build:types && npm run build:logic",
"build:logic": "rimraf build/logic && NODE_ENV=production babel src -x .ts,.tsx --out-dir build/logic --source-maps --config-file ./babel.build.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 --cache-strategy content",
"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": ">=22"
},
"dependencies": {
"@dr.pogodin/js-utils": "^0.2.0",
"@types/lodash": "^4.17.24",
"lodash-es": "^4.18.1"
},
"devDependencies": {
"@babel/cli": "^8.0.4",
"@babel/core": "^8.0.1",
"@babel/node": "^8.0.1",
"@babel/preset-env": "^8.0.2",
"@babel/preset-react": "^8.0.1",
"@babel/preset-typescript": "^8.0.1",
"@dr.pogodin/babel-plugin-add-import-extension": "^2.1.0",
"@dr.pogodin/eslint-configs": "^0.3.0",
"@jest/globals": "^30.4.1",
"@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/node": "^24.13.3",
"@types/pretty": "^2.0.3",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"babel-jest": "^30.4.1",
"babel-plugin-add-import-extension": "^1.6.0",
"babel-plugin-module-resolver": "^5.0.3",
"babel-plugin-react-compiler": "^1.0.0",
"jest": "^30.4.2",
"jest-environment-jsdom": "^30.4.1",
"mockdate": "^3.0.5",
"rimraf": "^6.1.3",
"tstyche": "^7.2.1",
"typescript": "^6.0.3"
},
"peerDependencies": {
"react": "^19.2.7",
"react-dom": "^19.2.7"
},
"type": "module"
}