pretty-print-json
Version:
Pretty-print JSON data into HTML to indent and colorize (written in TypeScript)
105 lines (104 loc) • 3.02 kB
JSON
{
"name": "pretty-print-json",
"version": "1.1.0",
"description": "Pretty-print JSON data into HTML to indent and colorize (written in TypeScript)",
"license": "MIT",
"type": "module",
"module": "dist/pretty-print-json.js",
"jsdelivr": "dist/pretty-print-json.min.js",
"main": "dist/pretty-print-json.umd.cjs",
"style": "dist/pretty-print-json.css",
"types": "dist/pretty-print-json.d.ts",
"files": [
"dist"
],
"exports": {
".": {
"import": "./dist/pretty-print-json.js",
"require": "./dist/pretty-print-json.umd.cjs"
},
"./": "./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"
],
"rules": {
"@typescript-eslint/no-non-null-assertion": "off"
}
},
"scripts": {
"lint": " jshint . --exclude node_modules,build,dist && eslint --max-warnings 0 . --ext .ts",
"tsc": " tsc && tsc --module UMD --outDir build/umd",
"pretest": "npm run lint && rimraf build dist **/.DS_Store && npm run tsc && gulp make-dist",
"test": " mocha spec && gulp publish-website && w3c-html-validator"
},
"dependencies": {},
"devDependencies": {
"@babel/core": "~7.15",
"@babel/preset-env": "~7.15",
"@fortawesome/fontawesome-free": "~5.15",
"@types/node": "~16.6",
"@typescript-eslint/eslint-plugin": "~4.29",
"@typescript-eslint/parser": "~4.29",
"assert-deep-strict-equal": "~0.0",
"babel-minify": "~0.5",
"babel-preset-minify": "~0.5",
"dna.js": "~1.8",
"eslint": "~7.32",
"gulp": "~4.0",
"gulp-append-prepend": "~1.0",
"gulp-babel": "~8.0",
"gulp-header": "~2.0",
"gulp-jshint": "~2.1",
"gulp-rename": "~2.0",
"gulp-replace": "~1.1",
"gulp-size": "~4.0",
"jquery": "~3.6",
"jsdom": "~16.7",
"jshint": "~2.13",
"merge-stream": "~2.0",
"mocha": "~9.0",
"rimraf": "~3.0",
"typescript": "~4.3",
"w3c-html-validator": "~0.7",
"web-ignition": "~1.4"
}
}