A StorePress Plugin
You can test the block in your browser using Playground.
git init
npm i
npm run packages-update
- Update WordPress packages
npm start
npm run create-dynamic-block [block name]
- To add dynamic blocknpm run create-static-block [block name]
- To add static block
npm run lint:js
- Lint Javascriptnpm run lint:js:report
- Lint Javascript and will generatelint-report.html
. From terminalopen lint-report.html
npm run lint:css
- Lint CSSnpm run lint:css:report
- Lint CSS and will generatescss-report.txt
file.npm run lint:php
- PHP lint and will generatephpcs-report.txt
file.
npm run lint:js:fix
- Fix Javascript Lint Issue.npm run lint:css:fix
- Fix SCSS Lint Issue.
npm run format:js
- Format Javascriptnpm run format:css
- Format SCSSnpm run format:php
- Format PHPnpm run format
- Format./src
npm run plugin-zip
- make zip based onpackage.json
files
list.npm run package
- make directory based onpackage.json
files
list.
npm run language
- Make POT File- Then follow this link to test
- Check translation guide