This repository was archived by the owner on Oct 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
For Developers
Jen Baumann edited this page Apr 26, 2023
·
2 revisions
- 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 devto watch JS and CSS files for changes and build them using webpack.
Scripts are provided to help with code linting. You can use these commands:
-
npm run lint:cssto generate a report of style violations for CSS/SCSS. -
npm run lint:css:fixto fix any style violations that can be corrected automatically. -
npm run lint:jsto generate a report of style violations for script files. -
npm run lint:js:fixto fix any script violations that can be corrected automatically. -
npm run lint:phpto generate a report of style violations for script files. -
npm run lint:php:fixto fix any php violations that can be corrected automatically. -
npm run zipto create apattern-manager.zipfile.
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.
- Submit your name and email
- 📝 Sign the CLA emailed to you
- 📥 Receive copy of signed CLA
❤️ Thank you for helping us fulfill our legal obligations in order to continue empowering builders through WordPress.
See the package.json file for more commands.