john-goldsmith/vscode-aws-cloudformation-auto-template-generator

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
    "activationEvents": [
        "onCommand:extension.setProfile",
        "onCommand:extension.setTemplateFormat",
        "onCommand:extension.insertResource",
        "onCommand:extension.bustCache",
        "onCommand:extension.setConfigFilePath",
        "onCommand:extension.setResourceVisibility",
        "onCommand:extension.setRegion"
    ],
    "author": "John Goldsmith <johngoldsm1@gmail.com>",
    "badges": [
        {
            "url": "https://travis-ci.org/john-goldsmith/vscode-aws-cloudformation-auto-template-generator.svg?branch=develop",
            "href": "https://travis-ci.org/john-goldsmith/vscode-aws-cloudformation-auto-template-generator",
            "description": "Travis CI Build Status"
        },
        {
            "url": "https://api.codeclimate.com/v1/badges/6ef99dba3917a1d91650/test_coverage",
            "href": "https://codeclimate.com/github/john-goldsmith/vscode-aws-cloudformation-auto-template-generator/test_coverage",
            "description": "Code Climate Test Coverage"
        },
        {
            "url": "https://api.codeclimate.com/v1/badges/6ef99dba3917a1d91650/maintainability",
            "href": "https://codeclimate.com/github/john-goldsmith/vscode-aws-cloudformation-auto-template-generator/maintainability",
            "description": "Code Climate Maintainability"
        },
        {
            "url": "https://coveralls.io/repos/github/john-goldsmith/vscode-aws-cloudformation-auto-template-generator/badge.svg?branch=develop",
            "href": "https://coveralls.io/github/john-goldsmith/vscode-aws-cloudformation-auto-template-generator?branch=develop",
            "description": "Coveralls Coverage Status"
        },
        {
            "url": "https://david-dm.org/john-goldsmith/vscode-aws-cloudformation-auto-template-generator.svg",
            "href": "https://david-dm.org",
            "description": "David DM"
        },
        {
            "url": "https://snyk.io/test/github/john-goldsmith/vscode-aws-cloudformation-auto-template-generator/badge.svg",
            "href": "https://snyk.io/test/github/john-goldsmith/vscode-aws-cloudformation-auto-template-generator",
            "description": "Snyk Known Vulnerabilities"
        },
        {
            "url": "https://badges.greenkeeper.io/john-goldsmith/vscode-aws-cloudformation-auto-template-generator.svg",
            "href": "https://greenkeeper.io/",
            "description": "Greenkeeper"
        }
    ],
    "bugs": "https://github.com/john-goldsmith/vscode-aws-cloudformation-auto-template-generator/issues",
    "categories": [
        "Other"
    ],
    "config": {
        "commitizen": {
            "path": "./node_modules/cz-conventional-changelog"
        }
    },
    "contributes": {
        "configuration": {
            "title": "AWS CloudFormation Auto-Template Generator",
            "properties": {
                "awsCfnAutoTemplateGenerator.describeTypeCacheTtl": {
                    "type": "number",
                    "default": 1,
                    "minimum": 1,
                    "scope": "window",
                    "markdownDescription": "The amount of time, in **days**, to cache individual resource type responses. A higher number means fewer API requests, but potentially stale data. The cache can be reset on-demand using the **CFN Auto-template: Bust cache** command. ([docs](https://docs.aws.amazon.com/cli/latest/reference/cloudformation/describe-type.html))"
                },
                "awsCfnAutoTemplateGenerator.listTypesCacheTtl": {
                    "type": "number",
                    "default": 1,
                    "minimum": 1,
                    "scope": "window",
                    "markdownDescription": "The amount of time, in **days**, to cache the resource listing response. A higher number means fewer API requests, but potentially stale data.  The cache can be reset on-demand using the **CFN Auto-template: Bust cache** command. ([docs](https://docs.aws.amazon.com/cli/latest/reference/cloudformation/list-types.html))"
                },
                "awsCfnAutoTemplateGenerator.profile": {
                    "type": "string",
                    "default": "default",
                    "markdownDescription": "The named collection of settings and credentials applied to AWS CLI commands. ([docs](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html))",
                    "scope": "window",
                    "description": ""
                },
                "awsCfnAutoTemplateGenerator.region": {
                    "type": "string",
                    "markdownDescription": "The regional endpoint that requests will be made to. ([docs](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints))",
                    "enum": [
                        "us-east-1",
                        "us-east-2",
                        "us-west-1",
                        "us-west-2",
                        "af-south-1",
                        "ap-east-1",
                        "ap-south-1",
                        "ap-northeast-3",
                        "ap-northeast-2",
                        "ap-southeast-1",
                        "ap-southeast-2",
                        "ap-northeast-1",
                        "ca-central-1",
                        "eu-central-1",
                        "eu-west-1",
                        "eu-west-2",
                        "eu-west-3",
                        "eu-south-1",
                        "eu-north-1",
                        "me-south-1",
                        "sa-east-1"
                    ],
                    "default": "us-east-1",
                    "scope": "window",
                    "enumDescriptions": [
                        "US East (N. Virginia)",
                        "US East (Ohio)",
                        "US West (N. California)",
                        "US West (Oregon)",
                        "Africa (Cape Town)",
                        "Asia Pacific (Hong Kong)",
                        "Asia Pacific (Mumbai)",
                        "Asia Pacific (Osaka)",
                        "Asia Pacific (Seoul)",
                        "Asia Pacific (Singapore)",
                        "Asia Pacific (Sydney)",
                        "Asia Pacific (Tokyo)",
                        "Canada (Central)",
                        "Europe (Frankfurt)",
                        "Europe (Ireland)",
                        "Europe (London)",
                        "Europe (Paris)",
                        "Europe (Milan)",
                        "Europe (Stockholm)",
                        "Middle East (Bahrain)",
                        "South America (São Paulo)"
                    ]
                },
                "awsCfnAutoTemplateGenerator.resourceVisibility": {
                    "type": "string",
                    "enum": [
                        "PUBLIC",
                        "PRIVATE"
                    ],
                    "default": "PUBLIC",
                    "scope": "window",
                    "markdownDescription": "The scope at which the type is visible and usable in CloudFormation operations. ([docs](https://docs.aws.amazon.com/cli/latest/reference/cloudformation/list-types.html))",
                    "markdownEnumDescriptions": [
                        "The type is publically visible and usable within any Amazon account.",
                        "The type is only visible and usable within the account in which it is registered. Currently, AWS CloudFormation marks any types you create as `PRIVATE`."
                    ]
                },
                "awsCfnAutoTemplateGenerator.templateFormat": {
                    "type": "string",
                    "enum": [
                        "json",
                        "yaml"
                    ],
                    "default": "yaml",
                    "scope": "window",
                    "markdownDescription": "The authoring format for templates. ([docs](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-formats.html))"
                },
                "awsCfnAutoTemplateGenerator.configFilePath": {
                    "type": "string",
                    "scope": "window",
                    "markdownDescription": "The full (absolute) path to the file containing the configuration settings for the default profile and any named profiles. ([docs](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html))"
                }
            }
        },
        "commands": [
            {
                "command": "extension.setProfile",
                "title": "CFN Auto-template: Set profile"
            },
            {
                "command": "extension.insertResource",
                "title": "CFN Auto-template: Insert resource"
            },
            {
                "command": "extension.setTemplateFormat",
                "title": "CFN Auto-template: Set template format"
            },
            {
                "command": "extension.bustCache",
                "title": "CFN Auto-template: Bust cache"
            },
            {
                "command": "extension.setConfigFilePath",
                "title": "CFN Auto-template: Set config file path"
            },
            {
                "command": "extension.setResourceVisibility",
                "title": "CFN Auto-template: Set resource visibility"
            },
            {
                "command": "extension.setRegion",
                "title": "CFN Auto-template: Set region"
            }
        ]
    },
    "dependencies": {
        "aws-sdk": "2.922.0",
        "fs-extra": "10.0.0",
        "js-yaml": "4.1.0"
    },
    "description": "Automatically generate fully-expanded AWS CloudFormation resource templates",
    "devDependencies": {
        "@semantic-release/changelog": "5.0.1",
        "@types/fs-extra": "9.0.11",
        "@types/glob": "7.1.3",
        "@types/jest": "26.0.23",
        "@types/js-yaml": "4.0.1",
        "@types/mocha": "8.2.2",
        "@types/node": "15.12.1",
        "@types/vscode": "1.45.0",
        "@typescript-eslint/eslint-plugin": "4.26.0",
        "@typescript-eslint/parser": "4.26.0",
        "commitizen": "4.2.4",
        "coveralls": "3.1.0",
        "cz-conventional-changelog": "3.3.0",
        "documentation": "13.2.5",
        "eslint": "7.28.0",
        "glob": "7.1.7",
        "husky": "6.0.0",
        "jest": "26.6.3",
        "mocha": "8.4.0",
        "npm-run-all": "4.1.5",
        "nyc": "15.1.0",
        "semantic-release": "17.4.3",
        "ts-jest": "26.5.6",
        "ts-loader": "9.2.3",
        "typescript": "4.3.2",
        "vscode-test": "1.5.2",
        "webpack": "5.38.1",
        "webpack-cli": "4.7.0"
    },
    "displayName": "AWS CloudFormation Auto-template Generator",
    "engines": {
        "vscode": "^1.45.1"
    },
    "galleryBanner": {
        "color": "#FFFFFF",
        "theme": "light"
    },
    "homepage": "https://github.com/john-goldsmith/vscode-aws-cloudformation-auto-template-generator",
    "husky": {
        "hooks": {
            "pre-commit": "npm run lint && npm run test:unit"
        }
    },
    "icon": "images/aws-cfn-150x150.png",
    "keywords": [
        "aws",
        "cloudformation",
        "cfn",
        "template",
        "generator"
    ],
    "main": "./dist/extension.js",
    "name": "vscode-aws-cloudformation-auto-template-generator",
    "nyc": {
        "all": true
    },
    "publisher": "john-goldsmith",
    "repository": {
        "type": "git",
        "url": "https://github.com/john-goldsmith/vscode-aws-cloudformation-auto-template-generator.git"
    },
    "scripts": {
        "compile": "npx tsc -p ./",
        "coveralls": "cat ./coverage/lcov.info | npx coveralls",
        "cz": "npx git-cz",
        "lint": "npx eslint . --ext .ts",
        "lint:fix": "npx eslint . --ext .ts --fix",
        "precommit": "npm run lint && npm run docs:lint && npm test",
        "test": "npx npm-run-all test:*",
        "test:unit": "npx jest ./test/unit",
        "docs:lint": "npx documentation lint ./src/**/* --shallow",
        "docs:html": "npx documentation build ./src/**/* --shallow -f html -o docs",
        "vscode:prepublish": "npx webpack --mode production",
        "webpack": "npx webpack --mode development",
        "webpack:watch": "npx webpack --mode development --watch"
    },
    "version": "1.2.0"
}