-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
72 lines (72 loc) · 2.02 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
{
"name": "use-clipboard-api",
"version": "0.3.6",
"description": "📋useClipboardApi is a React Hook that consumes Web Clipboard API.",
"author": "Helder B. Berto <[email protected]>",
"main": "dist/index.js",
"types": "dist/types/index.d.ts",
"scripts": {
"lint": "eslint . --ext .js,.ts,.tsx --max-warnings=0",
"format": "prettier --write \"**/*.+(js|ts|tsx|json)\"",
"test": "jest --maxWorkers=50%",
"test:ci": "jest",
"test:watch": "jest --watch --maxWorkers=50%",
"build": "rm -rf ./dist && tsc",
"prepare": "husky install",
"prepublishOnly": "npm run build"
},
"keywords": [
"react",
"react-hook",
"hooks",
"hook",
"clipboard",
"web-api"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/helderberto/use-clipboard-api"
},
"bugs": {
"url": "https://github.com/helderberto/use-clipboard-api/issues"
},
"homepage": "https://github.com/helderberto/use-clipboard-api#readme",
"peerDependencies": {
"react": ">=16.0.0"
},
"devDependencies": {
"@commitlint/cli": "^17.0.0",
"@commitlint/config-conventional": "^17.0.0",
"@swc/core": "^1.2.146",
"@swc/jest": "^0.2.17",
"@testing-library/react": "^13.0.0",
"@testing-library/react-hooks": "^8.0.0",
"@types/jest": "^29.0.0",
"@types/react": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.21.0",
"@typescript-eslint/parser": "^5.10.2",
"eslint": "^8.10.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-react": "^7.29.2",
"eslint-plugin-react-hooks": "^4.3.0",
"husky": "^8.0.1",
"jest": "^29.0.0",
"jest-environment-jsdom": "^29.0.1",
"lint-staged": ">=10",
"prettier": "^2.5.1",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"ts-node": "^10.6.0",
"typescript": "^4.5.5"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.{js,ts,tsx}": "eslint --cache --fix",
"*.+(js|ts|tsx|json)": "prettier --write"
}
}