PMC Plugins: PMC Connatix
This plugin contains the documentation for PMC's integration with the Connatix video platform.
Development Setup
nvm useto ensure your node and npm versions are correct.npm installto install dependencies.npm run updateto keep dependencies up to date.
During Development
npm run build: formats, lints, and builds for production, note that theposttestscripts runs after tests to perform the production build.npm run build:custom: builds the classic editor scripts.npm run prod: runs just the build process for production.npm run start: starts the dev server; page reload required (for now), no hot reload.npm run format: runs css and js/json configs formatting scripts. Alternativelynpm run format:styleornpm run format:jsto run them individually.npm run lint: runs css and js/json configs linting scripts. Alternativelynpm run lint:styleornpm run lint:jsto run them individually.npm run scaffold: to scaffold a new block.npm run test: to run tests. Alternativelynpm run test:watchto watch tests.npm run test:updatecan be run to update snapshot testings for blocks.npm run test:dev: will avoid the production build used by the GitHub pipeline for diff checks. Recommend using this locally.npm run update: which updates WordPress packages.postinstall: the postinstall script runs to install scripts at the rootpmc-pluginsdirectory to allow for these above scripts to function. Runningnpm iin this plugin will run this script automatically.