This directory contains all the JS packages for adaptive cards:
adaptivecards- The renderer libraryadaptivecards-controls- A controls library useful for the designeradaptivecards-fabric- A set of Fabric UI extensions for the Adaptive Cards JS rendereradaptivecards-templating- A JSON-to-JSON templating and data binding library for use with Adaptive Cardsadaptivecards-designer- The drag-drop designer componentadaptivecards-designer-app- The designer app that consumes the designer componentadaptivecards-site- The generated website that is currently hosted at adaptivecards.ioadaptivecards-visualizer- The classic card Visualizeradaptivecards-react- React.js library
We use lerna to manage package linking and building.
cd source/nodejsnpm installnpx lerna bootstrap
npx lerna run build
cd adaptivecards-designernpm start- OR to test preview features:
npm run start:preview
Start the documentation site (http://adaptivecards.io)
cd adaptivecards-sitenpx lerna run releasenpm start- Open up the browser to point to:
localhost:[portnumber]printed after the command above returns under "Hexo is running at".
npx lerna add <new-package> --scope=<install-target>