- Site https://www.ghostkit.io/
- WordPress Plugin https://wordpress.org/plugins/ghostkit/
Prerequisite | How to check | How to install |
---|---|---|
PHP >= 5.5.9 | php -v |
php.net |
Node.js >= 6.x.x | node -v |
nodejs.org |
Composer >= 1.0.0 | composer -V |
getcomposer.org |
- Run
npm install
in the command line. Or if you need to update some dependencies, runnpm update
npm run build
to run buildnpm run dev
to run build and start files watchernpm run production
to run build and prepare zip files for production
We use pre-commit
and pre-push
hooks for Git to lint sources with phpcs
, eslint
and stylelint
tasks.
NPM commands to work with linting:
npm run php-lint
to showphpcs
errorsnpm run php-lint-fix
to automatically fix some of thephpcs
errorsnpm run js-lint
to showeslint
errorsnpm run js-lint-fix
to automatically fix some of theeslint
errorsnpm run css-lint
to showstylelint
errorsnpm run css-lint-fix
to automatically fix some of thestylelint
errors
All linters compatible with the modern IDE and code editors.