nextjs-link-preview
Version:
A simple, lightweight Next.js component for displaying beautiful link preview cards with preset image support
73 lines (72 loc) • 1.92 kB
JSON
{
"name": "nextjs-link-preview",
"version": "1.0.6",
"type": "module",
"description": "A simple, lightweight Next.js component for displaying beautiful link preview cards with preset image support",
"keywords": [
"nextjs",
"next",
"react",
"link-preview",
"preview",
"card",
"component",
"typescript",
"presentational",
"github",
"npm",
"preset"
],
"author": "Seth Carney",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/sethcarney/nextjs-link-preview.git"
},
"homepage": "https://github.com/sethcarney/nextjs-link-preview#readme",
"bugs": {
"url": "https://github.com/sethcarney/nextjs-link-preview/issues"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"main": "dist/index.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"bin",
"README.md",
"LICENSE"
],
"bin": {
"nextjs-link-preview": "bin/setup.js"
},
"scripts": {
"build": "rollup -c",
"copy-component": "cp src/nextjs/components/LinkPreview.tsx nextjs-demo/src/components/LinkPreview.tsx",
"dev": "npm run copy-component && cd nextjs-demo && npm run dev",
"test": "npm run copy-component && cd nextjs-demo && npm run dev",
"prepublishOnly": "npm run build"
},
"peerDependencies": {
"next": ">=14.0.0",
"react": ">=18.0.0",
"react-dom": ">=18.0.0"
},
"dependencies": {},
"devDependencies": {
"@rollup/plugin-commonjs": "^29.0.0",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-typescript": "^12.3.0",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"prettier": "^3.6.2",
"rollup": "^4.53.1",
"rollup-plugin-dts": "^6.2.3",
"rollup-plugin-peer-deps-external": "^2.2.4",
"tslib": "^2.8.1",
"typescript": "^5.9.3"
}
}