stoplightio/json

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "@stoplight/json",
  "version": "0.0.0",
  "description": "Useful functions when working with JSON.",
  "keywords": [
    "json",
    "json parser",
    "json.parse",
    "parser",
    "sourcemap"
  ],
  "sideEffects": false,
  "homepage": "https://github.com/stoplightio/json",
  "bugs": "https://github.com/stoplightio/json/issues",
  "author": "Stoplight <support@stoplight.io>",
  "repository": {
    "type": "git",
    "url": "https://github.com/stoplightio/json"
  },
  "license": "Apache-2.0",
  "main": "src/index.ts",
  "files": [
    "**/*"
  ],
  "engines": {
    "node": ">=8.3.0"
  },
  "scripts": {
    "build": "sl-scripts build",
    "commit": "git-cz",
    "lint": "eslint --ext .js,.jsx,.ts,.tsx .",
    "lint.fix": "yarn lint --fix",
    "release": "sl-scripts release",
    "release.dryRun": "sl-scripts release --dry-run --debug",
    "test": "jest",
    "test.prod": "yarn lint && yarn test --coverage --no-cache --max-workers=2",
    "test.update": "yarn test --updateSnapshot",
    "test.watch": "yarn test --watch"
  },
  "dependencies": {
    "@stoplight/ordered-object-literal": "^1.0.3",
    "@stoplight/path": "^1.3.2",
    "@stoplight/types": "^13.6.0",
    "jsonc-parser": "~2.2.1",
    "lodash": "^4.17.21",
    "safe-stable-stringify": "^1.1"
  },
  "devDependencies": {
    "@stoplight/eslint-config": "^3.0.0",
    "@stoplight/scripts": "^7.0.4",
    "@types/jest": "^28.1.6",
    "@types/lodash": "^4.14.144",
    "@types/node": "^12.12.5",
    "@typescript-eslint/eslint-plugin": "^5.32.0",
    "@typescript-eslint/parser": "^5.32.0",
    "benchmark": "^2.1.4",
    "eslint": "^8.21.0",
    "eslint-plugin-import": "^2.26.0",
    "eslint-plugin-jest": "^26.7.0",
    "eslint-plugin-prettier": "^4.2.1",
    "eslint-plugin-react": "^7.30.1",
    "eslint-plugin-react-hooks": "^4.6.0",
    "eslint-plugin-simple-import-sort": "^7.0.0",
    "jest": "^28.1.3",
    "prettier": "^2.3.1",
    "ts-jest": "^28.0.7",
    "typescript": "^4.7.4"
  },
  "lint-staged": {
    "*.{ts,tsx}$": [
      "yarn lint.fix",
      "git add"
    ]
  },
  "husky": {
    "hooks": {
      "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
      "pre-commit": "lint-staged"
    }
  },
  "config": {
    "commitizen": {
      "path": "node_modules/cz-conventional-changelog"
    }
  },
  "commitlint": {
    "extends": [
      "@commitlint/config-conventional"
    ]
  },
  "release": {
    "extends": "@stoplight/scripts/release"
  }
}