@ibm-cloud/openapi-ruleset
Version:
Spectral ruleset for validating IBM Cloud services
64 lines (63 loc) • 1.89 kB
JSON
{
"name": "@ibm-cloud/openapi-ruleset",
"description": "Spectral ruleset for validating IBM Cloud services",
"version": "1.29.2",
"license": "Apache-2.0",
"private": false,
"main": "./src/ibm-oas.js",
"repository": {
"type": "git",
"url": "https://github.com/IBM/openapi-validator.git",
"directory": "packages/ruleset"
},
"scripts": {
"clean": "rm -rf node_modules",
"link": "npm install -g",
"jest": "jest",
"test": "jest test",
"test-travis": "jest --silent --runInBand --no-colors --testNamePattern='^((?!@skip-ci).)*$' test",
"lint": "eslint --cache --quiet --ext '.js' src test",
"fix": "eslint --fix --ext '.js' src test",
"pkg": "echo no executables to build in this package"
},
"dependencies": {
"@ibm-cloud/openapi-ruleset-utilities": "1.7.1",
"@stoplight/spectral-formats": "^1.8.2",
"@stoplight/spectral-functions": "^1.9.3",
"@stoplight/spectral-rulesets": "^1.21.3",
"chalk": "^4.1.2",
"jsonschema": "^1.5.0",
"lodash": "^4.17.21",
"loglevel": "^1.9.2",
"loglevel-plugin-prefix": "0.8.4",
"minimatch": "^6.2.0",
"validator": "^13.11.0"
},
"devDependencies": {
"@stoplight/spectral-core": "^1.19.4",
"jest": "^27.4.5"
},
"engines": {
"node": ">=16.0.0"
},
"jest": {
"collectCoverage": true,
"coverageDirectory": "./coverage/",
"testEnvironment": "node",
"moduleNameMapper": {
"nimma/legacy": "<rootDir>/../../node_modules/@stoplight/spectral-core/node_modules/nimma/dist/legacy/cjs",
"nimma/fallbacks": "<rootDir>/../../node_modules/@stoplight/spectral-core/node_modules/nimma/dist/legacy/cjs/fallbacks/"
}
},
"prettier": {
"quoteProps": "consistent",
"overrides": [
{
"files": "**/*-document.js",
"options": {
"quoteProps": "as-needed"
}
}
]
}
}