Comment

Comment by c0n5pir4cy

Just for package authors (or people looking for some easy pull requests) out there that might not know this exists.

NPMs package.json has a `files` field which allows you to define which files are included on an npm install: https://docs.npmjs.com/cli/v6/configuring-npm/package-json#f....

This also extends to an .npmignore file that works similar to a .gitignore file.

parent c0n5pir4cy 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton