use-sharable-state
Version:
This packages makes sharing states simpler
97 lines (96 loc) • 2.62 kB
JSON
{
"name": "use-sharable-state",
"type": "module",
"version": "2.0.1",
"description": "This packages makes sharing states simpler",
"source": "src/index.ts",
"types": "./dist/index.d.ts",
"exports": {
"require": "./dist/index.cjs",
"default": "./dist/index.modern.js"
},
"main": "./dist/index.cjs",
"module": "./dist/index.module.js",
"unpkg": "./dist/index.umd.js",
"scripts": {
"build": "microbundle",
"dev": "microbundle watch",
"lint": "eslint ./src --fix",
"test": "vitest",
"coverage": "vitest run --coverage",
"prepare": "npm run build",
"prepublishOnly": "npm run lint",
"preversion": "npm run lint",
"version": "git add -A src",
"postversion": "git push && git push --tags"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sam-afshari/use-sharable-state.git"
},
"keywords": [
"hook",
"state",
"shared-state",
"global",
"global-state",
"sharable-state",
"use-sharable-state"
],
"author": "Sam Afshari <samafshari1994@gmail.com> (https://github.com/Sam-Afshari)",
"license": "MIT",
"bugs": {
"url": "https://github.com/sam-afshari/use-sharable-state/issues"
},
"homepage": "https://github.com/sam-afshari/use-sharable-state#readme",
"devDependencies": {
"@types/react": "^18.0.17",
"@types/react-dom": "^18.0.6",
"@types/react-test-renderer": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.30.5",
"@typescript-eslint/parser": "^5.30.5",
"c8": "^7.12.0",
"eslint": "^7.32.0 || ^8.2.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"happy-dom": "^6.0.4",
"microbundle": "^0.15.0",
"prettier": "^2.7.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-test-renderer": "^18.2.0",
"typescript": "^4.7.4",
"vitest": "^0.21.1"
},
"peerDependencies": {
"@types/react": ">=16.8",
"@types/react-dom": ">=16.8",
"react": ">=16.8",
"react-dom": ">=16.8",
"react-native": ">=0.59"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
},
"@types/react-dom": {
"optional": true
},
"react-dom": {
"optional": true
},
"react-native": {
"optional": true
}
},
"files": [
"/dist/**/*"
]
}