react-copy-to-clipboard
Version:
Copy-to-clipboard React component
87 lines (86 loc) • 2.77 kB
JSON
{
"name": "react-copy-to-clipboard",
"version": "5.1.1",
"description": "Copy-to-clipboard React component",
"main": "lib/index.js",
"config": {
"component": "CopyToClipboard"
},
"scripts": {
"build": "yarn lib && yarn dist",
"start": "NODE_ENV=development webpack-cli serve --config ./webpack/dev.config.js",
"predist": "rm -rf ./build",
"dist": "NODE_ENV=production webpack-cli --config ./webpack/dist.config.js && NODE_ENV=production webpack-cli --config ./webpack/min.config.js",
"preghPages": "yarn pub",
"ghPages": "gh-pages --dist ./pub --repo git@github.com:nkbt/react-copy-to-clipboard.git --user nik@butenko.me --branch gh-pages --message 'Publish examples'",
"prelib": "rm -rf ./lib",
"lib": "NODE_ENV=production babel src --out-dir lib",
"lint": "biome check .",
"lint:fix": "biome check --unsafe --write .",
"prepub": "rm -rf ./pub",
"pub": "NODE_ENV=production webpack-cli --config ./webpack/pub.config.js",
"test": "node test/Component-test.js",
"prepublishOnly": "yarn build",
"postversion": "git push --follow-tags",
"deps": "depcheck",
"check:deps": "[ ! $(depcheck | grep --invert-match 'No depcheck issue') ]"
},
"repository": {
"type": "git",
"url": "https://github.com/nkbt/react-copy-to-clipboard.git"
},
"keywords": [
"component",
"react-component",
"react",
"copy to clipboard",
"clipboard"
],
"author": "Nik Butenko <nik@butenko.me>",
"license": "MIT",
"bugs": {
"url": "https://github.com/nkbt/react-copy-to-clipboard/issues"
},
"homepage": "https://github.com/nkbt/react-copy-to-clipboard",
"peerDependencies": {
"react": ">=15.3.0"
},
"dependencies": {
"copy-to-clipboard": "^3.3.3",
"prop-types": "^15.8.1"
},
"devDependencies": {
"@babel/cli": "^7.28.6",
"@babel/core": "^7.29.0",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/preset-env": "^7.29.0",
"@babel/preset-react": "^7.28.5",
"@babel/register": "^7.28.6",
"@biomejs/biome": "^2.4.6",
"babel-loader": "^10.1.0",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"css-loader": "^7.1.4",
"depcheck": "^1.4.7",
"gh-pages": "^6.3.0",
"html-webpack-plugin": "^5.6.6",
"html-webpack-tags-plugin": "^3.0.2",
"mini-css-extract-plugin": "^2.10.0",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"style-loader": "^4.0.0",
"tape": "^5.9.0",
"webpack": "^5.105.4",
"webpack-cli": "^6.0.1",
"webpack-dev-server": "^5.2.3"
},
"files": [
"build",
"lib",
"src",
"LICENSE",
"package.json",
"README.md"
],
"packageManager": "yarn@4.12.0"
}