Command line helper for building and publishing PCF controls to Dataverse.
npm install @tywalk/pcf-helperA simple command-line tool that upgrades, builds, and imports your PCF control into your Dataverse environment.
You can run commands separately or run pcf-helper-deploy to upgrade, build, and import with just one command.
This tool requires the following:
* pac cli installed on your machine.
* dotnet cli or Visual Studio installed on your machine.
1. In your project, run npm install --save @tywalk/pcf-helper. Or, install globally npm install --save --global @tywalk/pcf-helper.
2. In your project's package.json file, add commands as npm scripts:
``json``
"scripts": {
"upgrade": "pcf-helper-upgrade --path
"build": "pcf-helper-build --path
"import": "pcf-helper-import --path
"deploy": "pcf-helper-deploy --path
"init": "pcf-helper-init --path
},