{ "name": "swagger2", "version": "5.0.1", "description": "Typescript-based tools for working with Swagger v2.0 documents", "keywords": [ "swagger", "typescript", "koa", "koa2" ], "homepage": "https://github.com/carlansley/swagger2#readme", "bugs": { "url": "https://github.com/carlansley/swagger2/issues" }, "repository": { "type": "git", "url": "git+https://github.com/carlansley/swagger2.git" }, "license": "MIT", "author": "Carl Ansley", "maintainers": [ { "name": "Carl Ansley", "email": "carl.ansley@gmail.com" } ], "sideEffects": false, "type": "module", "exports": { ".": { "types": "./dist-types/index.d.ts", "import": "./dist-mjs/index.mjs", "default": "./dist-mjs/index.mjs" } }, "files": [ "src", "dist-types", "dist-mjs", "!src/**/test/**", "!src/**/*.test.ts", "!src/**/*.spec.ts", "!dist-types/**/test/**", "!dist-types/**/*.test.d.ts", "!dist-types/**/*.spec.d.ts", "!dist-mjs/**/test/**", "!dist-mjs/**/*.test.mjs", "!dist-mjs/**/*.spec.mjs", "SECURITY.md" ], "scripts": { "build:dist-mjs": "rimraf dist-mjs && npx builder --type=module --sourceMap --outDir=dist-mjs && cp src/schema.json dist-mjs && node dist-mjs/index.mjs", "build:dist-types": "rimraf dist-types && npx builder --type=types --outDir=dist-types", "ci:compile": "tsc --noEmit", "ci:coverage": "rimraf coverage && mkdir coverage && node --disable-warning ExperimentalWarning --experimental-strip-types --test-timeout 600000 --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=coverage/lcov.info --test \"src/**/*.spec.ts\"", "ci:lint": "npm run lint", "ci:style": "npm run prettier", "ci:test": "node --disable-warning ExperimentalWarning --experimental-strip-types --test-timeout 600000 --test \"src/**/*.spec.ts\"", "clean": "npm cache verify && rimraf coverage node_modules", "coverage": "node --disable-warning ExperimentalWarning --experimental-strip-types --test-timeout 600000 --experimental-test-coverage --test \"src/**/*.spec.ts\"", "lint": "eslint --max-warnings 0 .", "lint:fix": "eslint . --fix", "prepare": "", "prepublishOnly": "npm run build:dist-types && npm run build:dist-mjs", "prettier": "prettier --ignore-path .gitignore --list-different .", "prettier:fix": "prettier --ignore-path .gitignore --write .", "test": "npm run ci:compile && npm run ci:test && npm run ci:lint && npm run ci:style" }, "prettier": "@checkdigit/prettier-config", "dependencies": { "is-my-json-valid": "^2.20.6", "js-yaml": "^4.1.0", "json-schema-deref-sync": "^0.14.0" }, "devDependencies": { "@checkdigit/eslint-config": "^11.2.6", "@checkdigit/prettier-config": "^7.0.0", "@checkdigit/typescript-config": "^9.1.1", "@types/js-yaml": "^4.0.9", "rimraf": "^6.0.1" }, "engines": { "node": ">=22" } }