<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kayo445</author_name>
  <author_url>https://blog.hatena.ne.jp/kayo445/</author_url>
  <blog_title>tapitapi’s blog</blog_title>
  <blog_url>https://tapitapi.hatenadiary.com/</blog_url>
  <categories>
  </categories>
  <description>npmについて調べていたら、package.jsonでコマンドを登録できることが分かったので紹介します npmについて参考にさせていただいた記事はこちら qiita.com 1.コマンドを一つ登録 package.jsonのscriptsの部分に、下記のように記載 &quot;scripts&quot;: { &quot;test&quot;: &quot;python3 text.py&quot; }, package.jsonと同階層に移動し、下記コマンドを実行すると、test.pyが実行される(python3 test.py を実行したのと同じ) npm run test 2.コマンドを複数登録 package.jsonのscriptsの部分に、…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftapitapi.hatenadiary.com%2Fentry%2F2020%2F05%2F28%2F185111&quot; title=&quot;【npm】package.jsonでコマンド登録 - tapitapi’s blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-05-28 18:51:11</published>
  <title>【npm】package.jsonでコマンド登録</title>
  <type>rich</type>
  <url>https://tapitapi.hatenadiary.com/entry/2020/05/28/185111</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
