How To Create and Publish Your First NPM Package

Опубликовано: 07 Октябрь 2024
на канале: Strapi
3,413
43

#strapi
How To Create and Publish Your First NPM Package by publishing a Strapi plugin to NPM.

This npm tutorial for beginners will teach you how to publish a Strapi plugin to NPM; this also applies to any other code you would like to publish.

Additional resource: https://strapi.io/blog/how-to-create-...

------------------------------------------------------------------------------------------------------------------------
Chapters
-------------------------------------------------------------------------------------------------------------------------

00:00 introduction
01:06 creating a plugin to share on NPM
02:10 files to publish overview
03:01 create a GitHub repo
03:29 key plugin folder to push to GitHub
04:31 README.md file
05:02 good README.md file example
05:42 additional resources
06:06 setup your package.json file
07:05 creating an NPM account
07:45 login to NPM from terminal and deploy
08:53 Strapi marketplace guidelines
09:42 we did it and where to find help

------------------------------------------------------------------------------------------------------------------------
Resources
------------------------------------------------------------------------------------------------------------------------

Find help on Discord:   / discord  
Find help in our Forum: https://forum.strapi.io/

------------------------------------------------------------------------------------------------------------------------
About
------------------------------------------------------------------------------------------------------------------------

Learn more with Paul -    / codingafter.  .

Get started with Strapi: https://strapi.io/
Try live demo: https://strapi.io/demo
Strapi Blog: https://strapi.io/blog
We are hiring! https://strapi.io/careers