PMC Plugins
Pmc Connatix

PMC Plugins: PMC Connatix

This plugin contains the documentation for PMC's integration with the Connatix video platform.

Development Setup

  • nvm use to ensure your node and npm versions are correct.
  • npm install to install dependencies.
  • npm run update to keep dependencies up to date.

During Development

  • npm run build: formats, lints, and builds for production, note that the posttest scripts 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. Alternatively npm run format:style or npm run format:js to run them individually.
  • npm run lint: runs css and js/json configs linting scripts. Alternatively npm run lint:style or npm run lint:js to run them individually.
  • npm run scaffold: to scaffold a new block.
  • npm run test: to run tests. Alternatively npm run test:watch to watch tests. npm run test:update can 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 root pmc-plugins directory to allow for these above scripts to function. Running npm i in this plugin will run this script automatically.

APIs

Gutenberg blocks