inadarei/vscode-jwt

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "jwt",
  "displayName": "JWT Sign/Verify",
  "description": "JSON Web Token (JWT) Sign/Verify Utility.",
  "keywords": ["jwt", "json", "token", "json web token", "encoder"],
  "version": "1.3.0",
  "publisher": "inadarei",
  "engines": {
    "vscode": "^1.11.0"
  },
  "categories": [
    "Other"
  ],
  "repository": {
        "type": "git",
        "url": "https://github.com/inadarei/vscode-jwt.git"
  },
  "activationEvents": [
    "onCommand:extension.encodeJWT",
    "onCommand:extension.decodeJWT",
    "onCommand:extension.encodeJWTPresets"
  ],
  "main": "./extension",
  "contributes": {
    "commands": [
      {
        "command": "extension.encodeJWT",
        "title": "JWT: Sign (Encode)"
      },
      {
        "command": "extension.decodeJWT",
        "title": "JWT: Verify (Decode)"
      },
      {
        "command": "extension.encodeJWTPresets",
        "title": "JWT(with Presets): Sign (Encode)"
      }
    ],
    "configuration": {
        "type": "object",
        "title": "JWT Sign/Verify configuration",
        "properties": {
            "jwt.secret": {
                "type": ["string", "null"],
                "default": "unsigned",
                "description": "A shared secret or a private key for signing JWT tokens."
            },
            "jwt.pubKey": {
                "type": ["string", "null"],
                "default": null,
                "description": "A public key for verifying JWT tokens, if using asymmetric verification"
            },            
            "jwt.duration": {
                "type": ["string"],
                "default": "24h",
                "description": "Duration for JWT tokens."
            }
        }
    }
  },
  "icon": "img/logo.png",
  "galleryBanner": {
    "color": "#252526",
    "theme": "dark"
  },  
  "scripts": {
    "postinstall": "node ./node_modules/vscode/bin/install",
    "test": "node ./node_modules/vscode/bin/test"
  },
  "devDependencies": {
    "typescript": "^2.0.3",
    "vscode": "^1.0.0",
    "mocha": "^2.3.3",
    "eslint": "^3.6.0",
    "@types/node": "^6.0.40",
    "@types/mocha": "^2.2.32"
  },
  "dependencies": {
    "copy-paste": "^1.3.0",
    "jsonwebtoken": "^7.4.0"
  }
}