-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
83 lines (83 loc) · 2.21 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
74
75
76
77
78
79
80
81
82
83
{
"name": "react-wordpress-hooks",
"version": "3.2.0",
"description": "Set of hooks for WordPress REST API",
"author": "Jakub Biesiada",
"license": "MIT",
"main": "lib/react-wordpress-hooks.cjs.js",
"module": "lib/react-wordpress-hooks.esm.js",
"types": "lib/index.d.ts",
"scripts": {
"prepack": "npm run clean && npm run prettier && npm run lint && npm run build",
"clean": "rimraf lib/*",
"build": "rollup -c",
"watch": "npm run build -- --watch",
"deploy": "gh-pages -d .docz/dist",
"lint": "eslint 'src/**/*.{tsx,ts}' --fix",
"prettier": "prettier --write 'src/**/*.{tsx,ts}'",
"docz:dev": "docz dev",
"docz:build": "docz build --base /react-wordpress-hooks",
"commit": "git-cz",
"semantic-release": "semantic-release"
},
"repository": {
"type": "git",
"url": "https://github.com/cool-hooks/react-wordpress-hooks.git"
},
"keywords": [
"wordpress",
"hooks",
"react",
"library",
"rest",
"api"
],
"bugs": {
"url": "https://github.com/cool-hooks/react-wordpress-hooks/issues"
},
"homepage": "https://github.com/cool-hooks/react-wordpress-hooks#readme",
"dependencies": {
"react-safe-context-hooks": "^1.0.0"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^11.0.1",
"@types/react": "^17.0.0",
"@typescript-eslint/parser": "^4.11.0",
"cz-conventional-changelog": "3.3.0",
"docz": "^2.3.1",
"eslint": "^7.16.0",
"eslint-config-prettier": "^7.1.0",
"eslint-plugin-prettier": "^3.3.0",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.2.0",
"gh-pages": "^3.1.0",
"husky": "^4.3.6",
"lint-staged": "^10.5.3",
"prettier": "^2.2.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.29.0",
"typescript": "^4.1.3",
"semantic-release": "^17.3.0"
},
"peerDependencies": {
"react": ">=16.8.0"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{tsx,ts}": [
"npm run prettier",
"npm run lint"
]
}
}