Skip to content

Commit

Permalink
Fix build command and update dependencies
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Clear Clown 清楚系ピエロ committed Oct 23, 2024
1 parent 31ff771 commit baa4525
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit baa4525

Please sign in to comment.