-
Notifications
You must be signed in to change notification settings - Fork 15
/
package.json
73 lines (73 loc) · 2.16 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"name": "react-use-clipboard",
"description": "React hook that provides copy to clipboard functionality.",
"version": "1.0.9",
"author": "Daniel O'Connor <[email protected]>",
"license": "MIT",
"type": "module",
"source": "./src/index.tsx",
"exports": {
"require": "./dist/react-use-clipboard.cjs",
"default": "./dist/react-use-clipboard.modern.js"
},
"main": "./dist/react-use-clipboard.cjs",
"module": "./dist/react-use-clipboard.module.js",
"unpkg": "./dist/react-use-clipboard.umd.js",
"types": "./dist/react-use-clipboard.d.ts",
"files": [
"dist"
],
"scripts": {
"test": "pnpm test:tslint && pnpm test:jest && pnpm test:prettier",
"test:tslint": "tslint -c tslint.json --project tsconfig.json '**/*.{ts,tsx,js,jsx}'",
"test:jest": "jest --coverage",
"test:prettier": "prettier . --check",
"format": "prettier . --write",
"build": "pnpm microbundle",
"release": "rm -rf dist && pnpm install --frozen-lockfile && pnpm test && pnpm build && pnpm changeset publish"
},
"dependencies": {
"copy-to-clipboard": "^3.3.1"
},
"devDependencies": {
"@babel/preset-env": "^7.19.4",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@changesets/cli": "^2.25.0",
"@testing-library/react": "^11.1.0",
"@types/jest": "^26.0.15",
"@types/react": "^16.9.55",
"@types/react-dom": "^16.9.9",
"jest": "^26.6.1",
"microbundle": "0.15.1",
"prettier": "^2.7.1",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"tslint-react": "^5.0.0",
"tslint-react-hooks": "^2.2.2"
},
"peerDependencies": {
"react": "^16.8.0 || ^17 || ^18",
"react-dom": "^16.8.0 || ^17 || ^18"
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/danoc/react-use-clipboard.git"
},
"bugs": {
"url": "https://github.com/danoc/react-use-clipboard/issues"
},
"keywords": [
"react",
"component",
"clipboard",
"hooks"
],
"homepage": "https://github.com/danoc/react-use-clipboard#readme",
"packageManager": "[email protected]"
}