Title: package.json
Published: 11 September 2023
Last modified: 5 July 2024

---

[Home](https://learn.wordpress.org)[Courses](https://learn.wordpress.org/courses/)
[Developing your first WordPress block](https://learn.wordpress.org/course/developing-your-first-wordpress-block/)
package.json

 [ Exit Course ](https://learn.wordpress.org/course/developing-your-first-wordpress-block/)

 1.   a.  [   Getting set up  ](https://learn.wordpress.org/lesson/getting-set-up/)
      b.  [   Installing Node.js and npm  ](https://learn.wordpress.org/lesson/installing-node-js-and-npm/)
      c.  [   All about the terminal  ](https://learn.wordpress.org/lesson/all-about-the-terminal/)
      d.  [   Why install Chocolatey for Windows?  ](https://learn.wordpress.org/lesson/why-install-chocolatey-for-windows/)
      e.  [   Why install nvm to install node.js, and npm  ](https://learn.wordpress.org/lesson/why-install-nvm-to-install-node-js-and-npm/)
      f.  [   Week 1 wrap up  ](https://learn.wordpress.org/lesson/week-1-wrap-up/)
 2.   6 lessons
 3.   a.  [   Welcome to week 2  ](https://learn.wordpress.org/lesson/welcome-to-week-2/)
      b.  [   Introducing create-block  ](https://learn.wordpress.org/lesson/introducing-create-block/)
      c.  [   Why use create-block?  ](https://learn.wordpress.org/lesson/why-use-create-block/)
      d.  [   What does create-block generate?  ](https://learn.wordpress.org/lesson/what-does-create-block-generate/)
      e.  [   package.json  ](https://learn.wordpress.org/lesson/package-json/)
      f.  [   block.json  ](https://learn.wordpress.org/lesson/block-json/)
      g.  [   Activity: Making some changes and building your block  ](https://learn.wordpress.org/lesson/activity-making-some-changes-and-building-your-block/)
      h.  [   Week 2 wrap up  ](https://learn.wordpress.org/lesson/week-2-wrap-up/)
 4.   8 lessons
 5.   a.  [   Welcome to week 3  ](https://learn.wordpress.org/lesson/welcome-to-week-3/)
      b.  [   My Reading List  ](https://learn.wordpress.org/lesson/my-reading-list/)
      c.  [   Block Registration  ](https://learn.wordpress.org/lesson/block-registration/)
      d.  [   The import declaration  ](https://learn.wordpress.org/lesson/the-import-declaration/)
      e.  [   Internationalisation  ](https://learn.wordpress.org/lesson/internationalisation/)
      f.  [   Block Styling  ](https://learn.wordpress.org/lesson/block-styling/)
      g.  [   useBlockProps  ](https://learn.wordpress.org/lesson/useblockprops/)
      h.  [   Wrap up  ](https://learn.wordpress.org/lesson/wrap-up/)
 6.   8 lessons
 7.   a.  [   Welcome to week 4  ](https://learn.wordpress.org/lesson/welcome-to-week-4/)
      b.  [   Accessing WordPress data  ](https://learn.wordpress.org/lesson/accessing-wordpress-data/)
      c.  [   Developer Tools and the Console  ](https://learn.wordpress.org/lesson/developer-tools-and-the-console/)
      d.  [   JavaScript concepts  ](https://learn.wordpress.org/lesson/javascript-concepts/)
      e.  [   React concepts  ](https://learn.wordpress.org/lesson/react-concepts/)
      f.  [   Block Editor concepts  ](https://learn.wordpress.org/lesson/block-editor-concepts/)
      g.  [   Wrap up  ](https://learn.wordpress.org/lesson/wrap-up-2/)
 8.   7 lessons
 9.   a.  [   Welcome to week 5  ](https://learn.wordpress.org/lesson/welcome-to-week-5/)
      b.  [   Block Components, Block Attributes, and Block Controls  ](https://learn.wordpress.org/lesson/block-components-block-attributes-and-block-controls/)
      c.  [   Block Components  ](https://learn.wordpress.org/lesson/block-components/)
      d.  [   Block Attributes  ](https://learn.wordpress.org/lesson/block-attributes/)
      e.  [   Wrap up  ](https://learn.wordpress.org/lesson/wrap-up-3/)
 10.  5 lessons
 11.  a.  [   Welcome to week 6  ](https://learn.wordpress.org/lesson/welcome-to-week-6/)
      b.  [   The save function, and dynamic blocks  ](https://learn.wordpress.org/lesson/the-save-function-and-dynamic-blocks/)
      c.  [   Dynamic blocks  ](https://learn.wordpress.org/lesson/dynamic-blocks/)
      d.  [   Preparing your block plugin for distribution  ](https://learn.wordpress.org/lesson/preparing-your-block-plugin-for-distribution/)
      e.  [   Wrap up  ](https://learn.wordpress.org/lesson/wrap-up-4/)
 12.  5 lessons

### Week 2: Using create-block to scaffold a new block.

# package.json

 You don’t have access to this lesson

Please register or sign in to access the course content.

 [ Take course ](https://learn.wordpress.org/course/developing-your-first-wordpress-block/)

 [ Sign in ](https://login.wordpress.org/?redirect_to=https%3A%2F%2Flearn.wordpress.org%2Flesson%2Fpackage-json%2F&locale=en_US)

##  Suggestions

 Found a typo, grammar error or outdated screenshot? [Contact us](https://learn.wordpress.org/report-content-feedback/).