-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
85 lines (85 loc) · 2.85 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
{
"name": "sol",
"version": "0.0.1",
"description": "Sol node packages",
"main": "editors/dist/extension.js",
"repository": "[email protected]:aripiprazole/sol.git",
"author": "Gabrielle Guimarães de Oliveira <[email protected]>",
"license": "MIT",
"private": true,
"engineStrict": false,
"engines": {
"vscode": "^1.80.1"
},
"enabledApiProposals": [],
"activationEvents": ["onLanguage:sol"],
"contributes": {
"languages": [
{
"id": "sol",
"extensions": [".sol"],
"configuration": "./language-configuration.json"
}
],
"configuration": {
"type": "object",
"title": "sol-language-server",
"properties": {
"sol-language-server.trace.server": {
"type": "string",
"scope": "window",
"enum": ["off", "messages", "verbose"],
"enumDescriptions": ["No traces", "Error only", "Full log"],
"default": "off",
"description": "Traces the communication between VS Code and the language server."
}
}
}
},
"scripts": {
"prepare": "husky install",
"preinstall": "cd tree-sitter-sol && yarn --ignore-scripts",
"postinstall": "cd tree-sitter-sol && yarn tree-sitter generate && yarn tree-sitter build-wasm && cd ../editors/vscode && yarn",
"vscode:prepublish": "npm run esbuild-base -- --minify",
"esbuild-base": "esbuild ./editors/vscode/src/extension.ts --bundle --outfile=editors/vscode/build/main.js --external:vscode --format=cjs --platform=node",
"esbuild": "yarn run esbuild-base -- --sourcemap",
"esbuild-watch": "yarn run esbuild-base -- --sourcemap --watch",
"test-compile": "tsc -p ./",
"compile": "cross-env NODE_ENV=production tsc -b",
"watch": "rm -rf dist && tsc -b -w",
"lint": "eslint src --ext ts",
"pretest": "npm run compile && npm run lint",
"test": "node ./editors/vscode/build/test/runTest.js",
"build": "webpack --config webpack.config.js",
"package": "vsce package --no-dependencies",
"publish": "vsce publish --no-dependencies"
},
"devDependencies": {
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.0",
"@types/node": "^12.12.0",
"@types/vscode": "^1.44.0",
"@typescript-eslint/eslint-plugin": "^6.2.0",
"@typescript-eslint/parser": "^6.2.0",
"@electron/rebuild": "^3.2.13",
"@vscode/test-electron": "^2.3.3",
"cross-env": "^7.0.2",
"esbuild": "^0.15.10",
"glob": "^7.1.7",
"mocha": "10.1.0",
"prettier": "^3.0.0",
"typescript": "^4.4.3",
"vscode-uri": "^3.0.2",
"webpack": "^5.82.1",
"eslint": "^8.0.0",
"eslint-config-google": "^0.14.0",
"eslint-plugin-prettier": "^5.0.0",
"husky": "^8.0.1",
"lint-staged": "^13.0.3"
},
"dependencies": {
"vscode-languageclient": "^8.1.0"
}
}