123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341 |
- {
- "name": "solidity",
- "description": "Ethereum Solidity Language for Visual Studio Code",
- "keywords": [
- "solidity",
- "ethereum",
- "blockchain",
- "compiler",
- "solhint"
- ],
- "version": "0.0.50",
- "publisher": "JuanBlanco",
- "engines": {
- "vscode": "^1.28.0"
- },
- "contributors": [
- "Juan Blanco"
- ],
- "bugs": {
- "url": "https://github.com/juanfranblanco/vscode-solidity/issues"
- },
- "icon": "images/icon.png",
- "repository": {
- "type": "git",
- "url": "https://github.com/juanfranblanco/vscode-solidity"
- },
- "categories": [
- "Programming Languages",
- "Snippets"
- ],
- "activationEvents": [
- "onLanguage:solidity",
- "onCommand:solidity.compile",
- "onCommand:solidity.compile.active",
- "onCommand:solidity.codegen",
- "onCommand:solidity.codegenCSharpProject",
- "onCommand:solidity.codegenVbNetProject",
- "onCommand:solidity.codegenFSharpProject",
- "onCommand:solidity.codegenCSharpProjectAll",
- "onCommand:solidity.codegenVbNetProjectAll",
- "onCommand:solidity.codegenFSharpProjectAll",
- "onCommand:solidity.fixDocument"
- ],
- "main": "./out/src/extension",
- "scripts": {
- "vscode:prepublish": "npm run compile",
- "compile": "tsc -p ./",
- "watch": "tsc -watch -p ./",
- "postinstall": "node ./node_modules/vscode/bin/install",
- "test": "nyc --require ts-node/register --require source-map-support/register mocha test/**/*.spec.ts"
- },
- "dependencies": {
- "abi-code-gen": "0.0.3",
- "mkdirp": "^0.5.1",
- "ajv": "^6.5.2",
- "ajv-keywords": "^3.2.0",
- "armlet": "^2.0.0",
- "find-cache-dir": "^2.1.0",
- "fs-extra": "^4.0.3",
- "handlebars": "^4.0.12",
- "nethereum-codegen": "^1.0.6",
- "ora": "^3.1.0",
- "read-yaml": "^1.1.0",
- "solc": "^0.5.6",
- "require-from-string": "^2.0.2",
- "solhint": "^1.4.0",
- "solium": "^1.2.3",
- "request-promise": "^4.2.2",
- "solparse": "^2.2.8",
- "truffle-artifactor": "^4.0.3",
- "truffle-config": "^1.1.3",
- "truffle-contract-sources": "^0.1.2",
- "truffle-external-compile": "^1.0.4",
- "truffle-resolver": "^5.0.4",
- "vscode-languageclient": "^5.1.1",
- "vscode-languageserver": "^5.1.0",
- "vscode-uri": "^1.0.3"
- },
- "devDependencies": {
- "@types/assert": "^1.4.1",
- "@types/debug": "^4.1.2",
- "@types/mocha": "^5.2.5",
- "@types/node": "^10.5.5",
- "@types/ora": "^3.2.0",
- "electron-rebuild": "^1.8.2",
- "mocha": "^5.2.0",
- "mock-require": "^3.0.3",
- "nyc": "^13.1.0",
- "proxyquire": "^2.1.0",
- "sinon": "^7.2.3",
- "source-map-support": "^0.5.10",
- "ts-mocha": "^2.0.0",
- "ts-node": "^7.0.1",
- "tslint": "^5.11.0",
- "typescript": "^3.1.3",
- "vscode": "^1.1.22"
- },
- "nyc": {
- "extension": [
- ".ts"
- ],
- "include": [
- "src/**/*.ts"
- ],
- "exclude": [
- "**/*.d.ts",
- "out",
- "dist"
- ],
- "all": true
- },
- "contributes": {
- "configuration": {
- "type": "object",
- "title": "Solidity configuration",
- "properties": {
- "solidity.mythx.analysisMode": {
- "type": [
- "string"
- ],
- "default": "quick",
- "markdownDescription": "Whether to do quick or full (long) analysis"
- },
- "solidity.mythx.apiKey": {
- "type": [
- "string"
- ],
- "markdownDescription": "MythX API key. See https://mythx.io to get an API key"
- },
- "solidity.mythx.apiUrl": {
- "type": [
- "string"
- ],
- "default": "https://api.mythx.io",
- "markdownDescription": "MythX URL to connect to"
- },
- "solidity.mythx.password": {
- "type": [
- "string"
- ],
- "default": "trial",
- "markdownDescription": "MythX Password. See https://mythx.io to get password"
- },
- "solidity.mythx.ethAddress": {
- "type": [
- "string"
- ],
- "default": "0x0000000000000000000000000000000000000000",
- "markdownDescription": "MetaMask ETH address used to login to MythX. See https://mythx.io"
- },
- "solidity.mythx.reportFormat": {
- "type": [
- "string",
- "stylish"
- ],
- "default": "stylish",
- "markdownDescription": "Report style format for analysis results. See https://eslint.org/docs/user-guide/formatters/ for a full list."
- },
- "solidity.mythx.timeout": {
- "type": [
- "number",
- 120
- ],
- "default": 120,
- "markdownDescription": "Maximum time in seconds to give MythX for analysis"
- },
- "solidity.compileUsingRemoteVersion": {
- "type": [
- "string",
- "null"
- ],
- "default": null,
- "description": "Compile using a remote version instead of the current one, for example: 'latest' or 'v0.4.3+commit.2353da71'"
- },
- "solidity.compileUsingLocalVersion": {
- "type": [
- "string",
- "null"
- ],
- "default": null,
- "description": "Compile using a local version instead of the current one, for example: 'C://v0.4.3+commit.2353da71.js'"
- },
- "solidity.linter": {
- "type": [
- "boolean",
- "string"
- ],
- "default": "solium",
- "description": "Enables solhint linting. Possible options 'solhint' and 'solium'"
- },
- "solidity.solhintRules": {
- "type": [
- "object"
- ],
- "default": null,
- "description": "Solhint linting validation rules"
- },
- "solidity.enabledSolium": {
- "type": [
- "boolean"
- ],
- "default": false,
- "description": "Enables solium linting. DEPRECATED: Use \"linter\" instead"
- },
- "solidity.soliumRules": {
- "type": [
- "object"
- ],
- "default": {
- "imports-on-top": 0,
- "variable-declarations": 0,
- "quotes": [
- "error",
- "double"
- ]
- },
- "description": "Solium linting validation rules"
- },
- "solidity.enabledAsYouTypeCompilationErrorCheck": {
- "type": [
- "boolean"
- ],
- "default": true,
- "description": "Enables as you type compilation of the document and error highlighting"
- },
- "solidity.validationDelay": {
- "type": [
- "number"
- ],
- "default": 1500,
- "description": "Delay to trigger the validation of the changes of the current document (compilation, solium)"
- },
- "solidity.packageDefaultDependenciesDirectory": {
- "type": [
- "string"
- ],
- "default": "node_modules",
- "description": "Default directory for Packages Dependencies, i.e: 'node_modules', 'lib'"
- },
- "solidity.packageDefaultDependenciesContractsDirectory": {
- "type": [
- "string"
- ],
- "default": "contracts",
- "description": "Default directory where the Package Dependency store its contracts, i.e: 'src', 'contracts', or just a blank string ''"
- }
- }
- },
- "languages": [
- {
- "id": "solidity",
- "aliases": [
- "Solidity",
- "solidity"
- ],
- "extensions": [
- ".sol"
- ],
- "configuration": "./solidity.configuration.json"
- }
- ],
- "commands": [
- {
- "command": "solidity.compile",
- "title": "Solidity: Compile All Solidity Contracts"
- },
- {
- "command": "solidity.compile.active",
- "title": "Solidity: Compile Current Solidity Contract"
- },
- {
- "command": "solidity.codegen",
- "title": "Solidity: Code generate from compilation output 'contract.json'"
- },
- {
- "command": "solidity.codegenCSharpProject",
- "title": "Solidity: Code generate CSharp Project from compilation output 'contract.json'"
- },
- {
- "command": "solidity.codegenVbNetProject",
- "title": "Solidity: Code generate VB.Net Project from compilation output 'contract.json'"
- },
- {
- "command": "solidity.codegenFSharpProject",
- "title": "Solidity: Code generate FSharp Project from compilation output 'contract.json'"
- },
- {
- "command": "solidity.codegenCSharpProjectAll",
- "title": "Solidity: Code generate CSharp Project from all compiled files"
- },
- {
- "command": "solidity.codegenVbNetProjectAll",
- "title": "Solidity: Code generate VB.Net Project from all compiled files"
- },
- {
- "command": "solidity.codegenFSharpProjectAll",
- "title": "Solidity: Code generate FSharp Project from all compiled files"
- },
- {
- "command": "solidity.fixDocument",
- "title": "Solidity: Fix document rules using Solium"
- },
- {
- "command": "solidity.mythx.analyze",
- "title": "Solidity: MythX analyses"
- },
- {
- "command": "solidity.mythx.version",
- "title": "Solidity: MythX API version information"
- }
- ],
- "keybindings": [
- {
- "command": "solidity.compile.active",
- "key": "f5",
- "mac": "f5",
- "when": "editorTextFocus && editorLangId == 'solidity'"
- },
- {
- "command": "solidity.compile",
- "key": "Ctrl+f5",
- "mac": "Cmd+f5",
- "when": "editorTextFocus && editorLangId == 'solidity'"
- }
- ],
- "snippets": [
- {
- "language": "solidity",
- "path": "./snippets/solidity.json"
- }
- ],
- "grammars": [
- {
- "language": "solidity",
- "scopeName": "source.solidity",
- "path": "./syntaxes/solidity.json"
- }
- ]
- }
- }
|