You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jen Baumann edited this page Apr 26, 2023
·
2 revisions
Development set up process
Install Node.js, which also gives you the Node Package Manager (npm).
Clone this repo into your wp-content/plugins/ directory.
On the command line in the plugin directory, run npm install.
Once installation is complete, run npm run dev to watch JS and CSS files for changes and build them using webpack.
Linting code
Scripts are provided to help with code linting. You can use these commands:
npm run lint:css to generate a report of style violations for CSS/SCSS.
npm run lint:css:fix to fix any style violations that can be corrected automatically.
npm run lint:js to generate a report of style violations for script files.
npm run lint:js:fix to fix any script violations that can be corrected automatically.
npm run lint:php to generate a report of style violations for script files.
npm run lint:php:fix to fix any php violations that can be corrected automatically.
npm run zip to create a pattern-manager.zip file.
Contributor License Agreement (CLA)
All external contributors to WP Engine products must have a signed Contributor License Agreement (CLA) in place before the contribution may be accepted into any WP Engine codebase.