UNPKG

spectral-aws-apigateway-ruleset

Version:

A spectral ruleset to enforce the AWS API Gateway Important Notes

61 lines (60 loc) 1.55 kB
{ "name": "spectral-aws-apigateway-ruleset", "version": "3.0.2", "description": "A spectral ruleset to enforce the AWS API Gateway Important Notes", "type": "module", "main": "./aws_important_notes.yml", "scripts": { "test": "npm run clean && npm run build && jest", "clean": "rm -rf functions/", "build": "esbuild src/draft4.js --bundle --outfile=functions/draft4.js --platform=node --format=esm" }, "repository": { "type": "git", "url": "git+https://github.com/andylockran/spectral-aws-apigateway-ruleset.git" }, "keywords": [ "spectral", "openapi", "aws", "apigateway" ], "author": "Andy Loughran", "license": "Apache-2.0", "dependencies": { "ajv": "^8.5.0", "ajv-draft-04": "^1.0.0", "ajv-formats": "^2.1.0" }, "devDependencies": { "@babel/preset-env": "^7.14.1", "@stoplight/spectral-core": "^1.16.1", "@stoplight/spectral-parsers": "^1.0.2", "@stoplight/spectral-ruleset-bundler": "^1.5.1", "@stoplight/spectral-runtime": "^1.1.2", "apigw-model-validator": "^1.1.0", "babel-jest": "^30.2.0", "esbuild": "^0.25.8", "jest": "^29.5.0", "jest-json-schema": "^6.1.0", "js-yaml": "^4.1.0" }, "jest": { "verbose": true, "collectCoverage": true, "moduleFileExtensions": [ "js", "json", "mjs", "jsx", "ts", "tsx", "node" ], "transform": { "^.+\\.js$": "babel-jest", "^.+\\.mjs$": "babel-jest" }, "testRegex": "((\\.|/*.)(spec))\\.(mjs|js)?$" } }