-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
052be42
commit 5665407
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"name": "" | ||
} |
16 changes: 16 additions & 0 deletions
16
blog.araya.dev/src/content/blog/2023-10-01-package-json-2023.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
title: 2023年現在package.jsonに何を書くか | ||
tags: | ||
- Node.js | ||
- package.json | ||
date: "2023-10-01" | ||
description: 2023年現在package.jsonに書くべきことをライブラリ/アプリケーションそれぞれの視点からまとめる | ||
draft: true | ||
--- | ||
|
||
## Intro | ||
|
||
npmを利用するpackageやアプリケーションで、依存関係やそのpackageの情報を[package.json](https://docs.npmjs.com/cli/v10/configuring-npm/package-json)に記述することは、多くのJavaScript開発者にとってはおなじみだろう。package.jsonはただのJSONファイルであるため、JSONフォーマットに従っていればどのようなfield,valueも書くことができる。 | ||
npmが公式でサポートするfieldについては[npmのドキュメント](https://docs.npmjs.com/cli/v10/configuring-npm/package-json)で確認可能だが、周辺のJavaScriptおよびNode.jsのエコシステムの発展につれ、Node.jsのプロジェクトにおいてpackage.jsonに記述するfieldは多様化してきている。 | ||
|
||
## Meta data of the package |