live-command
v2.0.0
Published
Npm command for final version. Wordpress theme from development to live version.
Downloads
22
Readme
NPM
Wordpress theme compiler. Make your theme ready for live.
Install
Install the package through npm package manager.
npm install --save-dev live-command
In your package.json under scripts add the following code:
"live": "node node_modules/cross-env/src/bin/cross-env.js NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js && node node_modules/live-command/src/index.js"
Usage
If you want to upload your theme to ftp. Compress your theme for faster upload.
npm run live