Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Adaptive Cards JavaScript packages

This directory contains all the JS packages for adaptive cards:

  • adaptivecards - The renderer library
  • adaptivecards-controls - A controls library useful for the designer
  • adaptivecards-fabric - A set of Fabric UI extensions for the Adaptive Cards JS renderer
  • adaptivecards-templating - A JSON-to-JSON templating and data binding library for use with Adaptive Cards
  • adaptivecards-designer - The drag-drop designer component
  • adaptivecards-designer-app - The designer app that consumes the designer component
  • adaptivecards-site - The generated website that is currently hosted at adaptivecards.io
  • adaptivecards-visualizer - The classic card Visualizer
  • adaptivecards-react - React.js library

Bootstrap the repo

We use lerna to manage package linking and building.

  1. cd source/nodejs
  2. npm install
  3. npx lerna bootstrap

Build

npx lerna run build

Start the Designer

  1. cd adaptivecards-designer
  2. npm start
  3. OR to test preview features: npm run start:preview

Start the documentation site (http://adaptivecards.io)

  1. cd adaptivecards-site
  2. npx lerna run release
  3. npm start
  4. Open up the browser to point to: localhost:[portnumber] printed after the command above returns under "Hexo is running at".

Adding a new package

  1. npx lerna add <new-package> --scope=<install-target>