- ES6 with Babel (support to import..from, let, const, arrow functions, etc)
- Webpack for JS modules
- Image optimization
- CSS Autoprefixer
- PHP Server and live reload with BrowserSync
- Powerful CSS with SASS
- JS and CSS minification
- Install and use components via npm and bower
- Useful Wordpress helper functions
- Styles and scripts enqueued
First of all, you need the PHP 5.4+ and MySQL installed on your environment.
- Downlod this repo
- Install npm dependencies with
npm install - Download wordpress via
npm run wordpressonce - Go to
development/sass/style.scssand put your theme's information - Run
npm run watchto preview and code - Install Wordpress and connect to your database, after that, sign in on Wordpress and activate the
infinity-game-wp - Code on the
developmentfolder like a theme (use full Wordpress functions) - Finished? Run
npm run buildto get an optimized wordpress package ondistfolder
Every time that you use npm run wordpress, be careful, it will erase every Wordpress installation and database connections, but don't worry, your development folder will be safe.
MIT.
