mirror of
https://github.com/LukeHagar/prettier-plugin-openapi.git
synced 2025-12-06 04:21:03 +00:00
76 lines
2.1 KiB
JSON
76 lines
2.1 KiB
JSON
{
|
|
"name": "prettier-plugin-openapi",
|
|
"version": "1.0.2",
|
|
"description": "A Prettier plugin for formatting OpenAPI/Swagger JSON and YAML files",
|
|
"author": {
|
|
"name": "Luke Hagar",
|
|
"email": "lukeslakemail@gmail.com",
|
|
"url": "https://LukeHagar.com/"
|
|
},
|
|
"license": "MIT",
|
|
"main": "dist/index.js",
|
|
"module": "dist/index.js",
|
|
"type": "module",
|
|
"files": [
|
|
"dist",
|
|
"README.md",
|
|
"LICENSE"
|
|
],
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/LukeHagar/prettier-plugin-openapi"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/lukehagar/prettier-plugin-openapi/issues"
|
|
},
|
|
"homepage": "https://github.com/lukehagar/prettier-plugin-openapi#readme",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"dev": "tsc --watch",
|
|
"pretest": "tsc",
|
|
"test": "bun test",
|
|
"test:coverage": "bun test --coverage",
|
|
"test:watch": "bun test --watch",
|
|
"test:ci": "bun test --reporter=verbose",
|
|
"lint": "biome lint src/ test/",
|
|
"lint:fix": "biome lint --write src/ test/",
|
|
"type-check": "tsc --noEmit",
|
|
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\" \"*.{json,md,yml,yaml}\"",
|
|
"format:check": "prettier --check \"src/**/*.ts\" \"test/**/*.ts\" \"*.{json,md,yml,yaml}\"",
|
|
"clean": "rm -rf dist coverage",
|
|
"prebuild": "bun run clean",
|
|
"prepublishOnly": "bun run build && bun run test && bun run lint",
|
|
"publish:package": "npm publish",
|
|
"version:patch": "npm version patch",
|
|
"version:minor": "npm version minor",
|
|
"version:major": "npm version major",
|
|
"validate": "bun run type-check && bun run lint && bun run test"
|
|
},
|
|
"keywords": [
|
|
"prettier",
|
|
"prettier-plugin",
|
|
"openapi",
|
|
"swagger",
|
|
"yaml",
|
|
"json",
|
|
"formatting"
|
|
],
|
|
"peerDependencies": {
|
|
"prettier": "^3.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "^2.2.4",
|
|
"@types/bun": "latest",
|
|
"@types/node": "^20.0.0",
|
|
"prettier": "^3.0.0",
|
|
"typescript": "^5.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@types/js-yaml": "^4.0.0",
|
|
"js-yaml": "^4.1.0"
|
|
}
|
|
}
|