UNPKG

react-to-print

Version:

Print React components in the browser

70 lines (69 loc) 1.82 kB
{ "name": "react-to-print", "version": "2.15.1", "description": "Print React components in the browser", "main": "lib/index.js", "types": "lib/index.d.ts", "files": [ "lib" ], "scripts": { "build": "NODE_ENV=production webpack --progress", "lint": "eslint src/**/*.{ts,tsx}", "prepare": "npm run build && husky install", "start": "NODE_ENV=development webpack serve" }, "repository": { "type": "git", "url": "git+https://github.com/gregnb/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/gregnb/react-to-print/issues" }, "homepage": "https://github.com/gregnb/react-to-print#readme", "peerDependencies": { "react": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0", "react-dom": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0" }, "devDependencies": { "@types/react": "^18.2.55", "@types/react-dom": "^18.2.19", "@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/parser": "^6.21.0", "acorn": "^8.11.3", "clean-webpack-plugin": "^4.0.0", "copy-webpack-plugin": "^12.0.2", "css-loader": "^6.10.0", "eslint": "^8.56.0", "html-webpack-plugin": "^5.6.0", "husky": "^9.0.10", "lint-staged": "^15.2.2", "react": "^18.2.0", "react-dom": "^18.2.0", "react-tabs": "^6.0.2", "style-loader": "^3.3.4", "ts-loader": "^9.5.1", "tslib": "^2.6.2", "typescript": "^5.3.3", "url-loader": "^4.1.1", "webpack": "^5.90.1", "webpack-cli": "^5.1.4", "webpack-dev-server": "^4.15.1" }, "lint-staged": { "*.{ts,tsx}": [ "eslint" ] } }