-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
68 lines (68 loc) · 1.74 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
{
"name": "coc-react-refactor",
"version": "0.5.0",
"description": "React refactor extension for coc.nvim",
"author": "Heyward Fann <fannheyward@gmail.com>",
"license": "MIT",
"main": "lib/index.js",
"keywords": [
"coc.nvim"
],
"engines": {
"coc": "^0.0.78"
},
"scripts": {
"lint": "eslint src --ext ts",
"watch": "webpack --watch",
"build": "webpack",
"prepare": "webpack"
},
"devDependencies": {
"@babel/core": "^7.10.4",
"@babel/parser": "^7.10.4",
"@babel/template": "^7.10.4",
"@babel/traverse": "^7.10.4",
"@babel/types": "^7.10.4",
"@types/node": "^16.4.10",
"@typescript-eslint/eslint-plugin": "^4.16.1",
"@typescript-eslint/parser": "^4.16.1",
"coc.nvim": "^0.0.80",
"eslint": "^7.3.1",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-prettier": "^3.1.4",
"lines-and-columns": "^1.1.6",
"lodash.pickby": "^4.6.0",
"prettier": "^2.0.5",
"ts-loader": "^9.2.2",
"typescript": "^4.0.3",
"webpack": "^5.24.2",
"webpack-cli": "^4.5.0"
},
"activationEvents": [
"workspaceContains:package.json"
],
"prettier": {
"singleQuote": true,
"printWidth": 120,
"semi": true
},
"contributes": {
"configuration": {
"type": "object",
"title": "coc-react-refactor configuration",
"properties": {
"react-refactor.produceClass": {
"type": "boolean",
"default": true,
"markdownDescription": "Create a class-based component, will create a function component when disabled, only works for `Extract to file`"
}
}
},
"commands": [
{
"command": "react-refactor.extractToFunction",
"title": "Extract JSX to function"
}
]
}
}