prettier-plugin-packagejson
Version:
Prettier package.json plugin to make the order of properties nice.
47 lines (46 loc) • 1.15 kB
JSON
{
"name": "prettier-plugin-packagejson",
"version": "3.0.2",
"description": "Prettier package.json plugin to make the order of properties nice.",
"keywords": [
"package.json",
"plugin",
"prettier"
],
"repository": "github:matzkoh/prettier-plugin-packagejson",
"license": "MIT",
"main": "lib/index.cjs",
"types": "lib/index.d.cts",
"directories": {
"lib": "lib"
},
"files": [
"lib/**/*.js",
"lib/index.d.cts",
"!**/*.snap",
"!lib/**/*.test.js"
],
"scripts": {
"fix": "run-p fix:*",
"fix:prettier": "npm run lint:prettier -- --write",
"lint": "run-p lint:*",
"lint:prettier": "prettier -c .",
"test": "run-s lint test:*",
"test:unit": "node --test --experimental-test-coverage --test-reporter=spec --test-reporter-destination=stdout --test-reporter=lcov --test-reporter-destination=lcov.info"
},
"dependencies": {
"sort-package-json": "^3.6.0"
},
"devDependencies": {
"npm-run-all2": "8.0.4",
"prettier": "^3.8.0"
},
"peerDependencies": {
"prettier": "^3"
},
"peerDependenciesMeta": {
"prettier": {
"optional": true
}
}
}