UNPKG

fixjson

Version:

JSON fixer for humans using (relaxed) JSON5

64 lines (63 loc) 1.8 kB
{ "name": "fixjson", "version": "1.1.2", "description": "JSON fixer for humans using (relaxed) JSON5", "main": "index.js", "bin": { "fixjson": "bin/main.js" }, "scripts": { "build": "tsc --pretty -p .", "watch": "tsc --pretty -p . --watch", "decls": "tsc --pretty -p . --declaration", "lint:tslint": "tslint -p .", "lint:prettier": "prettier --check '**/*.ts'", "lint": "npm run lint:tslint && npm run lint:prettier", "prettier": "prettier --write '**/*.ts'", "collect-realworld-json": "github-clone-all -extract '\\.json$' -dest test/data/realworld 'json parser'", "profile": "rm -f isolate-0x*-v8.log && node --prof ./bin/main.js package.json && node --prof-process isolate-0x*-v8.log > profile.txt", "coverage": "nyc mocha test/*.js", "test": "mocha test", "preversion": "npm run build && npm run lint && npm test && npm run decls" }, "repository": { "type": "git", "url": "git+https://github.com/rhysd/fixjson.git" }, "keywords": [ "json", "json5", "fixer", "formatter" ], "author": "rhysd <lin90162@yahoo.co.jp>", "license": "MIT", "bugs": { "url": "https://github.com/rhysd/fixjson/issues" }, "homepage": "https://github.com/rhysd/fixjson#readme", "files": [ "bin/main.js", "index.js", "index.d.ts", "LICENSE" ], "devDependencies": { "@types/detect-indent": "^5.0.0", "@types/glob": "^7.1.3", "@types/mocha": "^8.0.3", "@types/node": "^14.14.6", "@types/yargs": "^15.0.9", "mocha": "^8.2.1", "nyc": "^15.1.0", "prettier": "^2.1.2", "tslint": "^5.20.1", "typescript": "^4.0.5" }, "dependencies": { "detect-indent": "^6.0.0", "glob": "^7.1.6", "json5-relaxed": "^0.5.4", "yargs": "^16.1.0" } }