1 | {
|
2 | "name": "clipboard-polyfill",
|
3 | "version": "3.0.3",
|
4 | "description": "A polyfill for the asynchronous clipboard API",
|
5 | "main": "dist/main/clipboard-polyfill.js",
|
6 | "module": "dist/main/clipboard-polyfill.esm.js",
|
7 | "types": "dist/main/targets/main.d.ts",
|
8 | "devDependencies": {
|
9 | "@babel/core": "^7.10.3",
|
10 | "@babel/preset-env": "^7.10.3",
|
11 | "@babel/preset-typescript": "^7.10.1",
|
12 | "@types/es6-promise": "^3.3.0",
|
13 | "@types/jest": "^24.9.1",
|
14 | "@types/promise-polyfill": "^6.0.3",
|
15 | "babel-preset-es2015-rollup": "^3.0.0",
|
16 | "es6-promise": "^4.2.8",
|
17 | "jest": "^26.6.3",
|
18 | "promise-polyfill": "^8.1.3",
|
19 | "rollup": "^1.32.1",
|
20 | "rollup-plugin-babel": "^4.4.0",
|
21 | "rollup-plugin-terser": "^6.1.0",
|
22 | "rollup-plugin-tslint": "^0.2.2",
|
23 | "rollup-plugin-typescript2": "^0.27.1",
|
24 | "ts-jest": "^26.1.1",
|
25 | "ts-loader": "^5.2.2",
|
26 | "tslint": "^5.18.0",
|
27 | "typescript": "^3.9.5"
|
28 | },
|
29 | "repository": {
|
30 | "type": "git",
|
31 | "url": "https://github.com/lgarron/clipboard-polyfill"
|
32 | },
|
33 | "keywords": [
|
34 | "clipboard",
|
35 | "HTML5",
|
36 | "copy",
|
37 | "copying",
|
38 | "cut",
|
39 | "paste",
|
40 | "execCommand",
|
41 | "setData",
|
42 | "getData",
|
43 | "polyfill"
|
44 | ],
|
45 | "author": "Lucas Garron <code@garron.net> (https://garron.net/)",
|
46 | "license": "MIT",
|
47 | "bugs": {
|
48 | "url": "https://github.com/lgarron/clipboard-polyfill/issues"
|
49 | },
|
50 | "files": [
|
51 | "/build",
|
52 | "/dist",
|
53 | "/src",
|
54 | "/overwrite-globals",
|
55 | "/text",
|
56 | "README.md"
|
57 | ],
|
58 | "scripts": {
|
59 | "build": "rollup -c",
|
60 | "dev": "rollup -cw",
|
61 | "clean": "rm -rf dist",
|
62 | "test": "jest",
|
63 | "setup": "npm install",
|
64 | "lint": "tslint --fix --project . ; tslint --fix rollup.config.js",
|
65 | "prepack": "npm run clean && npm run build"
|
66 | },
|
67 | "exports": {
|
68 | ".": {
|
69 | "require": "./dist/main/clipboard-polyfill.js",
|
70 | "import": "./dist/main/clipboard-polyfill.esm.js",
|
71 | "types": "./dist/main/targets/main.d.ts"
|
72 | },
|
73 | "./overwrite-globals": {
|
74 | "require": "./dist/overwrite-globals/clipboard-polyfill.overwrite-globals.js",
|
75 | "import": "./dist/overwrite-globals/clipboard-polyfill.overwrite-globals.esm.js",
|
76 | "types": "./dist/overwrite-globals/targets/overwrite-globals.d.ts"
|
77 | },
|
78 | "./text": {
|
79 | "require": "./dist/text/clipboard-polyfill.text.js",
|
80 | "import": "./dist/text/clipboard-polyfill.text.esm.js",
|
81 | "types": "./dist/text/targets/text.d.ts"
|
82 | }
|
83 | }
|
84 | }
|