dist
6 years ago
src
6 years ago
.editorconfig
7 years ago
.eslintignore
7 years ago
.eslintrc.json
7 years ago
.gitignore
7 years ago
README.md
7 years ago
package-lock.json
6 years ago
package.json
6 years ago
plugin.php
7 years ago
README.md
25 lines
| 1 | This project was bootstrapped with [](https://github.com/ahmadawais/create-guten-blockCreate Guten Block](https://github.com/ahmadawais/create-guten-block](https://github.com/ahmadawais/create-guten-block). |
| 2 | |
| 3 | Below you will find some information on how to run scripts. |
| 4 | |
| 5 | >You can find the most recent version of this guide [](https://github.com/ahmadawais/create-guten-blockhere](https://github.com/ahmadawais/create-guten-block](https://github.com/ahmadawais/create-guten-block). |
| 6 | |
| 7 | ## 👉 `npm start` |
| 8 | - Use to compile and run the block in development mode. |
| 9 | - Watches for any changes and reports back any errors in your code. |
| 10 | |
| 11 | ## 👉 `npm run build` |
| 12 | - Use to build production code for your block inside `dist` folder. |
| 13 | - Runs once and reports back the gzip file sizes of the produced code. |
| 14 | |
| 15 | ## 👉 `npm run eject` |
| 16 | - Use to eject your plugin out of `create-guten-block`. |
| 17 | - Provides all the configurations so you can customize the project as you want. |
| 18 | - It's a one-way street, `eject` and you have to maintain everything yourself. |
| 19 | - You don't normally have to `eject` a project because by ejecting you lose the connection with `create-guten-block` and from there onwards you have to update and maintain all the dependencies on your own. |
| 20 | |
| 21 | --- |
| 22 | |
| 23 | ###### Feel free to tweet and say 👋 at me [](https://twitter.com/mrahmadawais/@MrAhmadAwais](https://twitter.com/mrahmadawais/](https://twitter.com/mrahmadawais/) |
| 24 | |
| 25 | [](https://www.npmjs.com/package/create-guten-block](https://www.npmjs.com/package/create-guten-block](https://www.npmjs.com/package/create-guten-block) [](https://www.npmjs.com/package/create-guten-block](https://www.npmjs.com/package/create-guten-block](https://www.npmjs.com/package/create-guten-block) [](https://github.com/ahmadawais/create-guten-block](https://github.com/ahmadawais/create-guten-block](https://github.com/ahmadawais/create-guten-block) [](https://twitter.com/mrahmadawais/](https://twitter.com/mrahmadawais/](https://twitter.com/mrahmadawais/) [](https://github.com/ahmadawais/create-guten-block/stargazers](https://github.com/ahmadawais/create-guten-block/stargazers](https://github.com/ahmadawais/create-guten-block/stargazers) [](https://github.com/ahmadawais?tab=followers](https://github.com/ahmadawais?tab=followers](https://github.com/ahmadawais?tab=followers) |