93 lines
		
	
	
		
			3.0 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			93 lines
		
	
	
		
			3.0 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
  "name": "jsonrepair",
 | 
						|
  "version": "3.1.0",
 | 
						|
  "description": "Repair broken JSON documents",
 | 
						|
  "repository": {
 | 
						|
    "type": "git",
 | 
						|
    "url": "https://github.com/josdejong/jsonrepair.git"
 | 
						|
  },
 | 
						|
  "type": "module",
 | 
						|
  "main": "lib/cjs/index.js",
 | 
						|
  "module": "lib/esm/index.js",
 | 
						|
  "browser": "lib/umd/index.min.js",
 | 
						|
  "types": "lib/types/index.d.ts",
 | 
						|
  "sideEffects": false,
 | 
						|
  "exports": {
 | 
						|
    ".": {
 | 
						|
      "import": "./lib/esm/index.js",
 | 
						|
      "require": "./lib/cjs/index.js",
 | 
						|
      "types": "./lib/types/index.d.ts"
 | 
						|
    }
 | 
						|
  },
 | 
						|
  "keywords": [
 | 
						|
    "simple",
 | 
						|
    "json",
 | 
						|
    "repair",
 | 
						|
    "fix",
 | 
						|
    "invalid"
 | 
						|
  ],
 | 
						|
  "bin": {
 | 
						|
    "jsonrepair": "./bin/cli.js"
 | 
						|
  },
 | 
						|
  "scripts": {
 | 
						|
    "test": "mocha",
 | 
						|
    "test:it": "mocha test-lib/*.test.*",
 | 
						|
    "build": "npm-run-all build:**",
 | 
						|
    "build:clean": "del-cli lib",
 | 
						|
    "build:esm": "babel src --out-dir lib/esm --extensions \".ts\" --source-maps --config-file ./babel.config.json",
 | 
						|
    "build:cjs": "babel src --out-dir lib/cjs --extensions \".ts\" --source-maps --config-file ./babel-cjs.config.json && cpy tools/cjs lib/cjs --flat",
 | 
						|
    "build:umd": "rollup lib/esm/index.js --format umd --name JSONRepair --sourcemap --output.file lib/umd/jsonrepair.js && cpy tools/cjs/package.json lib/umd --flat",
 | 
						|
    "build:umd:min": "uglifyjs --compress --mangle --source-map --comments --output lib/umd/jsonrepair.min.js -- lib/umd/jsonrepair.js",
 | 
						|
    "build:types": "tsc --project tsconfig-types.json",
 | 
						|
    "lint": "eslint src/**/*.ts",
 | 
						|
    "format": "npm run lint -- --fix",
 | 
						|
    "benchmark": "npm run build:esm && node tools/benchmark/run.mjs",
 | 
						|
    "build-and-test": "npm run lint && npm run build && npm run test:it",
 | 
						|
    "release": "npm-run-all release:**",
 | 
						|
    "release:build-and-test": "npm run build-and-test",
 | 
						|
    "release:version": "standard-version",
 | 
						|
    "release:push": "git push && git push --tag",
 | 
						|
    "release:publish": "npm publish",
 | 
						|
    "release-dry-run": "npm run build-and-test && standard-version --dry-run",
 | 
						|
    "prepare": "husky install"
 | 
						|
  },
 | 
						|
  "files": [
 | 
						|
    "README.md",
 | 
						|
    "LICENSE.md",
 | 
						|
    "lib"
 | 
						|
  ],
 | 
						|
  "author": "Jos de Jong",
 | 
						|
  "license": "ISC",
 | 
						|
  "devDependencies": {
 | 
						|
    "@babel/cli": "7.21.0",
 | 
						|
    "@babel/core": "7.21.4",
 | 
						|
    "@babel/plugin-transform-typescript": "7.21.3",
 | 
						|
    "@babel/preset-env": "7.21.4",
 | 
						|
    "@babel/preset-typescript": "7.21.4",
 | 
						|
    "@commitlint/cli": "17.6.1",
 | 
						|
    "@commitlint/config-conventional": "17.6.1",
 | 
						|
    "@types/mocha": "10.0.1",
 | 
						|
    "@types/node": "18.15.11",
 | 
						|
    "@typescript-eslint/eslint-plugin": "5.58.0",
 | 
						|
    "@typescript-eslint/parser": "5.58.0",
 | 
						|
    "benchmark": "2.1.4",
 | 
						|
    "cpy-cli": "4.2.0",
 | 
						|
    "del-cli": "5.0.0",
 | 
						|
    "eslint": "8.38.0",
 | 
						|
    "eslint-config-standard": "17.0.0",
 | 
						|
    "eslint-plugin-import": "2.27.5",
 | 
						|
    "eslint-plugin-n": "15.7.0",
 | 
						|
    "eslint-plugin-node": "11.1.0",
 | 
						|
    "eslint-plugin-promise": "6.1.1",
 | 
						|
    "husky": "8.0.3",
 | 
						|
    "mocha": "10.2.0",
 | 
						|
    "npm-run-all": "4.1.5",
 | 
						|
    "prettier": "2.8.7",
 | 
						|
    "rollup": "3.20.4",
 | 
						|
    "standard-version": "9.5.0",
 | 
						|
    "ts-node": "10.9.1",
 | 
						|
    "typescript": "5.0.4",
 | 
						|
    "uglify-js": "3.17.4"
 | 
						|
  }
 | 
						|
}
 |