-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
104 lines (104 loc) · 2.55 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
{
"name": "coc-flow",
"version": "0.1.4",
"description": "coc.nvim flow extension",
"main": "lib/index.js",
"keywords": [
"coc.nvim",
"vim",
"flow",
"lsp"
],
"homepage": "https://github.com/amiralies/coc-flow#readme",
"scripts": {
"clean": "rm -rf lib/",
"build": "webpack",
"lint": "eslint .",
"prepack": "npm run clean && npm run build",
"prepare": "npm run clean && npm run build"
},
"repository": "github:amiralies/coc-flow",
"contributes": {
"rootPatterns": [
{
"filetype": "javascript",
"patterns": [
"package.json",
".flowconfig"
]
},
{
"filetype": "javascriptreact",
"patterns": [
"package.json",
".flowconfig"
]
}
],
"configuration": {
"type": "object",
"title": "Flow configuration",
"properties": {
"flow.enable": {
"type": "boolean",
"default": true,
"description": "Enable flow extension"
},
"flow.pathToFlow": {
"type": "string",
"default": "flow",
"description": "Absolute path to flow binary"
},
"flow.useNPMPackagedFlow": {
"type": "boolean",
"default": true,
"description": "Use flow binary which exists in node_modules (recommended)"
},
"flow.stopFlowOnExit": {
"type": "boolean",
"default": true,
"description": "Stop flow server on exit"
},
"flow.lazyMode": {
"type": "string",
"enum": [
"fs",
"watchman",
"ide",
"none",
""
],
"default": "",
"description": "Which lazy mode to use, empty string will use lazy mode set in .flowconfig and any other value override that"
}
}
}
},
"author": {
"name": "Amirali Esmaeili",
"email": "esmailiamirali@gmail.com"
},
"license": "MIT",
"engines": {
"coc": "^0.0.4"
},
"activationEvents": [
"onLanguage:javascript",
"onLanguage:javascriptreact",
"workspaceContains:**/.flowconfig"
],
"devDependencies": {
"@babel/core": "^7.20.5",
"@babel/preset-env": "^7.20.2",
"@babel/preset-flow": "^7.18.6",
"babel-eslint": "^10.0.2",
"babel-loader": "^9.1.0",
"coc.nvim": "^0.0.79",
"eslint": "^6.2.1",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-plugin-import": "2.18.2",
"flow-bin": "^0.195.1",
"webpack": "^5.75.0",
"webpack-cli": "^5.0.1"
}
}