botframework-webchat-adapter-ic3 v0.1.0-master.be0246c
IC3 adapter for Bot Framework Web Chat
This chat adapter will enable developer using IC3 protocol on Bot Framework Web Chat.
Development
Etiquette
- Do not delete
package-lock.json - Keep things as simple, intuitive, and default, as possible
Build
npm cinpm start, this will start type-checking, transpiling, and bundling- Babel: transpile to ES5, with
forceAllTransformsset totrue - TypeScript: type-check and emit
/lib/*.d.tsdeclarations - Webpack: bundle to
/dist/*.js
- Babel: transpile to ES5, with
- Then, on another window,
npm test- Jest: run test in watch mode
Artifacts
You can find latest build drops on NPM and this Azure Pipeline.
- Bundles
botframework-webchat-adapter-ic3.development.jsbotframework-webchat-adapter-ic3.production.min.js- Both contains a
window.Microsoft.BotFramework.WebChat.Adapter.IC3class
- Tarball
botframework-webchat-adapter-ic3package- When imported, it will have an
IC3Adapterclass
Test
Jest is our test runner, it includes code coverage report. Run npm test to start Jest in watch mode.
/__tests__/contains all end-to-end or integration tests, on a package perspective/src/**/*.spec.jsare unit tests, they are the "specification" of the SUT/src/**/*.test.jsverify non-specification part of the SUT
Continouous integration
Continuous integration is set up using Azure Pipeline at https://fuselabs.visualstudio.com/BotFramework-WebChat/_build?definitionId=746&_a=summary.
Continuous deployment
Continuous deployment is set up for NPM and Azure Storage using Azure Pipeline at https://fuselabs.visualstudio.com/BotFramework-WebChat/_release?definitionId=15. It will deploy to the following services.
- NPM
- Unpkg (unofficial mirror)
- You should always use Subresource Integrity to protect from MITM attack
botframework-webchat-adapter-ic3.development.jsbotframework-webchat-adapter-ic3.production.min.js
- Azure Storage (temporary)
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago