forked from zenghongtu/react-use-chinese
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
132 lines (132 loc) · 3.38 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{
"name": "react-use",
"version": "8.1.3",
"description": "Collection of React Hooks",
"main": "lib/index.js",
"module": "esm/index.js",
"files": [
"lib/",
"esm/"
],
"types": "lib/index.d.ts",
"typings": "lib/index.d.ts",
"scripts": {
"start": "yarn storybook",
"test": "jest",
"test:watch": "jest --watch",
"lint": "tslint 'src/**/*.{ts,tsx}' -t verbose",
"lint:fix": "yarn lint --fix",
"lint:types": "tsc --noEmit",
"build:cjs": "tsc",
"build:es": "tsc -m esNext --outDir esm",
"build": "yarn build:cjs && yarn build:es",
"clean": "rimraf lib storybook-static esm",
"storybook": "start-storybook -p 6008",
"storybook:build": "build-storybook",
"storybook:upload": "gh-pages -d storybook-static",
"storybook:clean": "rimraf storybook-static",
"release": "semantic-release"
},
"husky": {
"hooks": {
"pre-commit": "yarn lint:types && lint-staged"
}
},
"author": "@streamich",
"license": "Unlicense",
"repository": {
"type": "git",
"url": "https://github.com/streamich/react-use"
},
"bugs": {
"url": "https://github.com/streamich/react-use/issues"
},
"homepage": "https://github.com/streamich/react-use#readme",
"dependencies": {
"copy-to-clipboard": "^3.1.0",
"nano-css": "^5.1.0",
"react-fast-compare": "^2.0.4",
"react-wait": "^0.3.0",
"screenfull": "^4.1.0",
"throttle-debounce": "^2.0.1",
"ts-easing": "^0.2.0"
},
"peerDependencies": {
"keyboardjs": "*",
"react": "^16.8.0",
"react-dom": "^16.8.0",
"rebound": "*"
},
"devDependencies": {
"@babel/core": "7.4.3",
"@babel/preset-env": "7.4.3",
"@babel/preset-react": "7.0.0",
"@babel/preset-typescript": "7.3.3",
"@semantic-release/changelog": "3.0.2",
"@semantic-release/git": "7.0.8",
"@semantic-release/npm": "5.1.4",
"@storybook/addon-actions": "5.0.10",
"@storybook/addon-knobs": "5.0.10",
"@storybook/addon-notes": "5.0.10",
"@storybook/addon-options": "5.0.10",
"@storybook/react": "5.0.10",
"@types/jest": "24.0.11",
"@types/react": "16.8.14",
"babel-core": "6.26.3",
"babel-loader": "8.0.5",
"fork-ts-checker-webpack-plugin": "1.1.0",
"gh-pages": "2.0.1",
"husky": "1.3.1",
"jest": "24.7.1",
"keyboardjs": "2.5.1",
"lint-staged": "8.1.5",
"markdown-loader": "5.0.0",
"prettier": "1.17.0",
"react": "16.8.4",
"react-dom": "16.8.4",
"react-hooks-testing-library": "0.4.1",
"react-spring": "6.1.10",
"rebound": "0.1.0",
"rimraf": "2.6.3",
"rxjs": "6.4.0",
"semantic-release": "15.13.3",
"ts-loader": "5.3.3",
"ts-node": "8.1.0",
"tslint": "5.16.0",
"tslint-config-prettier": "1.18.0",
"tslint-eslint-rules": "5.4.0",
"tslint-plugin-prettier": "2.0.1",
"tslint-react": "4.0.0",
"typescript": "3.4.4"
},
"config": {
"commitizen": {
"path": "git-cz"
}
},
"release": {
"branches": [
"master",
{
"name": "next",
"prerelease": "rc"
}
],
"verifyConditions": [
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git"
],
"prepare": [
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git"
]
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"tslint --fix -t verbose",
"git add"
]
}
}