UNPKG

json-sort-cli

Version:

Command line app to deep sort JSON files, retains package.json special key order

89 lines (88 loc) 2.01 kB
{ "name": "json-sort-cli", "version": "4.1.0", "description": "Command line app to deep sort JSON files, retains package.json special key order", "keywords": [ "app", "cli", "command line", "file", "files", "fix", "json", "sort", "tool", "utility" ], "homepage": "https://codsen.com/os/json-sort-cli", "repository": { "type": "git", "url": "git+https://github.com/codsen/codsen.git", "directory": "packages/json-sort-cli" }, "license": "MIT", "author": { "name": "Roy Revelt", "email": "roy@codsen.com", "url": "https://codsen.com" }, "type": "module", "bin": { "jsonsort": "cli.js", "sortjson": "cli.js" }, "scripts": { "build": "exit 0", "cjs-off": "exit 0", "cjs-on": "exit 0", "dev": "exit 0", "devtest": "npm run test", "dts": "exit 0", "examples": "exit 0", "lect": "node '../../ops/lect/lect.js'", "letspublish": "npm publish --provenance || :", "lint": "eslint . --fix --concurrency=auto --cache", "perf": "exit 0", "prep": "echo 'ready'", "prettier": "prettier", "prettier:format": "npm run prettier -- --write '**/*.{js,md}' --no-error-on-unmatched-pattern --log-level 'silent'", "pretest": "exit 0", "test": "c8 npm run unit && npm run lint", "unit": "uvu test" }, "engines": { "node": ">=18" }, "c8": { "check-coverage": false, "exclude": [ "**/test/**/*.*" ] }, "lect": { "licence": { "extras": [ "" ] } }, "dependencies": { "ast-monkey-traverse": "^4.1.0", "chalk": "^5.6.2", "codsen-utils": "^1.7.0", "fs-extra": "^11.3.2", "globby": "^15.0.0", "is-d": "^1.0.0", "meow": "^14.0.0", "p-filter": "^4.1.0", "p-reduce": "^3.0.0", "sort-package-json": "^3.4.0", "update-notifier": "^7.3.1" }, "devDependencies": { "p-map": "^7.0.3" }, "publishConfig": { "registry": "https://registry.npmjs.org/" } }