-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
68 lines (68 loc) · 1.93 KB
/
package.json
File metadata and controls
68 lines (68 loc) · 1.93 KB
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
{
"name": "react-hooks-common",
"version": "0.3.8",
"description": "some common react hooks collection",
"main": "lib/index.js",
"browser": "es/index.js",
"types": "types/index.d.ts",
"scripts": {
"test": "jest --coverage",
"test:watch": "jest --watch",
"start": "docz dev",
"build:doc": "docz build",
"pub:doc": "npm run build:doc && gh-pages -d .docz/dist",
"build": "npm run build:types && npm run build:cjs && npm run build:es",
"build:cjs": "rimraf ./lib && cross-env MODULES=cjs babel src --out-dir lib --extensions .ts",
"build:es": "rimraf ./es && babel src --out-dir es --extensions .ts",
"build:types": "rimraf ./types && tsc --emitDeclarationOnly",
"prepublishOnly": "yarn build"
},
"husky": {
"hooks": {
"pre-commit": "npm test"
}
},
"keywords": [
"react",
"hooks",
"react-hooks",
"collection",
"common"
],
"author": "frezc",
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.3.4",
"react-use-dimensions": "^1.1.2",
"react-use-promise-alternative": "^0.2.1-alt1",
"use-lodash-debounce-throttle": "^0.3.5",
"use-media": "^1.2.0"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.3.3",
"@babel/plugin-transform-runtime": "^7.3.4",
"@babel/preset-env": "^7.3.1",
"@babel/preset-typescript": "^7.3.3",
"@types/jest": "^24.0.11",
"@types/react": "^16.8.3",
"cross-env": "^5.2.0",
"docz": "^0.13.7",
"docz-theme-default": "^0.13.7",
"gh-pages": "^2.0.1",
"husky": "^1.3.1",
"jest": "^24.5.0",
"react": "^16.8.2",
"react-dom": "^16.8.2",
"react-hooks-testing-library": "^0.3.6",
"rimraf": "^2.6.3",
"ts-jest": "^24.0.0",
"typescript": "^3.3.3"
},
"manual": "2a28f284-c9ba-4077-8ba5-8b9cbc804b10",
"repository": "git@github.com:Frezc/react-hooks-common.git"
}