-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
45 lines (45 loc) · 1.08 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
{
"name": "use-event-hook",
"version": "2.0.1",
"description": "useEffect with DOM event",
"main": "dist/index.js",
"umd:main": "dist/index.umd.js",
"module": "dist/index.m.js",
"source": "src/index.ts",
"typings": "dist/index.d.ts",
"files": ["dist"],
"author": "Yuchen Liu",
"license": "MIT",
"repository": {
"type": "git",
"url": "git@github.com:liuyuchenzh/use-event-hook.git"
},
"bugs": {
"url": "https://github.com/liuyuchenzh/use-event-hook/issues"
},
"devDependencies": {
"@types/react": "16.9.43",
"husky": "4.2.5",
"lint-staged": "10.2.11",
"microbundle": "0.12.2",
"prettier": "2.0.5",
"pretty-quick": "2.0.1",
"react": "16.13.1",
"tslint": "6.1.2",
"tslint-plugin-prettier": "2.3.0"
},
"scripts": {
"build": "microbundle --external react",
"dev": "microbundle watch",
"format": "pretty-quick",
"clean": "rm -rf dist"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && pretty-quick --staged"
}
},
"lint-staged": {
"*.{ts,tsx}": ["tslint --fix", "git add"]
}
}