@uiw/copy-to-clipboard
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "@uiw/copy-to-clipboard", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Copy to clipboard.", | ||
"main": "lib/index.js", | ||
"main": "dist/copy-to-clipboard.cjs.js", | ||
"module": "dist/copy-to-clipboard.esm.js", | ||
"browser": "dist/copy-to-clipboard.umd.js", | ||
"scripts": { | ||
"build": "BABEL_ENV=production babel --ignore=src/**/__test__ src --out-dir lib --copy-files --verbose", | ||
"watch": "BABEL_ENV=production babel -w --ignore=src/**/__test__ src --out-dir lib --copy-files --verbose" | ||
"build": "rollup -c", | ||
"dev": "rollup -c -w" | ||
}, | ||
@@ -14,10 +16,13 @@ "keywords": [], | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/uiw-react/copy-to-clipboard.git" | ||
}, | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@babel/cli": "^7.0.0", | ||
"@babel/core": "^7.0.0", | ||
"@babel/plugin-proposal-object-rest-spread": "^7.0.0", | ||
"@babel/plugin-transform-runtime": "^7.0.0", | ||
"@babel/preset-env": "^7.0.0" | ||
} | ||
"rollup": "^0.65.2", | ||
"rollup-plugin-commonjs": "^9.1.6", | ||
"rollup-plugin-node-resolve": "^3.4.0" | ||
}, | ||
"dependencies": {} | ||
} |
@@ -15,2 +15,10 @@ copy text to clipboard | ||
## Usage | ||
You will need Node.js installed on your system. | ||
```bash | ||
$ npm i copy-text-to-clipboard | ||
``` | ||
```js | ||
@@ -24,4 +32,6 @@ import copyTextToClipboard from '@uiw/copy-to-clipboard'; | ||
Or manually download and link [copy-to-clipboard]() in your HTML, It can also be downloaded via [UNPKG](https://unpkg.com/@uiw/copy-to-clipboard/dist/): | ||
### License | ||
Licensed under the MIT License. |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
8103
3
6
179
35
0
1