From baa45259bcf034bc29f47241a6438992ca1dadee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Clear=20Clown=20=E6=B8=85=E6=A5=9A=E7=B3=BB=E3=83=94?= =?UTF-8?q?=E3=82=A8=E3=83=AD?= Date: Wed, 23 Oct 2024 14:39:00 +0900 Subject: [PATCH] Fix build command and update dependencies Updated the build command in CONTRIBUTING.md to use 'npm run build' instead of 'npm build'. Removed the development (watch) mode section as it was unnecessary. In package.json, added missing types for 'dedent' and 'ini' with placeholder versions, and updated existing types to their latest versions. --- CONTRIBUTING.md | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index acb9754..0469953 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -19,19 +19,11 @@ npm i Run the `build` script: ```sh -npm build +npm run build ``` The package is bundled using [pkgroll](https://github.com/privatenumber/pkgroll) (Rollup). It infers the entry-points from `package.json` so there are no build configurations. -### Development (watch) mode - -During development, you can use the watch flag (`--watch, -w`) to automatically rebuild the package on file changes: - -```sh -npm build -w -``` - ## Running the package locally Since pkgroll knows the entry-point is a binary (being in `package.json#bin`), it automatically adds the Node.js hashbang to the top of the file, and chmods it so it's executable.