# Development Environment

Force Add To Cart uses wp-env for a local development environment. The following commands are available via npm:

- npm run start - Starts the environment
- npm run stop - Stops the environment
- npm run wp - WP-CLI access to the environment

# JavaScript Development

We rely heavily on wp-scripts for building and maintaining our JavaScript. The following commands are available via npm:

- npm run build - Run a build
- npm run format - Format your code
- npm run lint:(css/js) - Lint your CSS or JavaScript code

# Php Development

We follow the WordPress Code Standards strictly. Make sure all code adheres to the standards. We have the following commands to lint code for standards:

- composer lint - Run WPCS on the codebase
- composer clean - Beautify code
