Launch the Alexa Skill template (AWS CloudFormation & TypeScript)
In ASK CLI(v2), we can use specific template(Git repository) to setup your Alexa skill project. Today, I’ […]
広告ここから
広告ここまで
目次
In ASK CLI(v2), we can use specific template(Git repository) to setup your Alexa skill project.
$ ask new --template-url https://github.com/XXXX/xxx.git
Today, I’ve created a new Skill template to the skill developer using TypeScript and AWS CloudFormation.
Usage
Use my template repository like the example.
% ask new --template-url https://github.com/hideokamoto/alexa-skill-sample-helloworld-typescript.git
And please say “Yes” in this question.
> ? Would you like to continue download the skill template? Yes
Finally, we get the skill project.
% tree alexa-skill-sample-helloworld-typescript -L 3 -I node_modules
alexa-skill-sample-helloworld-typescript
├── LICENSE.txt
├── ask-resources.json
├── hooks
│ └── build.sh
├── infrastructure
│ └── cfn-deployer
│ └── skill-stack.yaml
├── lambda
│ ├── package.json
│ ├── src
│ │ ├── index.ts
│ │ └── util.ts
│ ├── tsconfig.json
│ └── webpack.config.ts
└── skill-package
├── assets
│ ├── en-US_largeIcon.png
│ └── en-US_smallIcon.png
├── interactionModels
│ └── custom
└── skill.json
9 directories, 12 files