{ "name": "untruncate-json", "version": "0.0.1", "description": "Fix up the end of a partial JSON string to create valid JSON.", "module": "dist/esm/index.js", "main": "dist/cjs/index.js", "types": "dist/esm/index.d.ts", "files": [ "dist/" ], "sideEffects": false, "repository": { "type": "git", "url": "git://github.com/dphilipson/untruncate-json.git" }, "keywords": [ "json", "untruncate", "truncate", "validate" ], "homepage": "https://github.com/dphilipson/untruncate-json", "bugs": { "url": "https://github.com/dphilipson/untruncate-json/issues", "email": "david.philipson@gmail.com" }, "author": "David Philipson (http://dphil.me)", "license": "MIT", "scripts": { "build": "yarn run clean && tsc -p tsconfig.build-esm.json && tsc -p tsconfig.build-cjs.json", "clean": "rm -rf dist/*", "format-file": "prettier --write", "format": "prettier --write '**/*.{html,js,jsx,json,md,ts,tsx}", "jest": "jest", "lint-file": "tslint", "lint": "tslint --project .", "prepublishOnly": "yarn run test && yarn run build", "test": "yarn run lint && tsc && yarn run jest" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "**/*.{js,json}": [ "yarn run format-file", "git add" ], "**/*.ts": [ "yarn run lint-file --fix", "yarn run format-file", "git add" ] }, "devDependencies": { "@types/jest": "^24.0.22", "husky": "^3.0.9", "jest": "^24.9.0", "lint-staged": "^9.4.2", "prettier": "^1.18.2", "ts-jest": "^24.1.0", "tslint": "^5.20.1", "tslint-config-prettier": "^1.18.0", "typescript": "^3.7.2" } }