{"id":5514,"date":"2025-09-14T16:19:25","date_gmt":"2025-09-14T16:19:25","guid":{"rendered":"https:\/\/pokecon.jp\/job\/?p=5514"},"modified":"2025-09-14T16:19:25","modified_gmt":"2025-09-14T16:19:25","slug":"%e3%81%84%e3%81%be%e3%81%95%e3%82%89%e8%81%9e%e3%81%91%e3%81%aa%e3%81%84npm-dependencies-%e7%a9%ba%e3%81%ae%e7%ae%b1","status":"publish","type":"post","link":"https:\/\/pokecon.jp\/job\/5514\/","title":{"rendered":"\u3044\u307e\u3055\u3089\u805e\u3051\u306a\u3044npm dependencies &#8211; \u7a7a\u306e\u7bb1"},"content":{"rendered":"\n<\/p>\n<div>\n<p>\u6700\u8fd1<code>pnpm<\/code>\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u773a\u3081\u3066\u3044\u305f\u3093\u3060\u3051\u3069\u3001\u305d\u3053\u3067\u3088\u304f\u77e5\u3089\u306a\u3044\u4f9d\u5b58\u95a2\u4fc2\u306e\u7a2e\u985e\u304c\u51fa\u3066\u304d\u305f\u3002\u3044\u307e\u3055\u3089\u4eba\u306b\u805e\u304f\u306e\u306f\u6065\u305a\u304b\u3057\u3044\u3068\u601d\u3063\u305f\u306e\u3067\u3001\u7406\u89e3\u3057\u305f\u3053\u3068\u3092\u307e\u3068\u3081\u3066\u30a2\u30a6\u30c8\u30d7\u30c3\u30c8\u3057\u3066\u304a\u304f\u3002<\/p>\n<ul>\n<li>\u305d\u3082\u305d\u3082\u4f9d\u5b58\u95a2\u4fc2\u3068\u306f\uff1f<\/li>\n<li><code>package-lock.json<\/code>\u3068\u306f\uff1f<\/li>\n<\/ul>\n<p>\u3068\u3044\u3063\u305f\u8a71\u306f\u7406\u89e3\u3067\u304d\u3066\u3044\u308b\u524d\u63d0\u3067\u66f8\u304f\u3002<\/p>\n<p>\u6700\u3082\u57fa\u672c\u3068\u306a\u308b\u4f9d\u5b58\u95a2\u4fc2\u3002<code>npm install<\/code>\u3059\u308b\u3068<strong>dependencies<\/strong>\u306b\u66f8\u304b\u308c\u305f\u3082\u306e\u306f\u5168\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u3053\u3068\u306b\u306a\u308b\u3002<\/p>\n<p>\u306a\u306e\u3067\u3001\u672c\u756a\u74b0\u5883\u3067\u4f7f\u3046\u3082\u306e\u3057\u304b\u3053\u3053\u306b\u306f\u5165\u308c\u3066\u306f\u3044\u3051\u306a\u3044\u3002\u300c\u3067\u306f\u305d\u308c\u4ee5\u5916\u306e\u3082\u306e\u306f\u3069\u3053\u306b\u3044\u308c\u308b\u306e\u304b\uff1f\u300d\u3068\u306a\u308b\u304c\u3001\u57fa\u672c\u7684\u306b\u306f<strong>devDependencies<\/strong>\u3068\u306a\u308b\u3002<\/p>\n<p>\u3053\u306e\u8a71\u81ea\u4f53\u306f\u3044\u308d\u3093\u306a\u8a18\u4e8b\u3084\u30ab\u30f3\u30d5\u30a1\u30ec\u30f3\u30b9\u306e<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/%A5%C8%A1%BC%A5%AF\">\u30c8\u30fc\u30af<\/a>\u3067\u64e6\u3089\u308c\u7d9a\u3051\u3066\u3044\u308b\u306e\u3067\u3001\u3082\u3046\u304a\u8179\u3044\u3063\u3071\u3044\u611f\u304c\u3042\u308b\u3002<\/p>\n<p>\u4e00\u5fdc\u66f8\u304f\u3068\u3001<code>devDependencies<\/code>\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306b\u306f<code>npm install --save-dev <package\/><\/code>\u3068\u3059\u308b\u3002\u9006\u306b\u672c\u756a\u74b0\u5883\u3067<code>dependencies<\/code>\u306e\u307f\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306b\u306f\u3001<code>npm install --omit=dev<\/code>\u3068\u66f8\u304f\u3002<\/p>\n<p>\u3053\u3053\u307e\u3067\u306f\u307e\u3042\u57fa\u672c\u3067\u3001\u4ee5\u964d\u304c\u3088\u304f\u77e5\u3089\u306a\u304b\u3063\u305f\u3082\u306e\u305f\u3061\u3002<\/p>\n<p>\u540d\u524d\u7684\u306b<strong>\u5165\u308c\u3066\u3082\u5165\u308c\u306a\u304f\u3066\u3082\u3069\u3063\u3061\u3067\u3082\u3044\u3044\u30e9\u30a4\u30d6\u30e9\u30ea<\/strong>\u3063\u307d\u3044\u304c\u672c\u5f53\u306b\u5408\u3063\u3066\u308b\u304b\u88cf\u3092\u53d6\u308b\u3002<\/p>\n<p><a target=\"_blank\" href=\"https:\/\/docs.npmjs.com\/cli\/v6\/configuring-npm\/package-json#optionaldependencies\">\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a>\u3092\u8aad\u3080\u3068\u3001<\/p>\n<blockquote>\n<p>If a <a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/dependency\">dependency<\/a> can be used, but you would like npm to proceed if it cannot be found or fails to install, then you may put it in the optionalDependencies object.<\/p>\n<p>\u3042\u308b\u4f9d\u5b58\u95a2\u4fc2\u304c\u4f7f\u7528\u3067\u304d\u308b\u304c\u3001\u305d\u308c\u304c\u898b\u3064\u304b\u3089\u306a\u304b\u3063\u305f\u308a\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u5931\u6557\u3057\u305f\u5834\u5408\u306bnpm\u306b\u51e6\u7406\u3092\u9032\u3081\u3055\u305b\u305f\u3044\u5834\u5408\u306f\u3001optionalDependencies\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u305d\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u8a18\u8ff0\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002<\/p>\n<\/blockquote>\n<p>\u3068\u3044\u3046\u3053\u3068\u3089\u3057\u3044\u3002\u88cf\u3092\u8fd4\u3059\u3068<code>optionalDependencies<\/code>\u3092\u542b\u3080\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u914d\u5e03\u3059\u308b\u5834\u5408\u306f\u305d\u308c\u304c\u5931\u6557\u3057\u305f\u3068\u3057\u3066\u3082\u52d5\u304f\u72b6\u614b\u306b\u3057\u3066\u3042\u3052\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u3053\u3068\u306b\u306a\u308b\u3002<\/p>\n<p>\u4f8b\u3048\u3070<a target=\"_blank\" href=\"https:\/\/github.com\/vercel\/next.js\/blob\/6369981754e418c8b483d132cc5c9807264a0760\/packages\/next\/package.json#L101-L103\">Next.js\u306epackage.json<\/a>\u3092\u898b\u308b\u3068\u3001<\/p>\n<pre class=\"code lang-json\" data-lang=\"json\" data-unlink=\"\">  \"<span class=\"synStatement\">optionalDependencies<\/span>\": <span class=\"synSpecial\">{<\/span>\n    \"<span class=\"synStatement\">sharp<\/span>\": \"<span class=\"synConstant\">0.26.3<\/span>\"\n  <span class=\"synSpecial\">}<\/span>,\n<\/pre>\n<p>\u3068\u306a\u3063\u3066\u3044\u308b\u3002<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/sharp\">sharp<\/a>\u306f\u753b\u50cf\u5909\u63db\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3002<\/p>\n<p><iframe src=\"https:\/\/hatenablog-parts.com\/embed?url=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2Fsharp\" title=\"sharp\" class=\"embed-card embed-webcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 155px; max-width: 500px; margin: 10px 0px;\" loading=\"lazy\"><\/iframe><cite class=\"hatena-citation\"><a target=\"_blank\" href=\"https:\/\/www.npmjs.com\/package\/sharp\">www.npmjs.com<\/a><\/cite><\/p>\n<p>\u3053\u308c\u304cNext.js\u306e\u3069\u306e\u8fba\u3067\u4f7f\u308f\u308c\u3066\u3044\u308b\u306e\u3092\u898b\u3066\u307f\u308b\u3068\u3001<a target=\"_blank\" href=\"https:\/\/github.com\/vercel\/next.js\/blob\/a6375148dc698fe302d34190d8fbd812f3013b9d\/packages\/next\/src\/server\/image-optimizer.ts#L51-L77\">image-optimizer.ts<\/a>\u3089\u3057\u3044\u3002<\/p>\n<p>\u3064\u307e\u308a\u300cNext.js\u306f\u4f7f\u3044\u305f\u3044\u3051\u3069\u753b\u50cf\u306f\u5225\u306b\u6271\u308f\u306a\u3044<a target=\"_blank\" href=\"#f-640137d6\" id=\"fn-640137d6\" name=\"fn-640137d6\" title=\"\u3071\u3063\u3068\u601d\u3044\u3064\u304f\u306e\u306f\u3001json\u306e\u307f\u3092\u6271\u3046REST API\u30b5\u30fc\u30d0\u30fc\u3092\u7acb\u3066\u308b\u3068\u304b\uff1f\">*1<\/a>\u304b\u3089\u3068\u308a\u3042\u3048\u305a\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u7d9a\u3051\u3066\u304f\u308c\u300d\u307f\u305f\u3044\u306a\u30b7\u30fc\u30f3\u3067\u306f<code>sharp<\/code>\u304c\u306a\u304f\u3066\u3082\u554f\u984c\u306a\u3044\u305f\u3081\u3001<code>optionalDependencies<\/code>\u306b\u542b\u307e\u308c\u3066\u3044\u308b\u3068\u601d\u308f\u308c\u308b\u3002<\/p>\n<p>\u306a\u3093\u3068\u306a\u304f<strong>\u3053\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u3046\u306a\u3089\u3001\u25cb\u25cb\u304c\u3059\u3067\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u524d\u63d0\u3060\u3088\uff01<\/strong>\u3063\u3066\u3053\u3068\u3092\u9023\u60f3\u3055\u305b\u3089\u308c\u308b\u540d\u524d\u3002<\/p>\n<p><a target=\"_blank\" href=\"https:\/\/docs.npmjs.com\/cli\/v11\/configuring-npm\/package-json#dependencies\">\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a>\u3092\u8aad\u3080\u3068\u3001<\/p>\n<blockquote>\n<p>In some cases, you want to express the compatibility of your package with a host tool or library, while not necessarily doing a require of this host. This is usually referred to as a plugin.<\/p>\n<p>\u5834\u5408\u306b\u3088\u3063\u3066\u306f\u3001\u81ea\u5206\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u7279\u5b9a\u306e\u30db\u30b9\u30c8\u30c4\u30fc\u30eb\u3084\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u4e92\u63db\u6027\u304c\u3042\u308b\u3053\u3068\u3092\u793a\u3057\u305f\u3044\u304c\u3001\u305d\u306e\u30db\u30b9\u30c8\u3092\u76f4\u63a5 require \u3059\u308b\u5fc5\u8981\u306f\u306a\u3044\u3053\u3068\u3082\u3042\u308b\u3002\u3053\u3046\u3057\u305f\u30b1\u30fc\u30b9\u306f\u3001\u4e00\u822c\u7684\u306b\u300c<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/%A5%D7%A5%E9%A5%B0%A5%A4%A5%F3\">\u30d7\u30e9\u30b0\u30a4\u30f3<\/a>\u300d\u3068\u547c\u3070\u308c\u308b<\/p>\n<\/blockquote>\n<p>\u3068\u3044\u3046\u3053\u3068\u3089\u3057\u3044\u3002\u8981\u306f<code>peerDependencies<\/code>\u306b\u66f8\u304b\u308c\u305f\u30e9\u30a4\u30d6\u30e9\u30ea\u306f\u3001\u5fc5\u305a\u3057\u3082<code>peerDependencies<\/code>\u3092\u8981\u6c42\u3059\u308b\u5074\u3067install\u3059\u308b\u5fc5\u8981\u304c\u306a\u3044\u3068\u3044\u3046\u3053\u3068\u3089\u3057\u3044\u3002\u3053\u308c\u306f\u5b9f\u4f8b\u3092\u3044\u304f\u3064\u304b\u898b\u308b\u306e\u304c\u3088\u3055\u305d\u3046\u3002<\/p>\n<p>\u4f8b\u3048\u3070<code>optionalDependencies<\/code>\u306b\u7d9a\u3044\u3066<a target=\"_blank\" href=\"https:\/\/github.com\/vercel\/next.js\/blob\/6369981754e418c8b483d132cc5c9807264a0760\/packages\/next\/package.json#L104-L110\">Next.js\u306e\u305d\u308c<\/a>\u3092\u898b\u3066\u307f\u308b\u3002<\/p>\n<pre class=\"code lang-json\" data-lang=\"json\" data-unlink=\"\">  \"<span class=\"synStatement\">peerDependencies<\/span>\": <span class=\"synSpecial\">{<\/span>\n    \"<span class=\"synStatement\">fibers<\/span>\": \"<span class=\"synConstant\">&gt;= 3.1.0<\/span>\",\n    \"<span class=\"synStatement\">node-sass<\/span>\": \"<span class=\"synConstant\">^4.0.0 || ^5.0.0<\/span>\",\n    \"<span class=\"synStatement\">react<\/span>\": \"<span class=\"synConstant\">^16.6.0 || ^17<\/span>\",\n    \"<span class=\"synStatement\">react-dom<\/span>\": \"<span class=\"synConstant\">^16.6.0 || ^17<\/span>\",\n    \"<span class=\"synStatement\">sass<\/span>\": \"<span class=\"synConstant\">^1.3.0<\/span>\"\n  <span class=\"synSpecial\">}<\/span>,\n<\/pre>\n<p>\u308f\u304b\u308a\u3084\u3059\u3044\u306e\u306fReact\u3067\u3001\u78ba\u304b\u306bNext.js\u306f\u305d\u3082\u305d\u3082React\u304c\u306a\u3044\u3068\u52d5\u304b\u306a\u3044\u3002\u3051\u3069Next.js\u306bReact\u304c\u540c\u68b1\u3055\u308c\u3066\u3044\u308b\u308f\u3051\u3067\u306f\u306a\u304f\u3066\u3001<a target=\"_blank\" href=\"https:\/\/nextjs.org\/docs\/app\/getting-started\/installation#manual-installation\">\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a>\u306e\u624b\u9806\u306b\u3082\u3042\u308b\u3068\u304a\u308aReact\u306f\u500b\u5225\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u306b\u306a\u308b<a target=\"_blank\" href=\"#f-d3b9f5b6\" id=\"fn-d3b9f5b6\" name=\"fn-d3b9f5b6\" title=\"\u305f\u3076\u3093\u3053\u3046\u3059\u308b\u3053\u3068\u3067\u3001React\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u3042\u308b\u7a0b\u5ea6\u597d\u304d\u306b\u4f7f\u3048\u305f\u308a\u3059\u308b\u70b9\u304c\u30e1\u30ea\u30c3\u30c8\u306a\u3093\u3060\u3068\u601d\u3046\u3002\">*2<\/a>\u3002<\/p>\n<p>\u3042\u3068\u306f\u5f15\u7528\u3057\u305fnpm\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306e\u901a\u308a\u3001<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/%A5%D7%A5%E9%A5%B0%A5%A4%A5%F3\">\u30d7\u30e9\u30b0\u30a4\u30f3<\/a>\u3092\u307f\u308b\u3068\u3044\u3044\u306e\u304b\u3082\u3002\u3063\u3066\u3053\u3068\u3067eslint\u306eplugin\u3067\u3042\u308b<a target=\"_blank\" href=\"https:\/\/github.com\/sindresorhus\/eslint-plugin-unicorn\/blob\/052c281b7df6ace58cc2598f4e822223fea69438\/package.json#L112-L114\">eslint-plugin-unicorn\u306epackage.json<\/a>\u3092\u307f\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u3002<\/p>\n<pre class=\"code lang-json\" data-lang=\"json\" data-unlink=\"\">   \"<span class=\"synStatement\">peerDependencies<\/span>\": <span class=\"synSpecial\">{<\/span>\n        \"<span class=\"synStatement\">eslint<\/span>\": \"<span class=\"synConstant\">&gt;=9.22.0<\/span>\"\n    <span class=\"synSpecial\">}<\/span>,\n<\/pre>\n<p><code>eslint-plugin-unicorn<\/code>\u306b\u3064\u3044\u3066\u306f\u904e\u53bb\u306b\u8a18\u4e8b\u3092\u66f8\u3044\u3066\u3044\u308b\u3002<\/p>\n<p><iframe src=\"https:\/\/hatenablog-parts.com\/embed?url=https%3A%2F%2Fzenn.dev%2Fyskn_sid25%2Farticles%2Fc309f804fde5a5\" title=\"eslint-plugin-unicorn\u3067\u30d5\u30a1\u30a4\u30eb\u540d\u306e\u30b1\u30fc\u30b9\u30b9\u30bf\u30a4\u30eb\u3092\u7d71\u4e00\u3059\u308b\" class=\"embed-card embed-webcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 155px; max-width: 500px; margin: 10px 0px;\" loading=\"lazy\"><\/iframe><cite class=\"hatena-citation\"><a target=\"_blank\" href=\"https:\/\/zenn.dev\/yskn_sid25\/articles\/c309f804fde5a5\">zenn.dev<\/a><\/cite><\/p>\n<p>\u4f9d\u5b58\u95a2\u4fc2\u3092\u307e\u3068\u3081\u3066\u306a\u3093\u304b\u3059\u308b\u3063\u307d\u3044\u3051\u3069\u3001\u5177\u4f53\u7684\u306b\u306a\u306b\u3092\u3059\u308b\u3093\u3060\u308d\u3046\u3002\u540d\u524d\u304b\u3089\u4e00\u756a\u30a4\u30e1\u30fc\u30b8\u6e67\u304b\u306a\u3044\u306e\u304c\u3053\u308c\u3002<\/p>\n<p><a target=\"_blank\" href=\"https:\/\/docs.npmjs.com\/cli\/v11\/configuring-npm\/package-json#dependencies\">\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a>\u306b\u3088\u308b\u3068\u3001<\/p>\n<blockquote>\n<p>This defines an array of package names that will be bundled when publishing the package.<br \/>\nIn cases where you need to preserve npm packages locally or have them available through a single file download, you can bundle the packages in a tarball file by specifying the package names in the bundleDependencies array and executing npm pack.<\/p>\n<p>\u3053\u308c\u306f\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u516c\u958b\u6642\u306b\u30d0\u30f3\u30c9\u30eb\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u540d\u306e\u914d\u5217\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002<br \/>\nnpm \u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30ed\u30fc\u30ab\u30eb\u306b\u4fdd\u5b58\u3057\u305f\u308a\u3001\u5358\u4e00\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3067\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u305f\u308a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u5834\u5408\u306f\u3001 bundleDependencies \u914d\u5217\u306b\u30d1\u30c3\u30b1\u30fc\u30b8\u540d\u3092\u6307\u5b9a\u3057\u3066 npm pack \u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u3092 tarball \u30d5\u30a1\u30a4\u30eb\u306b\u30d0\u30f3\u30c9\u30eb\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/blockquote>\n<p>\u3068\u3044\u3046\u3053\u3068\u3089\u3057\u3044\u3002\u3064\u307e\u308a\u3001<code>bundleDependencies<\/code>\u306b\u6307\u5b9a\u3057\u305f\u3082\u306e\u306f\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u516c\u958b\u3059\u308b\u30bf\u30a4\u30df\u30f3\u30b0\u3067\u3053\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u306e<code>node_modules<\/code>\u306b\u542b\u307e\u308c\u308b\u3053\u3068\u306b\u306a\u308b\u3002\u306a\u306e\u3067\u3001<\/p>\n<ul>\n<li>\u5916\u90e8\u306b\u516c\u958b\u3055\u308c\u3066\u3044\u306a\u3044\u3001\u3042\u308b\u3044\u306f\u3057\u3066\u3044\u306a\u3044(\u4f8b\u3048\u3070\u5185\u90e8\u7528\u306b\u4f5c\u3063\u305f)\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u542b\u3081\u305f\u3044\u6642<\/li>\n<li>\u3082\u3068\u3082\u3068npm<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/%A5%EA%A5%DD%A5%B8%A5%C8%A5%EA\">\u30ea\u30dd\u30b8\u30c8\u30ea<\/a>\u306b\u3042\u3063\u305f\u3051\u3069\u4eca\u306f\u914d\u5e03\u3055\u308c\u3066\u306a\u304f\u3066\u3001\u81ea\u5206\u306e\u624b\u5143\u306b\u3057\u304b\u306a\u304f\u306a\u3063\u3061\u3083\u3063\u305f\u30e9\u30a4\u30d6\u30e9\u30ea<a target=\"_blank\" href=\"#f-0078a479\" id=\"fn-0078a479\" name=\"fn-0078a479\" title=\"\u3053\u308c\u306f\u30ea\u30d7\u30ec\u30fc\u30b9\u3092\u691c\u8a0e\u3059\u3079\u304d\u3060\u3051\u3069\u3001\u4f8b\u3048\u3070node\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u81ea\u4f53\u3092\u3042\u3052\u3089\u308c\u306a\u304f\u3066\u305d\u306e\u53e4\u3044\u30e9\u30a4\u30d6\u30e9\u30ea\u3057\u304b\u4f7f\u3048\u306a\u3044\u2026\u307f\u305f\u3044\u306a\u3053\u3068\u306f\u7a00\u306b\u3088\u304f\u3042\u308b\">*3<\/a><\/li>\n<\/ul>\n<p>\u307f\u305f\u3044\u306a\u30b7\u30fc\u30f3\u3067\u4f7f\u3046\u3053\u3068\u306b\u306a\u308a\u305d\u3046\u3060\u3068\u601d\u3063\u305f\u3002<\/p>\n<\/div>\n\n<br \/><a href=\"https:\/\/blog.inorinrinrin.com\/entry\/2025\/09\/14\/204604\">\u5143\u306e\u8a18\u4e8b\u3092\u78ba\u8a8d\u3059\u308b <\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\u6700\u8fd1pnpm\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u773a\u3081\u3066\u3044\u305f\u3093\u3060\u3051\u3069\u3001\u305d\u3053\u3067\u3088\u304f\u77e5\u3089\u306a\u3044\u4f9d\u5b58\u95a2\u4fc2\u306e\u7a2e\u985e\u304c\u51fa\u3066\u304d\u305f\u3002\u3044\u307e\u3055\u3089\u4eba\u306b\u805e\u304f\u306e\u306f\u6065\u305a\u304b\u3057\u3044\u3068\u601d\u3063\u305f\u306e\u3067\u3001\u7406\u89e3\u3057\u305f\u3053\u3068\u3092\u307e\u3068\u3081\u3066\u30a2\u30a6\u30c8\u30d7\u30c3\u30c8\u3057\u3066\u304a\u304f\u3002 \u305d\u3082\u305d\u3082\u4f9d\u5b58\u95a2\u4fc2\u3068\u306f\uff1f package [&hellip;]","protected":false},"author":1,"featured_media":5515,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[2],"tags":[],"class_list":["post-5514","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hatena-blog"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u3044\u307e\u3055\u3089\u805e\u3051\u306a\u3044npm dependencies - \u7a7a\u306e\u7bb1 - \u30dd\u30b1\u30b3\u30f3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.inorinrinrin.com\/entry\/2025\/09\/14\/204604\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3044\u307e\u3055\u3089\u805e\u3051\u306a\u3044npm dependencies - \u7a7a\u306e\u7bb1 - \u30dd\u30b1\u30b3\u30f3\" \/>\n<meta property=\"og:description\" content=\"\u6700\u8fd1pnpm\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u773a\u3081\u3066\u3044\u305f\u3093\u3060\u3051\u3069\u3001\u305d\u3053\u3067\u3088\u304f\u77e5\u3089\u306a\u3044\u4f9d\u5b58\u95a2\u4fc2\u306e\u7a2e\u985e\u304c\u51fa\u3066\u304d\u305f\u3002\u3044\u307e\u3055\u3089\u4eba\u306b\u805e\u304f\u306e\u306f\u6065\u305a\u304b\u3057\u3044\u3068\u601d\u3063\u305f\u306e\u3067\u3001\u7406\u89e3\u3057\u305f\u3053\u3068\u3092\u307e\u3068\u3081\u3066\u30a2\u30a6\u30c8\u30d7\u30c3\u30c8\u3057\u3066\u304a\u304f\u3002 \u305d\u3082\u305d\u3082\u4f9d\u5b58\u95a2\u4fc2\u3068\u306f\uff1f package [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.inorinrinrin.com\/entry\/2025\/09\/14\/204604\" \/>\n<meta property=\"og:site_name\" content=\"\u30dd\u30b1\u30b3\u30f3\" \/>\n<meta property=\"article:published_time\" content=\"2025-09-14T16:19:25+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/09\/1757850364.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"info@pokecon.jp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"info@pokecon.jp\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/blog.inorinrinrin.com\\\/entry\\\/2025\\\/09\\\/14\\\/204604#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/5514\\\/\"},\"author\":{\"name\":\"info@pokecon.jp\",\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#\\\/schema\\\/person\\\/16c9f07b1ba984d165d9aee259bda997\"},\"headline\":\"\u3044\u307e\u3055\u3089\u805e\u3051\u306a\u3044npm dependencies &#8211; \u7a7a\u306e\u7bb1\",\"datePublished\":\"2025-09-14T16:19:25+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/5514\\\/\"},\"wordCount\":171,\"image\":{\"@id\":\"https:\\\/\\\/blog.inorinrinrin.com\\\/entry\\\/2025\\\/09\\\/14\\\/204604#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/wp-content\\\/uploads\\\/2025\\\/09\\\/1757850364.png\",\"articleSection\":[\"\u306f\u3066\u306a\u30d6\u30ed\u30b0\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/5514\\\/\",\"url\":\"https:\\\/\\\/blog.inorinrinrin.com\\\/entry\\\/2025\\\/09\\\/14\\\/204604\",\"name\":\"\u3044\u307e\u3055\u3089\u805e\u3051\u306a\u3044npm dependencies - \u7a7a\u306e\u7bb1 - \u30dd\u30b1\u30b3\u30f3\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/blog.inorinrinrin.com\\\/entry\\\/2025\\\/09\\\/14\\\/204604#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/blog.inorinrinrin.com\\\/entry\\\/2025\\\/09\\\/14\\\/204604#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/wp-content\\\/uploads\\\/2025\\\/09\\\/1757850364.png\",\"datePublished\":\"2025-09-14T16:19:25+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#\\\/schema\\\/person\\\/16c9f07b1ba984d165d9aee259bda997\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/blog.inorinrinrin.com\\\/entry\\\/2025\\\/09\\\/14\\\/204604#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/blog.inorinrinrin.com\\\/entry\\\/2025\\\/09\\\/14\\\/204604\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/blog.inorinrinrin.com\\\/entry\\\/2025\\\/09\\\/14\\\/204604#primaryimage\",\"url\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/wp-content\\\/uploads\\\/2025\\\/09\\\/1757850364.png\",\"contentUrl\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/wp-content\\\/uploads\\\/2025\\\/09\\\/1757850364.png\",\"width\":1200,\"height\":630},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/blog.inorinrinrin.com\\\/entry\\\/2025\\\/09\\\/14\\\/204604#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3044\u307e\u3055\u3089\u805e\u3051\u306a\u3044npm dependencies &#8211; \u7a7a\u306e\u7bb1\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#website\",\"url\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/\",\"name\":\"\u30dd\u30b1\u30b3\u30f3\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#\\\/schema\\\/person\\\/16c9f07b1ba984d165d9aee259bda997\",\"name\":\"info@pokecon.jp\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g\",\"caption\":\"info@pokecon.jp\"},\"url\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/author\\\/infopokecon-jp\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u3044\u307e\u3055\u3089\u805e\u3051\u306a\u3044npm dependencies - \u7a7a\u306e\u7bb1 - \u30dd\u30b1\u30b3\u30f3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.inorinrinrin.com\/entry\/2025\/09\/14\/204604","og_locale":"ja_JP","og_type":"article","og_title":"\u3044\u307e\u3055\u3089\u805e\u3051\u306a\u3044npm dependencies - \u7a7a\u306e\u7bb1 - \u30dd\u30b1\u30b3\u30f3","og_description":"\u6700\u8fd1pnpm\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u773a\u3081\u3066\u3044\u305f\u3093\u3060\u3051\u3069\u3001\u305d\u3053\u3067\u3088\u304f\u77e5\u3089\u306a\u3044\u4f9d\u5b58\u95a2\u4fc2\u306e\u7a2e\u985e\u304c\u51fa\u3066\u304d\u305f\u3002\u3044\u307e\u3055\u3089\u4eba\u306b\u805e\u304f\u306e\u306f\u6065\u305a\u304b\u3057\u3044\u3068\u601d\u3063\u305f\u306e\u3067\u3001\u7406\u89e3\u3057\u305f\u3053\u3068\u3092\u307e\u3068\u3081\u3066\u30a2\u30a6\u30c8\u30d7\u30c3\u30c8\u3057\u3066\u304a\u304f\u3002 \u305d\u3082\u305d\u3082\u4f9d\u5b58\u95a2\u4fc2\u3068\u306f\uff1f package [&hellip;]","og_url":"https:\/\/blog.inorinrinrin.com\/entry\/2025\/09\/14\/204604","og_site_name":"\u30dd\u30b1\u30b3\u30f3","article_published_time":"2025-09-14T16:19:25+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/09\/1757850364.png","type":"image\/png"}],"author":"info@pokecon.jp","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"info@pokecon.jp","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.inorinrinrin.com\/entry\/2025\/09\/14\/204604#article","isPartOf":{"@id":"https:\/\/pokecon.jp\/job\/5514\/"},"author":{"name":"info@pokecon.jp","@id":"https:\/\/pokecon.jp\/job\/#\/schema\/person\/16c9f07b1ba984d165d9aee259bda997"},"headline":"\u3044\u307e\u3055\u3089\u805e\u3051\u306a\u3044npm dependencies &#8211; \u7a7a\u306e\u7bb1","datePublished":"2025-09-14T16:19:25+00:00","mainEntityOfPage":{"@id":"https:\/\/pokecon.jp\/job\/5514\/"},"wordCount":171,"image":{"@id":"https:\/\/blog.inorinrinrin.com\/entry\/2025\/09\/14\/204604#primaryimage"},"thumbnailUrl":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/09\/1757850364.png","articleSection":["\u306f\u3066\u306a\u30d6\u30ed\u30b0"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/pokecon.jp\/job\/5514\/","url":"https:\/\/blog.inorinrinrin.com\/entry\/2025\/09\/14\/204604","name":"\u3044\u307e\u3055\u3089\u805e\u3051\u306a\u3044npm dependencies - \u7a7a\u306e\u7bb1 - \u30dd\u30b1\u30b3\u30f3","isPartOf":{"@id":"https:\/\/pokecon.jp\/job\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blog.inorinrinrin.com\/entry\/2025\/09\/14\/204604#primaryimage"},"image":{"@id":"https:\/\/blog.inorinrinrin.com\/entry\/2025\/09\/14\/204604#primaryimage"},"thumbnailUrl":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/09\/1757850364.png","datePublished":"2025-09-14T16:19:25+00:00","author":{"@id":"https:\/\/pokecon.jp\/job\/#\/schema\/person\/16c9f07b1ba984d165d9aee259bda997"},"breadcrumb":{"@id":"https:\/\/blog.inorinrinrin.com\/entry\/2025\/09\/14\/204604#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.inorinrinrin.com\/entry\/2025\/09\/14\/204604"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/blog.inorinrinrin.com\/entry\/2025\/09\/14\/204604#primaryimage","url":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/09\/1757850364.png","contentUrl":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/09\/1757850364.png","width":1200,"height":630},{"@type":"BreadcrumbList","@id":"https:\/\/blog.inorinrinrin.com\/entry\/2025\/09\/14\/204604#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/pokecon.jp\/job\/"},{"@type":"ListItem","position":2,"name":"\u3044\u307e\u3055\u3089\u805e\u3051\u306a\u3044npm dependencies &#8211; \u7a7a\u306e\u7bb1"}]},{"@type":"WebSite","@id":"https:\/\/pokecon.jp\/job\/#website","url":"https:\/\/pokecon.jp\/job\/","name":"\u30dd\u30b1\u30b3\u30f3","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/pokecon.jp\/job\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/pokecon.jp\/job\/#\/schema\/person\/16c9f07b1ba984d165d9aee259bda997","name":"info@pokecon.jp","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g","caption":"info@pokecon.jp"},"url":"https:\/\/pokecon.jp\/job\/author\/infopokecon-jp\/"}]}},"_links":{"self":[{"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/posts\/5514","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/comments?post=5514"}],"version-history":[{"count":1,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/posts\/5514\/revisions"}],"predecessor-version":[{"id":5516,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/posts\/5514\/revisions\/5516"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/media\/5515"}],"wp:attachment":[{"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/media?parent=5514"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/categories?post=5514"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/tags?post=5514"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}