Awesome Motive Developer Applicant Challenge, Part 1
npm install
Requirement(s): Node v18.16.0 or later
Run the following command(s) in the leighton-quito
plugin folder:
#!bash
$ cd <path-to-wordpress>/wp-content/plugins/leighton-quito
# Install composer:
$ composer install
Use Webpack to build plugin scripts and styles while hot-reloading on every change.
Build design tokens into ./assets/scss/_utils/_tokens.scss
file.
Runs installed unit tests.
Compiles plugin files to get them ready for release.
Mixes npm run prod
with other tasks to prepare the plugin for release.
- Build tokens
- Compile assets
- Translate plugin
- Creates a
dist
temp folder to copy all released files and folders - Zips the
dist
folder including the version in the name