diff --git a/README.md b/README.md index d09cf56..2be6da4 100644 --- a/README.md +++ b/README.md @@ -41,19 +41,19 @@ npm install ### Build ```powershell -npm build +npm run build ``` -*Both Manifest v2 (for Firefox) and Manifest v3 (for Chrome) files are generated in the following locations +### Package -- Manifest v2: ``web-ext-artifacts/manifest_v2/hide_view_count-.zip`` -- Manifest v3: ``web-ext-artifacts/manifest_v3/hide_view_count-.zip`` - -### Manifest +```powershell +npm run package +``` -The v2 and v3 manifest files are ``manifest/v2.json`` and ``manifest/v3.json`` respectively. +Both Manifest v2 (for Firefox) and Manifest v3 (for Chrome) files are generated in the following locations. -At build time, these files are copied to generate ``manifest.json``. v2 and v3 are built at the same time, but the v2 Manifest file is copied during the v2 build phase and the v3 Manifest file during the v3 build phase. +- Manifest v2: ``web-ext-artifacts/manifest_v2/hide_view_count-.zip`` +- Manifest v3: ``web-ext-artifacts/manifest_v3/hide_view_count-.zip`` ### Versioning diff --git a/README_ja.md b/README_ja.md index 8f3428e..2d58067 100644 --- a/README_ja.md +++ b/README_ja.md @@ -41,19 +41,19 @@ npm install ### ビルド ```powershell -npm build +npm run build ``` -※Manifest v2(Firefox用)とManifest v3(Chrome用)の両方のファイルが、それぞれ次の場所に生成されます。 +### パッケージ化 -- Manifest v2:``web-ext-artifacts/manifest_v2/hide_view_count-.zip`` -- Manifest v3:``web-ext-artifacts/manifest_v3/hide_view_count-.zip`` - -### Manifestファイルについて +```powershell +npm run package +``` -v2とv3のManifestファイルはそれぞれ、``manifest/v2.json``と``manifest/v3.json``です。 +Manifest v2(Firefox用)とManifest v3(Chrome用)の両方のファイルが、それぞれ次の場所に生成されます。 -ビルド時にこれらのファイルをコピーして``manifest.json``を生成します。v2とv3を同時にビルドしますが、v2のビルド段階ではv2、v3のビルド段階ではv3のManifestファイルをコピーします。 +- Manifest v2:``web-ext-artifacts/manifest_v2/hide_view_count-.zip`` +- Manifest v3:``web-ext-artifacts/manifest_v3/hide_view_count-.zip`` ### バージョン番号について