{
  "name": "react-hooks-global-state-next",
  "description": "Simple global state for React with Hooks API without Context API",
  "version": "2.2.1",
  "author": "Cuong Lam <thanhcuong1990@gmail.com> (https://github.com/thanhcuong1990)",
  "repository": {
    "type": "git",
    "url": "https://github.com/thanhcuong1990/react-hooks-global-state-next.git"
  },
  "homepage": "https://github.com/thanhcuong1990/react-hooks-global-state-next#readme",
  "bugs": {
    "url": "https://github.com/thanhcuong1990/react-hooks-global-state-next/issues"
  },
  "source": "./src/index.ts",
  "main": "./dist/index.umd.js",
  "module": "./dist/index.modern.js",
  "types": "./dist/src/index.d.ts",
  "exports": {
    "./package.json": "./package.json",
    ".": {
      "types": "./dist/src/index.d.ts",
      "module": "./dist/index.modern.js",
      "import": "./dist/index.modern.mjs",
      "default": "./dist/index.umd.js"
    }
  },
  "sideEffects": false,
  "files": [
    "src",
    "dist"
  ],
  "scripts": {
    "compile": "microbundle build -f modern,umd --globals react=React",
    "postcompile": "cp dist/index.modern.js dist/index.modern.mjs && cp dist/index.modern.js.map dist/index.modern.mjs.map",
    "test": "run-s eslint tsc-test jest e2e-test:*",
    "eslint": "eslint --ext .js,.ts,.tsx --ignore-pattern dist .",
    "jest": "jest --preset ts-jest/presets/js-with-ts __tests__/*.tsx",
    "tsc-test": "tsc --project . --noEmit",
    "apidoc": "documentation readme --section API --markdown-toc false --parse-extension ts src/createGlobalState.ts src/createStore.ts",
    "e2e-test:01_minimal": "server-test examples:01_minimal 8080 'jest --preset jest-puppeteer __tests__/e2e/01_minimal.ts'",
    "e2e-test:02_typescript": "server-test examples:02_typescript 8080 'jest --preset jest-puppeteer __tests__/e2e/02_typescript.ts'",
    "e2e-test:03_actions": "server-test examples:03_actions 8080 'jest --preset jest-puppeteer __tests__/e2e/03_actions.ts'",
    "e2e-test:04_fetch": "server-test examples:04_fetch 8080 'jest --preset jest-puppeteer __tests__/e2e/04_fetch.ts'",
    "e2e-test:05_onmount": "server-test examples:05_onmount 8080 'jest --preset jest-puppeteer __tests__/e2e/05_onmount.ts'",
    "e2e-test:06_reducer": "server-test examples:06_reducer 8080 'jest --preset jest-puppeteer __tests__/e2e/06_reducer.ts'",
    "e2e-test:07_middleware": "server-test examples:07_middleware 8080 'jest --preset jest-puppeteer __tests__/e2e/07_middleware.ts'",
    "e2e-test:08_thunk": "server-test examples:08_thunk 8080 'jest --preset jest-puppeteer __tests__/e2e/08_thunk.ts'",
    "e2e-test:09_comparison": "server-test examples:09_comparison 8080 'jest --preset jest-puppeteer __tests__/e2e/09_comparison.ts'",
    "e2e-test:10_immer": "server-test examples:10_immer 8080 'jest --preset jest-puppeteer __tests__/e2e/10_immer.ts'",
    "e2e-test:11_deep": "server-test examples:11_deep 8080 'jest --preset jest-puppeteer __tests__/e2e/11_deep.ts'",
    "e2e-test:13_persistence": "server-test examples:13_persistence 8080 'jest --preset jest-puppeteer __tests__/e2e/13_persistence.ts'",
    "examples:01_minimal": "DIR=01_minimal EXT=js webpack serve",
    "examples:02_typescript": "DIR=02_typescript webpack serve",
    "examples:03_actions": "DIR=03_actions webpack serve",
    "examples:04_fetch": "DIR=04_fetch webpack serve",
    "examples:05_onmount": "DIR=05_onmount webpack serve",
    "examples:06_reducer": "DIR=06_reducer webpack serve",
    "examples:07_middleware": "DIR=07_middleware webpack serve",
    "examples:08_thunk": "DIR=08_thunk webpack serve",
    "examples:09_comparison": "DIR=09_comparison webpack serve",
    "examples:10_immer": "DIR=10_immer webpack serve",
    "examples:11_deep": "DIR=11_deep webpack serve",
    "examples:13_persistence": "DIR=13_persistence webpack serve"
  },
  "jest": {
    "testEnvironment": "jsdom",
    "transform": {
      "^.+\\.ts$": "ts-jest"
    }
  },
  "keywords": [
    "react",
    "state",
    "hooks",
    "stateless",
    "thisless",
    "pure"
  ],
  "license": "MIT",
  "dependencies": {
    "zustand": "5.0.5"
  },
  "devDependencies": {
    "@testing-library/react": "^13.3.0",
    "@types/expect-puppeteer": "^5.0.1",
    "@types/jest": "^28.1.6",
    "@types/jest-environment-puppeteer": "^5.0.2",
    "@types/puppeteer": "^5.4.6",
    "@types/react": "^18.0.15",
    "@types/react-dom": "^18.0.6",
    "@types/redux-logger": "^3.0.9",
    "@typescript-eslint/eslint-plugin": "^5.32.0",
    "@typescript-eslint/parser": "^5.32.0",
    "documentation": "^13.2.5",
    "eslint": "^8.21.0",
    "eslint-config-airbnb": "^19.0.4",
    "eslint-plugin-import": "^2.26.0",
    "eslint-plugin-jsx-a11y": "^6.6.1",
    "eslint-plugin-react": "^7.30.1",
    "eslint-plugin-react-hooks": "^4.6.0",
    "html-webpack-plugin": "^5.5.0",
    "immer": "^9.0.15",
    "jest": "^28.1.3",
    "jest-environment-jsdom": "^28.1.3",
    "jest-puppeteer": "^6.1.1",
    "microbundle": "^0.15.0",
    "npm-run-all": "^4.1.5",
    "puppeteer": "^16.0.0",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "redux": "^4.2.0",
    "redux-logger": "^3.0.6",
    "redux-thunk": "^2.4.1",
    "start-server-and-test": "^1.14.0",
    "ts-jest": "^28.0.7",
    "ts-loader": "^9.3.1",
    "typescript": "^4.7.4",
    "webpack": "^5.74.0",
    "webpack-cli": "^4.10.0",
    "webpack-dev-server": "^4.9.3"
  },
  "peerDependencies": {
    "react": ">=16.8.0"
  },
  "resolutions": {
    "@types/node": "^15"
  }
}
