npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

Omitting license file from published tarballs

Say we have a package.json file:

  "name": "json-stdio",
  "main": "dist/main.js",
  "version": "0.1.111",
  "bugs": {
    "url": ""
  "bin": {
    "stdio": "cli/stdio.js",
    "json_stdio": "cli/stdio.js"
  "keywords": [
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+"
  "scripts": {
    "tsc": "tsc"

is there a way to include a url for the license field? something like this instead:


this way we could omit the license file from the published tarballs, pare them down even more.