{"_id":"@alexa-skill-components/ask-component","_rev":"3-49ad134095129e98b7ca87e03fec8593","name":"@alexa-skill-components/ask-component","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@alexa-skill-components/ask-component","version":"0.1.0","keywords":["alexa","skill","components","configuration"],"author":"","license":"ISC","_id":"@alexa-skill-components/ask-component@0.1.0","maintainers":[{"name":"amazon-prachibh","email":"prachibh@amazon.com"},{"name":"amzn-aaditya","email":"aadified@amazon.com"},{"name":"abhjroy","email":"abhjroy@amazon.com"},{"name":"mattsb42-aws","email":"bullocm@amazon.com"},{"name":"amzn-anusha","email":"panuanu@amazon.com"},{"name":"anuprk","email":"anukatar@amazon.com"},{"name":"amzn-akeat","email":"akeat@amazon.com"},{"name":"amzn-oss","email":"osa-3p@amazon.com"}],"bin":{"ask-component":"dist/index.js"},"dist":{"shasum":"ecb97b957eeaae3dab08d5853f9c85f1e5974043","tarball":"https://registry.npmjs.org/@alexa-skill-components/ask-component/-/ask-component-0.1.0.tgz","fileCount":29,"integrity":"sha512-AiHh+XGAhsesQDOmCBLe9p1ypO87JpeIPzpy9MWhS3vi/N46tDvlre5UHnNmqE1trlOwagq01zRSQ7ycLqU6xg==","signatures":[{"sig":"MEYCIQDuI40g02kkVZpr/xE2dg01ZdPlu2pR3H0ntRnp5CsDugIhAKt5yUSKWD7xa5/LRDDqXTZSXrAlib3L52TrMF0PZTai","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":60316,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkLrFrACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrKjg//XZY84IjjwiwnBRJUE+j9Qda/L++vyEnW/DY8bYZ76ye4nuMS\r\nb+ncY8pxr5rwa/MbrlRS/eGKQ983qvOVB1OMq/t3ytwg0yVIEYB7MYxpQUPf\r\ncEkJHVLFU3TKHj3hioQuqDOgsOkWK1CTkHV3r6VVRu+4l6fMqpwgEkbSHBUF\r\nXBsBR4+Ndx8sMbOFTYHHNmenfoLlZKrf5WuHzZx1pCBR8tdZZXr7PfThc7Sn\r\nmtj/AqHfa0Z9odAmjh7nOiyaDNf2LHc8h+UKArWKuOD8eeBKUGXHGW7ID3Uk\r\n7ztcAqiVeQh1WZGzz3T5H+4bHsaAEkydPFFXYErUxwNsqFcrdC3GIX5NUBJk\r\nZHEjp1sT8Jw+u1QsUtDCwx40skEz2HUFfkK5qSd5eLugDjg0GY4hA1jY0Utz\r\nzZmYFrUnsUL4wNPzP7Nrnpa4eaRiWNkytJxy5P2dhifqV7tb+QEfjq+fni9j\r\nm1hl5G2p6r2C1lbyMfnj0UMCZlLLlPZdcWH8hVoJeKthLkY1DNHZOsCMZgpa\r\n48Eii9nCc8r0IHmDgFxj2J3oRZsT/8g7InznqB1ymQdzQK/hHfTA2Em205BE\r\nNSRaElkEIClrPAokl6zZ1dcUGgbTLrIzPLUmfe3S04gAS/oUyiAcEwJX1PdH\r\niaLlBZmcr2H/j3yDi5N0sGNUHe4VLeRJAv8=\r\n=5vqG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","scripts":{"lint":"eslint src","build":"npx tsc && npm run copy-acdl-template","clean":"rm -rf dist && rm -rf node_modules","release":"npm run build && npm run lint","lint:fix":"eslint --fix src","clean-build":"npm run clean && npm install && npm run build","copy-acdl-template":"cp -r ./src/lib/cross-train-library/templates ./dist/lib/cross-train-library/templates"},"_npmUser":{"name":"amzn-aaditya","email":"aadified@amazon.com"},"_npmVersion":"8.19.3","description":"Command Line Interfaces for alexa skill components","directories":{},"_nodeVersion":"19.2.0","dependencies":{"ora":"5.4.1","glob":"^9.3.2","commander":"^10.0.0","handlebars":"^4.7.7"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.37.0","typescript":"^5.0.2","@types/glob":"^8.1.0","@types/node":"^18.15.3","eslint-plugin-n":"^15.7.0","eslint-plugin-import":"^2.27.5","eslint-plugin-promise":"^6.1.1","@typescript-eslint/eslint-plugin":"^5.57.0","eslint-config-standard-with-typescript":"^34.0.1"},"_npmOperationalInternal":{"tmp":"tmp/ask-component_0.1.0_1680781675747_0.4712214660820031","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@alexa-skill-components/ask-component","version":"0.1.1","keywords":["alexa","skill","components","configuration"],"author":"","license":"ISC","_id":"@alexa-skill-components/ask-component@0.1.1","maintainers":[{"name":"amazon-prachibh","email":"prachibh@amazon.com"},{"name":"amzn-aaditya","email":"aadified@amazon.com"},{"name":"abhjroy","email":"abhjroy@amazon.com"},{"name":"mattsb42-aws","email":"bullocm@amazon.com"},{"name":"amzn-anusha","email":"panuanu@amazon.com"},{"name":"anuprk","email":"anukatar@amazon.com"},{"name":"amzn-akeat","email":"akeat@amazon.com"},{"name":"amzn-oss","email":"osa-3p@amazon.com"}],"bin":{"ask-component":"dist/index.js"},"dist":{"shasum":"c8c154d9d943a8107e9bab771319d026aaa60707","tarball":"https://registry.npmjs.org/@alexa-skill-components/ask-component/-/ask-component-0.1.1.tgz","fileCount":30,"integrity":"sha512-dzzplGBmBYx6zpo7NSysIVImUORwa1leUdRIeTXCM/C9Dp3crSxL0vYIutRY2w3SW+j2alitBxEoVl+SUrQsoQ==","signatures":[{"sig":"MEUCIQCyPpY8jfr0Ulx08Cd6FCB/IIvyyUvpzE0+hGrRydma6AIgZXiB097kUEs77FgZzlIUZuVms8W+ZVwIIz8f/jqezTY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":62079,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkLv/TACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr7Qg/+JF+IFtRxKQdVqEVOPhXq/cknD4qv6RkDL9kEboePn2jcHyPR\r\nvZHMhMiP5uG9rI2r7fTUds3jr81TcL346TZ6kkAgR6UivNJYZUQjqYePGh0x\r\nbAgPAPEPtPK7XmIQaskE9a+AjtDSyR1qMS0rXWvmBPP/PGLkC/xlgdk8HU1T\r\nYkHnysCwxn+PTypCTGTwxaQ7ydk/QDtRY7RYBP9QlcOItyczBtv+3gaPX6mE\r\nC6I5KeUJgIcqLl3Ewi020kypdGETiKje4PvMxNZAFIhK5RhWjFke2IQwK1Fb\r\nyXeNOKC7R/xCiUFA5cXXklc4Bg4HyWOfJAl+rD+IZ7nwerLTjcnpFEWy+o0R\r\nvYaSOlUBLNiHe9+iAbiDYqQWrCSEwUJP3jCCi3y4Avlbqqbd+4uZkMwFEM5l\r\nKT+yKCp/42WJBSLMZ8eAEtIkc7oZMdXl7oRXH6CRBAbXeIzyKgdhMOfPbEx4\r\ndBzoBsKsRWjTab9wOOx40SchMzRcVcYFjfFxpIbO9n7jELXASX80JBkz0qz4\r\n2ACaQ+SJfEa2PGKHFssiPIHtfDut2Tu8DwUcgQEWS3fdlLhcJGhVIILzRC56\r\nmGWZsW5phhc0hmvAx0RjOYAKmYPTP1fiGeZWEcEXrMmOB5revb50uBwcpZiP\r\n+U78UEzCOl6HmgQ7mJbyO8ExHVTuPnkp81M=\r\n=XW/h\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","scripts":{"lint":"eslint src","build":"npx tsc && npm run copy-acdl-template","clean":"rm -rf dist && rm -rf node_modules","release":"npm run build && npm run lint","lint:fix":"eslint --fix src","clean-build":"npm run clean && npm install && npm run build","copy-acdl-template":"cp -r ./src/lib/cross-train-library/templates ./dist/lib/cross-train-library/templates"},"_npmUser":{"name":"amzn-aaditya","email":"aadified@amazon.com"},"_npmVersion":"8.19.3","description":"Command Line Interfaces for alexa skill components","directories":{},"_nodeVersion":"19.2.0","dependencies":{"ora":"5.4.1","glob":"^9.3.2","commander":"^10.0.0","handlebars":"^4.7.7"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.37.0","typescript":"^5.0.2","@types/glob":"^8.1.0","@types/node":"^18.15.3","eslint-plugin-n":"^15.7.0","eslint-plugin-import":"^2.27.5","eslint-plugin-promise":"^6.1.1","@typescript-eslint/eslint-plugin":"^5.57.0","eslint-config-standard-with-typescript":"^34.0.1"},"_npmOperationalInternal":{"tmp":"tmp/ask-component_0.1.1_1680801747086_0.0011669598095305211","host":"s3://npm-registry-packages"}}},"time":{"created":"2023-04-06T11:47:55.687Z","modified":"2025-05-22T20:53:32.011Z","0.1.0":"2023-04-06T11:47:55.866Z","0.1.1":"2023-04-06T17:22:27.273Z"},"license":"ISC","keywords":["alexa","skill","components","configuration"],"description":"Command Line Interfaces for alexa skill components","maintainers":[{"email":"osa-3p@amazon.com","name":"amzn-oss"},{"email":"akeat@amazon.com","name":"amzn-akeat"},{"email":"anukatar@amazon.com","name":"anuprk"},{"email":"aadified@amazon.com","name":"amzn-aaditya"},{"email":"prachibh@amazon.com","name":"amazon-prachibh"}],"readme":"<p align=\"center\">\n  <img src=\"https://m.media-amazon.com/images/G/01/mobile-apps/dex/avs/docs/ux/branding/mark1._TTH_.png\">\n  <br/>\n  <h1 align=\"center\">Alexa Skills Component Command Line interface</h1>\n</p>\n\n\nThe Alexa Skills Component Command Line Interface (ask-component) is used to install and configure reusable components in alexa skills. \n\n### Getting Started\n\n**1. Install CLI**\n\n```\n$ npm install -g @alexa-skill-components/ask-component\n```\n\n\n**2. Install a component**\n\nFor 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.\nThe package.json file can be created using `npm init` command before installing a component.\n\nTo install a component in a skill run the following command from the root directory of the skill:\n\n```\n$ ask-component install --name <component-name>\n```\nThis 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.\n\n**3. Configure the installed components**\n\nAfter editing the default config files run this command to compile the configuration\n\n```\n$ ask-component compile\n```\n\nFor the components to work in the skill some change should be made to the interactin model files which are mentioned [here](https://developer.amazon.com/en-US/docs/alexa/conversations/steps-to-add-to-existing-skill.html#check-interaction-model).\n\n**4. Compile the skill**\n\nAfter the compiling the components compile the skill using the following command from [@alexa/acdl](https://www.npmjs.com/package/@alexa/acdl) package:\n```\n$ acc compile\n```\n\n**5. Deploy the skill**\nAfter successful compilation of the skill deploy the skill:\n```\n$ ask deploy\n```","readmeFilename":"README.md"}