-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
153 lines (153 loc) · 4.3 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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
{
"name": "coc-elixir",
"version": "0.7.0",
"description": "coc.nvim elixir extension",
"main": "lib/index.js",
"keywords": [
"coc.nvim",
"vim",
"elixir",
"lsp"
],
"homepage": "https://github.com/amiralies/coc-elixir#readme",
"scripts": {
"clean": "rm -rf lib/",
"lint": "eslint .",
"build": "webpack",
"prepack": "npm run clean && npm run build"
},
"repository": "github:amiralies/coc-elixir",
"engines": {
"coc": "^0.0.4"
},
"activationEvents": [
"onLanguage:elixir"
],
"contributes": {
"rootPatterns": [
{
"filetype": "elixir",
"patterns": [
"mix.lock",
"mix.exs"
]
}
],
"configuration": {
"type": "object",
"title": "Elixir Config",
"properties": {
"elixir.enable": {
"type": "boolean",
"default": true,
"description": "Enable elixir extension"
},
"elixir.pathToElixirLS": {
"type": "string",
"default": "",
"description": "Custom path for elixirLS, use this options if you don't want use bundled elixirLS"
},
"elixir.trace.server": {
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "Traces the communication between VS Code and the Elixir language server."
},
"elixirLS.dialyzerEnabled": {
"type": "boolean",
"default": true,
"description": "Run ElixirLS's rapid Dialyzer when code is saved"
},
"elixirLS.dialyzerWarnOpts": {
"description": "Dialyzer options to enable or disable warnings. See Dialyzer's documentation for options. Note that the \"race_conditions\" option is unsupported",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string",
"enum": [
"error_handling",
"no_behaviours",
"no_contracts",
"no_fail_call",
"no_fun_app",
"no_improper_lists",
"no_match",
"no_missing_calls",
"no_opaque",
"no_return",
"no_undefined_callbacks",
"no_unused",
"underspecs",
"unknown",
"unmatched_returns",
"overspecs",
"specdiffs"
]
},
"default": []
},
"elixirLS.dialyzerFormat": {
"description": "Formatter to use for Dialyzer warnings",
"type": "string",
"enum": [
"dialyzer",
"dialyxir_short",
"dialyxir_long"
],
"default": "dialyzer"
},
"elixirLS.mixEnv": {
"type": "string",
"description": "Mix environment to use for compilation",
"default": "test",
"minLength": 1
},
"elixirLS.mixTarget": {
"scope": "resource",
"type": "string",
"description": "Mix target to use for compilation (requires Elixir >= 1.8)",
"minLength": 0
},
"elixirLS.projectDir": {
"type": "string",
"description": "Subdirectory containing Mix project if not in the project root",
"minLength": 1
},
"elixirLS.fetchDeps": {
"type": "boolean",
"description": "Automatically fetch project dependencies when compiling",
"default": true
},
"elixirLS.suggestSpecs": {
"type": "boolean",
"description": "Suggest @spec annotations inline using Dialyzer's inferred success typings (Requires Dialyzer)",
"default": true
}
}
}
},
"author": {
"name": "Amirali Esmaeili",
"email": "[email protected]"
},
"license": "MIT",
"dependencies": {},
"devDependencies": {
"@babel/core": "^7.4.5",
"@babel/preset-env": "^7.4.5",
"@babel/preset-flow": "^7.0.0",
"babel-eslint": "^10.0.2",
"babel-loader": "^8.0.6",
"coc.nvim": "^0.0.71",
"eslint": "^5.3.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-plugin-import": "^2.18.0",
"flow-bin": "^0.102.0",
"webpack": "^4.35.0",
"webpack-cli": "^3.3.5"
}
}