UNPKG

@stoplight/spectral-cli

Version:

[![](https://raw.githubusercontent.com/stoplightio/spectral/develop/docs/img/readme-header.svg)](https://stoplight.io/api-governance?utm_source=github&utm_medium=spectral&utm_campaign=readme) [![CircleCI](https://img.shields.io/circleci/build/github/stopl

77 lines (76 loc) 2.37 kB
{ "name": "@stoplight/spectral-cli", "version": "6.13.0", "homepage": "https://github.com/stoplightio/spectral", "bugs": "https://github.com/stoplightio/spectral/issues", "author": "Stoplight <support@stoplight.io>", "bin": { "spectral": "./dist/index.js" }, "engines": { "node": "^12.20 || >= 14.13" }, "license": "Apache-2.0", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "/dist" ], "publishConfig": { "access": "public" }, "repository": { "type": "git", "url": "https://github.com/stoplightio/spectral.git" }, "scripts": { "prelint": "node ../../scripts/inline-version.mjs", "prepare": "node ../../scripts/inline-version.mjs", "prebuild": "node ../../scripts/inline-version.mjs", "build.binary": "pkg . --output ./binaries/spectral", "build.windows": "pkg . --targets windows --out-path ./binaries", "build.nix": "pkg . --targets linux-x64,linux-arm64,macos-x64,macos-arm64,alpine-x64,alpine-arm64 --out-path ./binaries", "cli": "node -r ts-node/register/transpile-only -r tsconfig-paths/register src/index.ts", "cli:debug": "node -r ts-node/register/transpile-only -r tsconfig-paths/register --inspect-brk src/index.ts" }, "dependencies": { "@stoplight/json": "~3.21.0", "@stoplight/path": "1.3.2", "@stoplight/spectral-core": "^1.18.3", "@stoplight/spectral-formatters": "^1.3.0", "@stoplight/spectral-parsers": "^1.0.3", "@stoplight/spectral-ref-resolver": "^1.0.4", "@stoplight/spectral-ruleset-bundler": "^1.5.4", "@stoplight/spectral-ruleset-migrator": "^1.9.6", "@stoplight/spectral-rulesets": ">=1", "@stoplight/spectral-runtime": "^1.1.2", "@stoplight/types": "^13.6.0", "chalk": "4.1.2", "fast-glob": "~3.2.12", "hpagent": "~1.2.0", "lodash": "~4.17.21", "pony-cause": "^1.0.0", "stacktracey": "^2.1.7", "tslib": "^2.3.0", "yargs": "~17.7.2" }, "devDependencies": { "@types/es-aggregate-error": "^1.0.2", "@types/xml2js": "^0.4.9", "@types/yargs": "^17.0.8", "@yao-pkg/pkg": "^5.11.1", "es-aggregate-error": "^1.0.7", "nock": "^13.5.4", "xml2js": "^0.5.0" }, "pkg": { "scripts": [ "./dist/**/*.js" ], "assets": [ "./dist/**/*.json", "../*/dist/**/*.js.map", "../*/src/**/*.ts" ] } }