UNPKG

react-to-print

Version:
75 lines (74 loc) 1.83 kB
{ "name": "react-to-print", "version": "3.3.0", "description": "Print React components in the browser", "exports": { ".": { "import": { "types": "./dist/index.d.ts", "default": "./dist/react-to-print.mjs" }, "require": { "types": "./dist/index.d.ts", "default": "./dist/react-to-print.js" } } }, "types": "dist/index.d.ts", "files": [ "dist" ], "scripts": { "build": "npm run clean && tsc && vite build", "clean": "rm -rf dist", "lint": "eslint ./src", "prepare": "npm run lint && npm run build && husky install", "start": "vite -c vite.config.dev.ts" }, "repository": { "type": "git", "url": "git+https://github.com/MatthewHerbst/react-to-print.git" }, "keywords": [ "react", "print", "reactjs", "react-to-print" ], "author": "Matthew Herbst <MatthewHerbst.com>", "contributors": [ "gregnb <gregnb@gmail.com>" ], "license": "MIT", "bugs": { "url": "https://github.com/MatthewHerbst/react-to-print/issues" }, "homepage": "https://github.com/MatthewHerbst/react-to-print#readme", "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ~19" }, "devDependencies": { "@eslint/js": "^9.30.0", "@types/node": "^25.3.0", "@types/react": "^19.2.14", "@types/react-dom": "^19.2.3", "@vitejs/plugin-react": "^5.1.4", "eslint": "^9.39.3", "eslint-plugin-react": "^7.37.5", "eslint-plugin-react-hooks": "^7.0.1", "husky": "^9.1.7", "lint-staged": "^16.2.7", "react": "^19.2.4", "react-dom": "^19.2.4", "react-tabs": "^6.1.0", "tslib": "^2.8.1", "typescript": "^5.9.3", "typescript-eslint": "^8.56.0", "vite": "^7.3.1" }, "lint-staged": { "*.{ts,tsx}": [ "eslint" ] } }