|
4 | 4 | "version": "1.0.4",
|
5 | 5 | "author": "Daniel O'Connor <[email protected]>",
|
6 | 6 | "license": "MIT",
|
7 |
| - "main": "dist/react-use-clipboard.js", |
8 |
| - "umd:main": "dist/react-use-clipboard.umd.js", |
9 |
| - "module": "dist/react-use-clipboard.m.js", |
10 |
| - "types": "dist/index.d.ts", |
11 |
| - "source": "src/index.tsx", |
| 7 | + "source": "./src/index.tsx", |
| 8 | + "main": "./dist/react-use-clipboard.js", |
| 9 | + "exports": "./dist/react-use-clipboard.modern.js", |
| 10 | + "module": "./dist/react-use-clipboard.module.js", |
| 11 | + "unpkg": "./dist/react-use-clipboard.umd.js", |
| 12 | + "types": "./dist/react-use-clipboard.d.ts", |
12 | 13 | "files": [
|
13 | 14 | "dist"
|
14 | 15 | ],
|
|
24 | 25 | "copy-to-clipboard": "^3.3.1"
|
25 | 26 | },
|
26 | 27 | "devDependencies": {
|
27 |
| - "@babel/core": "^7.12.3", |
28 |
| - "@babel/preset-env": "^7.12.1", |
29 |
| - "@babel/preset-react": "^7.12.1", |
30 |
| - "@babel/preset-typescript": "^7.12.1", |
| 28 | + "@babel/preset-typescript": "^7.12.7", |
31 | 29 | "@changesets/cli": "^2.12.0",
|
32 | 30 | "@testing-library/react": "^11.1.0",
|
33 | 31 | "@types/jest": "^26.0.15",
|
34 | 32 | "@types/react": "^16.9.55",
|
35 | 33 | "@types/react-dom": "^16.9.9",
|
36 |
| - "babel-core": "^7.0.0-bridge.0", |
37 |
| - "babel-jest": "^26.6.1", |
38 |
| - "babel-loader": "^8.1.0", |
39 | 34 | "jest": "^26.6.1",
|
40 |
| - "microbundle": "0.11.0", |
| 35 | + "microbundle": "0.12.4", |
41 | 36 | "prettier": "^2.2.1",
|
42 | 37 | "react": "^17.0.1",
|
43 | 38 | "react-dom": "^17.0.1",
|
|
0 commit comments