{ "name": "@prantlf/jsonlint", "version": "17.0.1", "description": "JSON/CJSON/JSON5 parser, syntax and schema validator and pretty-printer.", "author": "Ferdinand Prantl (http://prantl.tk)", "contributors": [ "Ondrej Medek ", "Greg Inman ", "Paul Vollmer (http://paulvollmer.net)", "Zach Carter (http://zaa.ch)" ], "license": "MIT", "licenses": [ { "type": "MIT", "url": "https://github.com/prantlf/jsonlint/blob/master/LICENSE" } ], "homepage": "http://prantlf.github.io/jsonlint/", "repository": { "type": "git", "url": "https://github.com/prantlf/jsonlint.git" }, "bugs": { "url": "http://github.com/prantlf/jsonlint/issues" }, "preferGlobal": true, "main": "lib/jsonlint.js", "typings": "lib/index.d.ts", "types": "lib/index.d.ts", "bin": { "jsonlint": "lib/cli.js" }, "files": [ "lib", "web" ], "engines": { "node": ">=22.2" }, "scripts": { "build": "npm run compile:jsonlint && rollup -c && npm run minify && npm run compile:tests", "compile:jsonlint": "cat-j src/prefix.js.txt src/unicode.js src/custom-parser.js src/pointer.js src/native-parser.js src/configurable-parser.js src/suffix.js.txt > lib/jsonlint.js", "minify": "esbuild --minify --sourcemap --outfile=web/jsonlint.min.js lib/jsonlint.js && esbuild --minify --sourcemap --outfile=web/validator.min.js lib/validator.js && esbuild --minify --sourcemap --outfile=web/formatter.min.js lib/formatter.js && esbuild --minify --sourcemap --outfile=web/sorter.min.js lib/sorter.js && esbuild --minify --sourcemap --outfile=web/printer.min.js lib/printer.js", "compile:tests": "tsc --moduleResolution node --module es2022 test/types.test.ts && mv-j test/types.test.js test/types.test.mjs", "lint": "biome lint *.mjs lib src test/*.js", "test": "biome lint *.mjs lib src test/*.js && c8 node test/types.test.mjs && c8 --no-clean node test/parse1 && c8 --no-clean node test/parse1 --native-parser && c8 --no-clean node test/parse2 && c8 --no-clean node test/parse3 && c8 --no-clean node test/parse4 && c8 --no-clean node test/parse5 && c8 --no-clean node test/portable && c8 --no-clean node test/tokenize && c8 --no-clean node test/print && c8 --no-clean node lib/cli package.json test/recursive && c8 --no-clean node lib/cli -sq test/passes/hasOwnProperty.json && c8 --no-clean node lib/cli -s -e json-schema-draft-04 -V test/passes/schema-04.json test/passes/data-04.json && c8 --no-clean node lib/cli -s -e json-schema-draft-07 -V test/passes/schema-07.json test/passes/data-07.json && c8 --no-clean node lib/cli -C test/passes/comments.txt && c8 --no-clean node lib/cli -pS test/passes/strings.txt && c8 --no-clean node lib/cli -M json5 test/passes/json5.text && c8 --no-clean node lib/cli -v && c8 --no-clean node lib/cli -h && c8 --no-clean node lib/cli -Pc test/fails/10.json || c8 --no-clean node lib/cli -f test/.jsonrc.yml 'test/**/*.json' '!**/fails' && c8 report -r text -r lcov", "start": "http-server -c 5", "web": "npm run web:sync && npm run web:deploy", "web:clone": "test ! -d ../jsonlint-pages && git clone --single-branch --branch gh-pages `git remote get-url origin` ../jsonlint-pages", "web:pull": "cd ../jsonlint-pages && git pull", "web:sync": "cp web/*.min.* ../jsonlint-pages/ && cp web/jsonlint.html ../jsonlint-pages/index.html", "web:deploy": "cd ../jsonlint-pages && git commit -a -m 'Deploy site updates' && git push origin gh-pages" }, "c8": { "reporter": [] }, "dependencies": { "ajv": "8.17.1", "ajv-draft-04": "1.0.0", "ajv-formats": "^3.0.1", "ajv-formats-draft2019": "^1.6.1", "ajv-keywords": "^5.1.0", "cosmiconfig": "9.0.0", "diff": "8.0.3", "picocolors": "^1.1.1" }, "devDependencies": { "@biomejs/biome": "^2.3.11", "@rollup/plugin-commonjs": "29.0.0", "@rollup/plugin-json": "6.1.0", "@rollup/plugin-node-resolve": "16.0.3", "@types/node": "25.0.9", "@unixcompat/cat.js": "2.0.0", "@unixcompat/mv.js": "2.0.0", "c8": "10.1.3", "esbuild": "0.27.2", "http-server": "14.1.1", "js-yaml": "4.1.1", "rollup": "4.55.2", "rollup-plugin-swc-minify": "1.3.0", "tehanu": "1.0.1", "tehanu-repo-coco": "1.0.1", "tehanu-teru": "1.0.1", "typescript": "5.9.3" }, "keywords": [ "json", "validation", "lint", "jsonlint" ] }