0.1.0 • Published 2 years ago
npm-package-json-lint-config-package v0.1.0
npm-package-json-lint-config-package
Shareable npm-package-json-lint configuration for packages.
Getting Started
Installation
npm install --save-dev npm-package-json-lint-config-packageor
yarn add --dev npm-package-json-lint-config-packageor
pnpm add --save-dev npm-package-json-lint-config-packageor
bun add --dev npm-package-json-lint-config-packageUsage
To use this configuration, choose one of the options below.
Edit the package.json file
{
"npmpackagejsonlint": {
"extends": "npm-package-json-lint-config-package"
}
}Create a .npmpackagejsonlintrc.json file
{
"extends": "npm-package-json-lint-config-package"
}Check the npm-package-json-lint documentation or the @stylelint/npm-package-json-lint-config package to learn how to override this configuration.
Development
Install fnm (if necessary).
fnm install && fnm use && node --version && npm --versionnpm installnpm run lintnpm run formatDeployment
npm pack --dry-runnpm version patchnpm version minornpm version major- Update the version in the
Licenseslink at the top. - Commit and push changes.
- Create a tag on GitHub Desktop.
- Check GitHub.
npm loginnpm publish- Check npm.
0.1.0
2 years ago