UNPKG

pretty-print-json

Version:

Pretty-print JSON data into HTML to indent and colorize (written in TypeScript)

94 lines (93 loc) 2.76 kB
{ "name": "pretty-print-json", "version": "1.0.0", "description": "Pretty-print JSON data into HTML to indent and colorize (written in TypeScript)", "license": "MIT", "type": "module", "main": "dist/pretty-print-json.umd.cjs", "module": "dist/pretty-print-json.esm.js", "browser": "dist/pretty-print-json.min.js", "style": "dist/pretty-print-json.css", "types": "dist/pretty-print-json.d.ts", "files": [ "dist" ], "repository": "github:center-key/pretty-print-json", "homepage": "https://pretty-print-json.js.org", "bugs": "https://github.com/center-key/pretty-print-json/issues", "docs": "https://pretty-print-json.js.org", "author": "Center Key (https://centerkey.com)", "keywords": [ "color", "format", "html", "javascript", "json", "pretty-print", "pretty-print-json", "typescript" ], "jshintConfig": { "esversion": 9, "strict": "implied", "eqeqeq": true, "undef": true, "unused": true, "varstmt": true, "browser": true, "node": true, "mocha": true }, "eslintConfig": { "ignorePatterns": [ "build", "dist", "node_modules" ], "root": true, "parser": "@typescript-eslint/parser", "plugins": [ "@typescript-eslint" ], "extends": [ "eslint:recommended", "plugin:@typescript-eslint/recommended" ] }, "scripts": { "lint": " jshint *.js spec && eslint --max-warnings 0 . --ext .ts", "tsc": " tsc --version && tsc --project . --removeComments && tsc --project . --module UMD --removeComments --outDir build/umd", "pretest": "npm run lint && rimraf build dist **/.DS_Store && npm run tsc && gulp make-dist", "test": " mocha spec && gulp publish-website" }, "dependencies": {}, "devDependencies": { "@babel/core": "~7.12", "@babel/preset-env": "~7.12", "@fortawesome/fontawesome-free": "~5.15", "@typescript-eslint/eslint-plugin": "~4.15", "@typescript-eslint/parser": "~4.15", "babel-minify": "~0.5", "babel-preset-minify": "~0.5", "dna.js": "~1.7", "eslint": "~7.20", "gulp": "~4.0", "gulp-append-prepend": "~1.0", "gulp-babel": "~8.0", "gulp-header": "~2.0", "gulp-htmlhint": "~4.0", "gulp-jshint": "~2.1", "gulp-rename": "~2.0", "gulp-replace": "~1.0", "gulp-size": "~3.0", "gulp-w3c-html-validator": "~3.0", "jquery": "~3.5", "jsdom": "~16.4", "jshint": "~2.12", "merge-stream": "~2.0", "mocha": "~8.3", "rimraf": "~3.0", "typescript": "~4.1", "web-ignition": "~1.4" } }