WordPress plugin development made easy with wpds-scripts.
MIT License
A webpack dev server to work with WordPress plugins.
Webpack dev server, Sass, Barba JS, GoLight JS, Prettier, WordPress Coding Standard
Conveniently develop WordPress plugins with ES6 and SCSS and watch your page update live.
You might also be interested in: wp-theme-boilerplate
Note: You should install the corresponding packages for your Editor to make full use of this feature.
npm i
and composer install
to install all the packages (you might also want to update the packages).cmd/ctrl
+ shift
+ f
in atom and vscode) and replace all boilerplate-slug
and boilerplate_slug
instances with your own slug.wp-plugin-boilerplate.php
file with your own slug and start coding!Note: JS/SCSS/PHP Linters are preinstalled and will help you while developing, but ONLY if you have configured your editor correctly. Prettier and PHP_CodeSniffer (phpcs) can format you code aswell according to the linting rules.
Note: This Boilerplate comes with the JavaScript libraries
Barba JS
andGoLight JS
preinstalled. Don't hesitate to remove them and write your own script.
To start the development server run npm start
To create a production build run npm run build
Please refer to the wpds-scripts configuration.
You can buy me a cup of coffee, if you'd like ^^