This repository combines easy and professional alexa-custom-skill development.
The ease is possible through the easy-to-use parcel bundler which compiles the typescript code and watches for file changes. Also the ask-cli provides an easy interface to handle deployments.
To prevent many possible errors Typescript is used a language and for automated unit tests the bespoken-tools are installed.
- CLI: ask-cli
- Framework: alexa-skill-kit for nodejs
- Language: Typescript
- Bundler: parcel
- Tests: bespoken tools
- ask-cli (1.7.10) (
npm i -g ask-cli@1.7.10
)
npm i
start
: Watch for file changes and recompile automaticallytest
: Execute unit testsbuild
: Build minified and bundled codelint
: Lint filesvalidate
: Validate skill manifestpredeploy
: Lint test build and validate skill (executed automatically before deploy)deploy
: Deploy skill with ask cli
npm start
to watch for file changes and recompile the code automatically- Execute your code:
npm test
** Because of a bug in ask-cli 1.7.10 you cannot use npm run deploy yet **
Instead use npm run build
and then ask deploy