{ "name": "@prantlf/jsonlint", "version": "10.2.0", "description": "JSON parser, syntax and schema validator and pretty-printer.", "author": "Ferdinand Prantl (http://prantl.tk)", "contributors": [ "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.com/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/jsonlint.d.ts", "bin": { "jsonlint": "lib/cli.js" }, "engines": { "node": ">= 6" }, "scripts": { "prepare": "npm run lint && npm run build", "lint": "npm run lint:js && npm run lint:ts", "lint:js": "standard --fix -v", "lint:ts": "tslint --fix -t stylish lib/*.ts test/*.ts", "build": "npm run compile && npm run compile:tests", "compile": "node scripts/bundle-jsonlint && uglifyjs -o web/jsonlint.min.js --source-map \"filename='jsonlint.js',url='jsonlint.min.js.map',includeSources=true\" lib/jsonlint.js && uglifyjs -o web/validator.min.js --source-map \"filename='validator.js',url='validator.min.js.map',includeSources=true\" lib/validator.js && uglifyjs -o web/formatter.min.js --source-map \"filename='formatter.js',url='formatter.min.js.map',includeSources=true\" lib/formatter.js && uglifyjs -o web/sorter.min.js --source-map \"filename='sorter.js',url='sorter.min.js.map',includeSources=true\" lib/sorter.js && uglifyjs -o web/printer.min.js --source-map \"filename='printer.js',url='printer.min.js.map',includeSources=true\" lib/printer.js && node scripts/bundle-schema-drafts && uglifyjs -o web/schema-drafts.min.js --source-map \"filename='schema-drafts.js',url='schema-drafts.min.js.map',includeSources=true\" lib/schema-drafts.js && uglifyjs -o web/ajv.min.js --source-map \"filename='ajv.js',url='ajv.min.js.map',includeSources=true\" node_modules/ajv/dist/ajv.bundle.js", "compile:tests": "tsc --lib es6 test/typings.test.ts", "test": "nyc --silent node test/typings.test.js && nyc --silent --no-clean node test/parse1 && nyc --silent --no-clean node test/parse1 --native-parser && nyc --silent --no-clean node test/parse2 && nyc --silent --no-clean node test/parse3 && nyc --silent --no-clean node test/parse4 && nyc --silent --no-clean node test/parse5 && nyc --silent --no-clean node test/portable && nyc --silent --no-clean node test/tokenize && nyc --silent --no-clean node test/print && nyc --silent --no-clean node lib/cli package.json test/recursive && nyc --silent --no-clean node lib/cli -sq test/passes/hasOwnProperty.json && nyc --silent --no-clean node lib/cli -s -e json-schema-draft-04 -V test/passes/3.schema.json test/passes/3.json && nyc --silent --no-clean node lib/cli -C test/passes/comments.txt && nyc --silent --no-clean node lib/cli -pS test/passes/strings.txt && nyc --silent --no-clean node lib/cli -M json5 test/passes/json5.text && nyc --silent --no-clean node lib/cli -v && nyc --silent --no-clean node lib/cli -h && nyc --silent --no-clean node lib/cli -Pc test/fails/10.json || nyc report", "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" }, "standard": { "ignore": [ "benchmarks/jison", "benchmarks/pegjs", "jsonlint*.js", "test/fails", "test/passes", "test/recursive", "test/v8" ] }, "keywords": [ "json", "validation", "lint", "jsonlint" ], "dependencies": { "ajv": "6.10.2", "commander": "4.0.1" }, "devDependencies": { "@types/node": "13.1.1", "http-server": "0.12.0", "js-yaml": "3.13.1", "nyc": "15.0.0", "standard": "14.3.1", "test": "0.6.0", "tslint": "5.20.1", "tslint-config-standard": "9.0.0", "typescript": "3.7.4", "uglify-js": "3.7.3" } }