react-copy-to-clipboard-ts
Version:
React 18, 19 compatible copy-to-clipboard component with TypeScript
78 lines (77 loc) • 2.3 kB
JSON
{
"name": "react-copy-to-clipboard-ts",
"version": "1.3.0",
"description": "React 18, 19 compatible copy-to-clipboard component with TypeScript",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"files": [
"dist"
],
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"lint": "biome lint .",
"format": "biome format --write .",
"check": "biome check .",
"check:fix": "biome check --write .",
"ci": "biome ci .",
"demo:dev": "vite --config demo/vite.config.ts",
"demo:build": "vite build --config demo/vite.config.ts",
"demo:preview": "vite preview --config demo/vite.config.ts",
"prepare": "npm run build"
},
"keywords": [
"react",
"copy-to-clipboard",
"typescript"
],
"repository": {
"type": "git",
"url": "git+https://github.com/t0yohei/react-copy-to-clipboard-ts.git"
},
"homepage": "https://github.com/t0yohei/react-copy-to-clipboard-ts.git",
"bugs": {
"url": "https://github.com/t0yohei/react-copy-to-clipboard-ts/issues"
},
"author": "t0yohei <k.t0yohei@gmail.com>",
"license": "MIT",
"peerDependencies": {
"react": ">=18.0.0"
},
"dependencies": {
"copy-to-clipboard": "^3.3.3"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.5.2",
"@types/node": "^24.0.2",
"@types/react": "^19.1.2",
"@types/react-dom": "^19.1.2",
"@vitejs/plugin-react": "^4.2.0",
"@vitest/coverage-v8": "^3.1.1",
"jsdom": "^26.1.0",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"typescript": "5.8.3",
"vite": "^7.0.0",
"vite-plugin-dts": "^4.5.4",
"vitest": "^3.1.1"
},
"packageManager": "yarn@4.8.0+sha512.85ec3149b1ec48f47c2690e13b29197a8a84b09c2c936cc596dddfb49c517e3bc3b1881ec52b5d35ca4b7c437c3f0daae3a80e39438c93bbcc5fcece2df5f15a"
}