/WordPress-Plugin-Boilerplate

Auto generating WordPress plugin architecture

Primary LanguagePHPGNU General Public License v3.0GPL-3.0

npm run create-plugin

  • Use to update plugins File Header:
    • Name ( default: Private Plugin Boilerplate)
    • Description ( default: This plugin is the base for any provate plugin )
    • Version ( default: 0.1 )
    • Author ( default: Ernest Smuga )
    • Author URI ( default: none )
    • Plugin URI ( default: none )
    • License ( default: GPL2 )
    • License URI ( default: https://www.gnu.org/licenses/gpl-2.0.html )
    • Text Domain ( default: {Name -> encoded} )
    • Domain Path ( default: /languages )
  • Use to update php files in plugin
    • namespace
    • functionality

npm start

  • Use to compile and run in development mode.
  • Watches for any changes and reports back any errors in your code.

npm run build

  • Use to build production code inside dist folder.
  • Watches for any changes and reports back any errors in your code.