|
| 1 | +{ |
| 2 | + "name": "react-use-polling", |
| 3 | + "version": "1.0.0", |
| 4 | + "description": "Polling hooks for React.", |
| 5 | + "keywords": [ |
| 6 | + "react", |
| 7 | + "reactjs", |
| 8 | + "polling" |
| 9 | + ], |
| 10 | + "homepage": "https://github.com/hey3/react-use-polling#readme", |
| 11 | + "bugs": { |
| 12 | + "url": "https://github.com/hey3/react-use-polling/issues" |
| 13 | + }, |
| 14 | + "license": "MIT", |
| 15 | + "author": "hey3", |
| 16 | + "main": "./dist/index.umd.js", |
| 17 | + "module": "./dist/index.mjs", |
| 18 | + "types": "./dist/types/index.d.ts", |
| 19 | + "repository": { |
| 20 | + "type": "git", |
| 21 | + "url": "git+https://github.com/hey3/react-use-polling.git" |
| 22 | + }, |
| 23 | + "files": [ |
| 24 | + "dist" |
| 25 | + ], |
| 26 | + "exports": { |
| 27 | + ".": { |
| 28 | + "types": "./dist/types/index.d.ts", |
| 29 | + "import": "./dist/index.mjs", |
| 30 | + "require": "./dist/index.umd.js" |
| 31 | + } |
| 32 | + }, |
| 33 | + "sideEffects": false, |
| 34 | + "engines": { |
| 35 | + "node": ">= 16", |
| 36 | + "pnpm": "7" |
| 37 | + }, |
| 38 | + "scripts": { |
| 39 | + "dev": "vite", |
| 40 | + "prebuild": "rimraf dist", |
| 41 | + "build": "tsc && vite build", |
| 42 | + "format": "prettier . --check --ignore-unknown", |
| 43 | + "format:fix": "prettier . --write --ignore-unknown", |
| 44 | + "lint": "eslint . --ext .js,.ts,.tsx", |
| 45 | + "lint:fix": "eslint . --fix --ext .js,.ts,.tsx", |
| 46 | + "test": "vitest run", |
| 47 | + "typecheck": "tsc --project tsconfig.json --pretty --noEmit --emitDeclarationOnly false --incremental false", |
| 48 | + "prepare": "npm run build" |
| 49 | + }, |
| 50 | + "peerDependencies": { |
| 51 | + "react": ">= 16.8.0" |
| 52 | + }, |
| 53 | + "devDependencies": { |
| 54 | + "@testing-library/react": "13.4.0", |
| 55 | + "@types/react": "18.0.26", |
| 56 | + "@typescript-eslint/eslint-plugin": "5.47.1", |
| 57 | + "@typescript-eslint/parser": "5.47.1", |
| 58 | + "@vitejs/plugin-react-swc": "3.0.1", |
| 59 | + "eslint": "8.30.0", |
| 60 | + "eslint-config-prettier": "8.5.0", |
| 61 | + "eslint-plugin-import": "2.26.0", |
| 62 | + "eslint-plugin-react": "7.31.11", |
| 63 | + "eslint-plugin-react-hooks": "4.6.0", |
| 64 | + "eslint-plugin-unused-imports": "2.0.0", |
| 65 | + "jsdom": "20.0.3", |
| 66 | + "prettier": "2.8.1", |
| 67 | + "react": "18.2.0", |
| 68 | + "react-dom": "18.2.0", |
| 69 | + "rimraf": "3.0.2", |
| 70 | + "typescript": "4.9.4", |
| 71 | + "vite": "4.0.3", |
| 72 | + "vitest": "0.26.2" |
| 73 | + } |
| 74 | +} |
0 commit comments