UNPKG

@apisyouwonthate/style-guide

Version:

Make your HTTP APIs better, faster, stronger, whether they are still being designed (API Design-First) or your organization has flopped various mismatched APIs into production and now you're thinking some consistency would be nice. Using Spectral and Open

70 lines (69 loc) 1.81 kB
{ "name": "@apisyouwonthate/style-guide", "version": "1.5.0", "description": "Make your HTTP APIs better, faster, stronger, whether they are still being designed (API Design-First) or your organization has flopped various mismatched APIs into production and now you're thinking some consistency would be nice. Using Spectral and OpenAPI.", "main": "dist/ruleset.js", "module": "dist/ruleset.mjs", "type": "commonjs", "exports": { ".": { "types": "./dist/ruleset.d.ts", "import": "./dist/ruleset.mjs", "require": "./dist/ruleset.js" } }, "directories": { "test": "test" }, "scripts": { "build": "tsup", "type-check": "tsc --noEmit --noErrorTruncation --pretty false --incremental false", "test": "jest" }, "repository": { "type": "git", "url": "git+https://github.com/openapi-contrib/style-guides.git" }, "keywords": [ "openapi", "openapi3", "openapi31", "api-design" ], "author": "Phil Sturgeon <phil@apisyouwonthate.com>", "license": "MIT", "bugs": { "url": "https://github.com/openapi-contrib/style-guides/issues" }, "homepage": "https://github.com/openapi-contrib/style-guides#readme", "dependencies": { "@stoplight/spectral-formats": "^1.2.0", "@stoplight/spectral-functions": "^1.6.1" }, "devDependencies": { "@sindresorhus/tsconfig": "^3.0.1", "@stoplight/types": "^13.6.0", "@types/jest": "^28.1.6", "jest": "^28.0", "ts-jest": "^28.0", "tsup": "^6.2.3" }, "tsup": { "entry": [ "src/ruleset.ts" ], "clean": true, "dts": true, "format": [ "cjs", "esm" ], "sourcemap": true, "noExternal": [ "@stoplight/types" ], "footer": { "js": "module.exports = module.exports.default;" } } }