UNPKG

swr-devtools

Version:

A React component for SWR DevTools

74 lines (73 loc) 1.87 kB
{ "name": "swr-devtools", "version": "1.3.2", "description": "A React component for SWR DevTools", "main": "cjs/index.js", "module": "lib/index.js", "exports": { "./package.json": "./package.json", ".": { "import": "./lib/index.js", "require": "./cjs/index.js", "types": "./lib/index.d.ts" }, "./lib/swr-cache": { "import": "./lib/swr-cache.js", "require": "./cjs/swr-cache.js", "types": "./lib/swr-cache.d.ts" }, "./lib/createSWRDevTools": { "import": "./lib/createSWRDevTools.js", "require": "./cjs/createSWRDevTools.js", "types": "./lib/createSWRDevTools.d.ts" } }, "types": "lib/index.d.ts", "license": "MIT", "files": [ "lib", "cjs" ], "keywords": [ "swr" ], "author": "koba04", "repository": { "type": "git", "url": "https://github.com/koba04/swr-devtools.git" }, "homepage": "https://github.com/koba04/swr-devtools", "bugs": "https://github.com/koba04/swr-devtools/issues", "scripts": { "clean": "rimraf lib cjs", "start": "run-p start:*", "start:cjs": "tsc -p tsconfig.cjs.json --watch", "start:esm": "tsc --watch", "prebuild": "yarn clean", "build": "run-p build:*", "build:esm": "tsc", "build:cjs": "tsc -p tsconfig.cjs.json", "lint": "tsc --noEmit", "test": "vitest run", "test:watch": "vitest" }, "peerDependencies": { "react": ">=17.0.2", "swr": ">=1.0.0" }, "devDependencies": { "@testing-library/jest-dom": "^5.16.5", "@testing-library/react": "^14.0.0", "@types/react": "^18.0.20", "jsdom": "^21.1.1", "react": "^18.2.0", "swr": "^2.0.0", "typescript": "^4.8.3", "vite": "^4.2.0", "vitest": "^0.29.3" }, "dependencies": { "superjson": "^1.11.0" }, "gitHead": "cfabf7fcd57dcf1d0805ffbac8eabad57d4ec409" }