Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@alexa-skill-components/ask-component

Package Overview
Dependencies
Maintainers
8
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alexa-skill-components/ask-component

Command Line Interfaces for alexa skill components

  • 0.1.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-50%
Maintainers
8
Weekly downloads
 
Created
Source


Alexa Skills Component Command Line interface

The Alexa Skills Component Command Line Interface (ask-component) is used to install and configure reusable components in alexa skills.

Getting Started

1. Install CLI

$ npm install -g @alexa-skill-components/ask-component

2. Install a component

For the installation of components the skill should be a node package and must contain package.json file for adding dependency of the components in the skill. The package.json file can be created using npm init command before installing a component.

To install a component in a skill run the following command from the root directory of the skill:

$ ask-component install --name <component-name>

This will install the component into the skill and add it as an npm dependency. It will alo output the path of generated configuration file oof the component that can be edited to configure the required component with custom inputs.

3. Configure the installed components

After editing the default config files run this command to compile the configuration

$ ask-component compile

For the components to work in the skill some change should be made to the interactin model files which are mentioned here.

4. Compile the skill

After the compiling the components compile the skill using the following command from @alexa/acdl package:

$ acc compile

5. Deploy the skill After successful compilation of the skill deploy the skill:

$ ask deploy

Keywords

FAQs

Package last updated on 06 Apr 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc