UNPKG

valtio-reactive

Version:

valtio-reactive makes Valtio a reactive library

87 lines (86 loc) 2.41 kB
{ "name": "valtio-reactive", "description": "valtio-reactive makes Valtio a reactive library", "version": "0.2.0", "type": "module", "author": "Daishi Kato", "repository": { "type": "git", "url": "https://github.com/valtiojs/valtio-reactive.git" }, "source": "./src/index.ts", "main": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { "./package.json": "./package.json", ".": { "require": { "types": "./dist/cjs/index.d.ts", "default": "./dist/cjs/index.js" }, "default": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } } }, "sideEffects": false, "files": [ "src", "dist" ], "packageManager": "pnpm@10.28.0", "scripts": { "compile": "rm -rf dist && pnpm run '/^compile:.*/'", "compile:esm": "tsc -p tsconfig.esm.json", "compile:cjs": "tsc -p tsconfig.cjs.json && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json", "fix": "pnpm run fix:lint && pnpm run fix:format", "fix:format": "prettier . --write", "fix:lint": "eslint . --fix", "test": "pnpm run '/^test:.*/'", "test:format": "prettier -c .", "test:lint": "eslint .", "test:types": "tsc -p . --noEmit", "test:types:examples": "tsc -p examples --noEmit", "test:spec": "vitest run", "examples:01_watch": "DIR=01_watch vite" }, "keywords": [ "valtio", "reactive" ], "license": "MIT", "prettier": { "singleQuote": true }, "devDependencies": { "@eslint/js": "^9.39.2", "@testing-library/jest-dom": "^6.9.1", "@testing-library/react": "^16.3.1", "@testing-library/user-event": "^14.6.1", "@types/node": "^25.0.8", "@types/react": "^19.2.8", "@types/react-dom": "^19.2.3", "eslint": "9.39.2", "eslint-import-resolver-typescript": "^4.4.4", "eslint-plugin-import": "^2.32.0", "eslint-plugin-jsx-a11y": "^6.10.2", "eslint-plugin-react": "^7.37.5", "eslint-plugin-react-hooks": "7.0.1", "happy-dom": "^20.1.0", "prettier": "^3.7.4", "react": "^19.2.3", "react-dom": "^19.2.3", "ts-expect": "^1.3.0", "typescript": "^5.9.3", "typescript-eslint": "^8.53.0", "valtio": "^2.3.0", "valtio-reactive": "link:", "vite": "^7.3.1", "vite-tsconfig-paths": "^6.0.4", "vitest": "^4.0.17" }, "peerDependencies": { "valtio": ">=2.0.0" } }