0.1.0 • Published 5 years ago

edtro-vss-react-scripts v0.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

react-scripts

PLEASE BE AWARE THIS IS STILL AN UNSTABLE PACKAGE

This package includes scripts and configuration used by Create React App. Please refer to its documentation:

This package is a template based on the standard 'Create React App' to create extensions based on the vss-web-extension-sdk for Azure DevOps Services (and the Marketplace).

Getting started

Make sure to review the following resources first:

These steps should be done:

  1. Select solution, right click and open the commandline... and create the app.
npx create-react-app my-app --typescript --scripts-version edtro-vss-react-scripts
  1. Create the following folders
  • ./build
  • ./build/lib
  • ./public/lib

(when you are using source control and an automated build, make sure these are also committed)

  1. When using Visual Studio and you want to create a project for the app, just create a new project of type "From Existing Node.js Code", select the 'my-app' folder and select TypeScript

  2. Make sure to test the npm scripts:

npm start
npm run build
npm run test