@finsweet/attributes-copyclip
Version:
Set any element to copy a string value to the clipboard when clicking on it.
46 lines • 1.2 kB
JSON
{
"name": "@finsweet/attributes-copyclip",
"version": "1.7.0",
"description": "Set any element to copy a string value to the clipboard when clicking on it.",
"homepage": "https://www.finsweet.com/attributes",
"sideEffects": false,
"type": "module",
"main": "copyclip.js",
"files": [
"copyclip.js",
"examples.json",
"schema.json",
"changesets.json"
],
"repository": {
"type": "git",
"url": "git+https://github.com/finsweet/attributes.git"
},
"keywords": [
"webflow",
"copy",
"clipboard",
"attributes",
"no code"
],
"author": {
"name": "Finsweet",
"url": "https://www.finsweet.com/"
},
"bugs": {
"url": "https://sweetjs.finsweet.com/"
},
"dependencies": {
"clipboard": "^2.0.11"
},
"scripts": {
"dev": "cross-env NODE_ENV=development node ./bin/build.js",
"build:dev": "cross-env NODE_ENV=test node ./bin/build.js",
"build": "cross-env NODE_ENV=production node ./bin/build.js",
"lint": "eslint ./src && prettier --check ./src",
"check": "tsc --noEmit",
"format": "prettier --write ./src",
"test": "pnpm playwright test",
"test:headed": "pnpm playwright test --headed"
}
}