stoplightio/yaml

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "@stoplight/yaml",
  "version": "0.0.0",
  "description": "Useful functions when working with YAML.",
  "keywords": [
    "yaml",
    "yaml parser",
    "yaml.parse",
    "parser",
    "sourcemap"
  ],
  "sideEffects": false,
  "homepage": "https://github.com/stoplightio/yaml",
  "bugs": "https://github.com/stoplightio/yaml/issues",
  "author": "Stoplight <support@stoplight.io>",
  "repository": {
    "type": "git",
    "url": "https://github.com/stoplightio/yaml"
  },
  "license": "Apache-2.0",
  "main": "src/index.ts",
  "files": [
    "**/*"
  ],
  "engines": {
    "node": ">=10.8"
  },
  "scripts": {
    "build": "sl-scripts build",
    "commit": "git-cz",
    "lint": "tslint -c tslint.json -p tsconfig.json 'src/**/*.ts'",
    "lint.fix": "yarn lint --fix",
    "release": "sl-scripts release",
    "release.docs": "sl-scripts release:docs",
    "release.dryRun": "sl-scripts release --dry-run --debug",
    "test": "jest",
    "test.prod": "yarn lint && yarn test --coverage --no-cache",
    "test.update": "yarn test --updateSnapshot",
    "test.watch": "yarn test --watch"
  },
  "dependencies": {
    "@stoplight/ordered-object-literal": "^1.0.5",
    "@stoplight/types": "^14.1.1",
    "@stoplight/yaml-ast-parser": "0.0.50",
    "tslib": "^2.2.0"
  },
  "devDependencies": {
    "@stoplight/scripts": "3.1.0",
    "tslint-config-stoplight": "^1.3.0",
    "typescript": "3.5.3"
  },
  "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"
  }
}