webpack-defaults
webpack-defaults copied to clipboard
Need: Lint package.json main property value
As a sanity check, we should lint the value for the main property in package.json to ensure it exists (unless dist is specified) if package.json is changed, and definitely lint it as part of the prepublish process.
Maybe https://github.com/tclindner/npm-package-json-lint?
Yeah that might be a good option
@michael-ciniawsky we really need setup this to catch problems with package.json
Really ? 🙃 It's very rare the main field changes imho and it will also be catched immediately. How should it work in particular via tooling ? But let's leave it open then and discuss :)