-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
53 lines (53 loc) · 1.16 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
{
"name": "react-class-to-fc",
"version": "1.0.0",
"description": "transform class component to function component",
"main": "index.js",
"bin": {
"ctfc": "bin/ctfc"
},
"scripts": {
"test": "",
"format": "prettier --write .",
"prepublish": "babel src -d lib"
},
"repository": {
"type": "git",
"url": "git+https://github.com/yklydxtt/react-fc-to-class.git"
},
"author": "guoyuwei",
"license": "MIT",
"bugs": {
"url": "https://github.com/yklydxtt/react-fc-to-class/issues"
},
"homepage": "https://github.com/yklydxtt/react-fc-to-class#readme",
"dependencies": {
"@babel/preset-env": "^7.14.7",
"chalk": "^4.1.1",
"commander": "^8.0.0",
"inquirer": "^8.1.1"
},
"devDependencies": {
"@babel/cli": "^7.14.5",
"@babel/core": "^7.14.6",
"lint-staged": "^11.1.2",
"prettier": "^2.3.2",
"yorkie": "^2.0.0"
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"*": [
"prettier --write --ignore-unknown"
],
"*.{js,md}": [
"prettier --write",
"git add"
],
"*.ts": [
"prettier --parser=typescript --write",
"git add"
]
}
}