UNPKG

@erock530/react-iframe

Version:

A lightweight React component for rendering iframes with custom headers

75 lines (74 loc) 1.99 kB
{ "name": "@erock530/react-iframe", "version": "1.0.2", "description": "A lightweight React component for rendering iframes with custom headers", "author": { "name": "Erock530", "email": "erock3085@gmail.com", "url": "https://github.com/erock530" }, "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/erock530/react-iframe.git" }, "bugs": { "url": "https://github.com/erock530/react-iframe/issues" }, "homepage": "https://github.com/erock530/react-iframe#readme", "keywords": [ "react", "iframe", "react-component", "headers", "authentication", "embed", "custom-headers", "typescript", "javascript" ], "main": "dist/index.js", "module": "dist/index.modern.js", "source": "src/index.js", "types": "dist/index.d.ts", "engines": { "node": ">=22" }, "scripts": { "build": "microbundle-crl --no-compress --format modern,cjs && npm run copy-types", "copy-types": "node -e \"const fs = require('fs'); fs.copyFileSync('src/index.d.ts', 'dist/index.d.ts')\"", "start": "microbundle-crl watch --no-compress --format modern,cjs", "prepare": "run-s build", "test": "run-s test:lint test:build", "test:lint": "eslint .", "test:build": "run-s build", "prepublishOnly": "npm run build", "type-check": "tsc --noEmit" }, "files": [ "dist", "README.md", "LICENSE" ], "peerDependencies": { "react": ">=19.0.0", "react-dom": ">=19.0.0" }, "devDependencies": { "@eslint/js": "^9.28.0", "@types/react": "^19.1.8", "@types/react-dom": "^19.1.6", "babel-eslint": "^10.1.0", "cross-env": "^7.0.3", "eslint": "^9.28.0", "eslint-plugin-react": "^7.37.5", "globals": "^16.2.0", "microbundle-crl": "^0.13.11", "npm-run-all": "^4.1.5", "prettier": "^3.5.3", "prop-types": "^15.8.1", "react": "^19.1.0", "react-dom": "^19.1.0", "typescript": "^4.9.5" } }