See https://github.com/search?p=2&q="LicenseRef-LICENSE"&type=Code
Over the years, npm had a few evolving conventions:
See https://softwareengineering.stackexchange.com/questions/285885/which-spdx-license-is-equivalent-to-all-rights-reserved
npm/npm#8795 (comment)
Use "license": "LicenseRef-LICENSE" and then create a LICENSE file next to package.json with something as little as: "(c) Copyright 2015 person or company, all rights reserved.".
and https://www.bonbon.io/commercial-licenses-for-npm-packages
This should be enough to satisfy NPM commands if you had a missing or incorrect license, and this does replace the older "license": "LicenseRef-LICENSE" of earlier NPM versions.
This legacy way should be supported. It is seen on bower packages too
See https://github.com/search?p=2&q="LicenseRef-LICENSE"&type=Code
Over the years, npm had a few evolving conventions:
See https://softwareengineering.stackexchange.com/questions/285885/which-spdx-license-is-equivalent-to-all-rights-reserved
npm/npm#8795 (comment)
and https://www.bonbon.io/commercial-licenses-for-npm-packages
This legacy way should be supported. It is seen on bower packages too