Setup of an npm project using cmd npm init Install the WordPress official package of scripts. npm install @wordpress/scripts --save-dev Change in package json {
"name": "tools",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"build": "wp-scripts build",
"start"…