forked from NomicFoundation/hardhat-vscode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
140 lines (140 loc) · 4.57 KB
/
package.json
File metadata and controls
140 lines (140 loc) · 4.57 KB
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
{
"name": "hardhat-solidity",
"publisher": "NomicFoundation",
"displayName": "Solidity + Hardhat",
"description": "Solidity and Hardhat support for Visual Studio Code",
"license": "MIT",
"version": "0.4.6",
"private": true,
"main": "./client/out/extension.js",
"module": "./client/out/extension.js",
"icon": "docs/images/hardhat-vscode-logo.png",
"categories": [
"Programming Languages",
"Snippets",
"Linters",
"Formatters"
],
"extensionKind": [
"workspace"
],
"keywords": [
"solidity",
"ethereum",
"hardhat",
"evm",
"blockchain",
"compiler"
],
"homepage": "https://hardhat.org/",
"repository": {
"type": "git",
"url": "https://github.com/NomicFoundation/hardhat-vscode"
},
"bugs": {
"url": "https://github.com/NomicFoundation/hardhat-vscode/issues"
},
"engines": {
"vscode": "^1.65.0"
},
"activationEvents": [
"onLanguage:solidity",
"workspaceContains:**/hardhat.config.ts"
],
"scripts": {
"build": "tsc -b ./client/tsconfig.json && tsc -b ./server/tsconfig.build.json && tsc -b",
"watch": "concurrently -n client,server \"tsc -b -w ./client/tsconfig.json\" \"tsc -b -w ./server/tsconfig.build.json\"",
"postinstall": "yarn install --cwd ./client && yarn install --ignore-platform --cwd ./server",
"test:integration": "yarn run build && node ./out/test/runTests.js",
"test:unit": "yarn --cwd ./server run test",
"test": "yarn run test:unit && yarn run test:integration",
"test:coverage": "yarn --cwd ./server run test:coverage",
"test:codecov": "yarn --cwd ./server run test:codecov",
"lint": "yarn prettier --check && yarn eslint && yarn --cwd ./client lint && yarn --cwd ./server lint",
"lint:fix": "yarn prettier --write && yarn eslint --fix && yarn --cwd ./client lint:fix && yarn --cwd ./server lint:fix",
"prettier": "prettier *.md *.json \"{docs,syntaxes,.github,.vscode}/**/*.{md,yml,json}\" \"test/**/*.{ts,json}\"",
"eslint": "eslint ./test/**/*.ts",
"clean": "rimraf ./dist ./out && yarn --cwd ./client clean && yarn --cwd ./server clean",
"prepackage": "yarn clean && node ./scripts/bundle.js",
"package": "node ./scripts/package.js",
"postpackage": "yarn clean && yarn build",
"prefullcheck": "yarn clean",
"fullcheck": "yarn lint && yarn build && yarn test && yarn package"
},
"devDependencies": {
"@changesets/cli": "2.21.1",
"@types/glob": "^7.1.3",
"@types/mocha": "^8.2.2",
"@types/module-alias": "2.0.1",
"@types/node": "^16.9.1",
"@types/vscode": "^1.65.0",
"@typescript-eslint/eslint-plugin": "5.8.0",
"@typescript-eslint/parser": "5.8.0",
"@vscode/test-electron": "2.1.3",
"concurrently": "7.1.0",
"esbuild": "0.14.23",
"eslint": "8.5.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-import": "2.26.0",
"glob": "^7.1.7",
"mocha": "^9.1.1",
"prettier": "2.5.1",
"rimraf": "3.0.2",
"typescript": "^4.4.3",
"vsce": "2.6.7",
"wsrun": "5.2.4",
"yarn": "^1.22.11"
},
"dependencies": {
"vscode-languageclient": "^7.0.0"
},
"contributes": {
"configuration": {
"type": "object",
"title": "Hardhat",
"properties": {
"hardhat-language-server.trace.server.verbosity": {
"type": "string",
"description": "Traces the communication between VS Code and the solidity language server.",
"enum": [
"off",
"message",
"verbose"
],
"default": "off"
},
"hardhat.telemetry": {
"type": "boolean",
"markdownDescription": "Allow **Hardhat for Visual Studio Code** to send extension telemetry. This helps us understand how **Hardhat for Visual Studio Code** is used and how it is performing. Read more in our [privacy policy](https://hardhat.org/privacy-policy.html).\n\n \n\n*__Note:__ **Hardhat for Visual Studio Code** respects the global **Telemetry Level** setting, and will only send telemetry if enabled at both global and extension level.*",
"default": false
}
}
},
"languages": [
{
"id": "solidity",
"aliases": [
"Solidity",
"solidity"
],
"extensions": [
".sol"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "solidity",
"scopeName": "source.solidity",
"path": "./syntaxes/solidity.json"
}
],
"snippets": [
{
"language": "solidity",
"path": "./snippets/solidity.json"
}
]
}
}