This repository has been archived by the owner on Oct 11, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
129 lines (129 loc) · 3.5 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
{
"name": "vscode-merlin",
"description": "VS Code Merlin Extension",
"author": "Andrey Popp <[email protected]>",
"publisher": "andreypopp",
"license": "MIT",
"version": "0.1.0",
"repository": {
"type": "git",
"url": "https://github.com/ocaml/melrin"
},
"engines": {
"vscode": "^1.23.0"
},
"activationEvents": [
"onLanguage:reason",
"onLanguage:ocaml"
],
"main": "./dist/extension.js",
"contributes": {
"jsonValidation": [
{
"fileMatch": "esy.json",
"url": "https://raw.githubusercontent.com/esy/esy-schema/master/esySchema.json"
},
{
"fileMatch": "package.json",
"url": "https://raw.githubusercontent.com/esy/esy-schema/master/esySchema.json"
}
],
"commands": [
{
"command": "merlin-language-server.restart",
"title": "Restart Merlin Language Server"
}
],
"languages": [
{
"id": "reason",
"aliases": [
"Reason"
],
"extensions": [
".re",
".rei"
],
"configuration": "./language/reason.json"
},
{
"id": "ocaml",
"aliases": [
"OCaml"
],
"extensions": [
".ml",
".mli"
],
"configuration": "./language/ocaml.json"
}
],
"configuration": {
"type": "object",
"title": "Merlin configuration",
"properties": {
"merlin.refmt.width": {
"type": [
"number",
null
],
"default": null,
"description": "Set the width of lines when formatting code with refmt"
}
}
},
"grammars": [
{
"language": "ocaml",
"scopeName": "source.ocaml",
"path": "./syntax/ocaml.json"
},
{
"language": "reason",
"scopeName": "source.reason",
"path": "./syntax/reason.json"
}
]
},
"scripts": {
"try": "yarn run build:bsb && yarn run build:webpack:dev && yarn run package && rm -rf ~/.vscode-insiders/extensions/andreypopp.vscode-merlin-0.1.0 && code-insiders --install-extension vscode-merlin-0.1.0.vsix",
"clean": "bsb -clean",
"build:bsb": "bsb -make-world",
"build:webpack:dev": "webpack --mode development",
"build:webpack": "webpack --mode production",
"build": "yarn run build:bsb && yarn run build:webpack",
"watch:bsb": "bsb -make-world -w",
"watch:webpack": "webpack --mode development --watch",
"watch": "run-p watch:bsb watch:webpack",
"test:bsb": "node ./test/runBsbTests.js",
"test:esy": "node ./test/runEsyTests.js",
"test:unit": "yarn run build:bsb && jest src/",
"test:opam": "node ./test/runOpamTests.js",
"test": "yarn run test:unit && yarn run test:esy && yarn run test:opam && yarn run test:bsb",
"package": "vsce package",
"refmt": "find ./src ./fixtures ./__tests__ -type f -name \"*.re\" | xargs bsrefmt --in-place"
},
"devDependencies": {
"@glennsl/bs-jest": "^0.4.9",
"@glennsl/bs-json": "^5.0.1",
"bs-platform": "^7.0.1",
"fs-extra": "^8.1.0",
"jest-cli": "^24.9.0",
"mocha": "^6.2.2",
"npm-run-all": "^4.1.5",
"prettier": "^1.19.1",
"vsce": "^1.71.0",
"vscode-test": "^1.2.3",
"webpack": "^4.41.5",
"vscode": "^1.1.36",
"webpack-cli": "^3.3.10"
},
"dependencies": {
"request": "^2.88.0",
"request-progress": "^3.0.0",
"rimraf": "^3.0.2",
"semver": "^6.3.0",
"uuid": "^3.3.3",
"vscode-languageclient": "^5.2.1"
}
}