Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nk-crew/ghostkit
Gutenberg blocks for WordPress
https://github.com/nk-crew/ghostkit
Last synced: 10 days ago
JSON representation
Gutenberg blocks for WordPress
- Host: GitHub
- URL: https://github.com/nk-crew/ghostkit
- Owner: nk-crew
- License: gpl-2.0
- Created: 2018-03-27T09:53:22.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-04-04T16:20:35.000Z (7 months ago)
- Last Synced: 2024-04-20T20:06:46.556Z (7 months ago)
- Language: PHP
- Homepage: https://www.ghostkit.io/
- Size: 14.2 MB
- Stars: 149
- Watchers: 9
- Forks: 32
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-gutenberg - Ghostkit Blocks
README
# GhostKit - Gutenberg blocks for WordPress
- Site
- WordPress Plugin## Development
### Requirements
| Prerequisite | How to check | How to install |
| ------------------------- | ------------- | ----------------------------------------------- |
| PHP >= 5.5.9 | `php -v` | [php.net](https://php.net/manual/en/install.php) |
| Node.js >= 6.x.x | `node -v` | [nodejs.org](https://nodejs.org/) |
| Composer >= 1.0.0 | `composer -V` | [getcomposer.org](https://getcomposer.org) |### Installation
- Run `npm install` in the command line. Or if you need to update some dependencies, run `npm update`
### Building
- `npm run build` to run build
- `npm run dev` to run build and start files watcher
- `npm run production` to run build and prepare zip files for production### Linting
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 show `phpcs` errors
- `npm run php-lint-fix` to automatically fix some of the `phpcs` errors
- `npm run js-lint` to show `eslint` errors
- `npm run js-lint-fix` to automatically fix some of the `eslint` errors
- `npm run css-lint` to show `stylelint` errors
- `npm run css-lint-fix` to automatically fix some of the `stylelint` errorsAll linters compatible with the modern IDE and code editors.