0.1.0 • Published 5 years ago
edtro-vss-react-scripts v0.1.0
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:
- Getting Started – How to create a new app.
- User Guide – How to develop apps bootstrapped with Create React App.
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:
- 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
- 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)
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
Make sure to test the npm scripts:
npm start
npm run build
npm run test