{ "name": "sort-package-json", "version": "2.15.1", "description": "Sort an Object or package.json based on the well-known package.json keys", "keywords": [ "keys", "object", "sort" ], "homepage": "https://github.com/keithamus/sort-package-json#readme", "bugs": { "url": "https://github.com/keithamus/sort-package-json/issues" }, "repository": { "type": "git", "url": "git+ssh://git@github.com/keithamus/sort-package-json.git" }, "license": "MIT", "author": "Keith Cirkel (http://keithcirkel.co.uk/)", "type": "module", "exports": { ".": { "import": { "types": "./index.d.ts", "default": "./index.js" }, "require": { "types": "./index.d.ts", "default": "./cjs/index.js" } } }, "types": "index.d.ts", "bin": "cli.js", "files": [ "cjs", "index.js", "index.d.ts", "cli.js", "reporter.js" ], "scripts": { "build": "esbuild index.js --bundle --platform=node --alias:git-hooks-list=./git-hooks-list_shim.cjs --outfile=./cjs/index.js && ncp package.cjs.json ./cjs/package.json", "fix": "eslint . --fix && prettier . --write && node cli.js \"package.json\"", "lint": "eslint . && prettier . \"!**/*.js\" --check && node cli.js \"package.json\" --check", "prepare": "husky install", "prepublishOnly": "npm run build", "semantic-release": "semantic-release", "test": "ava && dtslint --localTs node_modules/typescript/lib", "test-coverage": "nyc ava", "update-snapshots": "ava --update-snapshots" }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "lint-staged": { "package.json": [ "node cli.js" ], "*.js": [ "eslint --fix" ], "**/*": [ "prettier --write --ignore-unknown" ] }, "prettier": { "semi": false, "singleQuote": true }, "ava": { "verbose": true }, "dependencies": { "detect-indent": "^7.0.1", "detect-newline": "^4.0.0", "get-stdin": "^9.0.0", "git-hooks-list": "^3.0.0", "is-plain-obj": "^4.1.0", "semver": "^7.6.0", "sort-object-keys": "^1.1.3", "tinyglobby": "^0.2.9" }, "devDependencies": { "@commitlint/cli": "^17.1.2", "@commitlint/config-conventional": "^17.1.0", "@eslint/js": "^9.21.0", "ava": "^4.3.3", "del": "^7.0.0", "dot-prop": "^7.2.0", "dtslint": "^4.2.1", "esbuild": "^0.25.0", "eslint": "^9.21.0", "eslint-config-prettier": "^10.0.2", "eslint-plugin-n": "^17.15.1", "eslint-plugin-promise": "^7.2.1", "globals": "^16.0.0", "husky": "^8.0.1", "lint-staged": "^13.0.3", "make-dir": "^3.1.0", "ncp": "^2.0.0", "nyc": "^15.1.0", "prettier": "^3.5.2", "resolve": "^1.22.1", "semantic-release": "^19.0.5", "tempy": "^2.0.0", "typescript": "^4.8.4" } }