-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpackage.json
More file actions
62 lines (62 loc) · 2.19 KB
/
package.json
File metadata and controls
62 lines (62 loc) · 2.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"name": "@seriousme/openapi-schema-validator",
"version": "2.9.0",
"description": "Validate OpenApi specifications against their JSON schema",
"main": "index.js",
"type": "module",
"bin": {
"validate-api": "./bin/validate-api-cli.js",
"bundle-api": "./bin/bundle-api-cli.js"
},
"dependencies": {
"ajv": "^8.18.0",
"ajv-draft-04": "^1.0.0",
"ajv-formats": "^3.0.1",
"yaml": "^2.8.3"
},
"scripts": {
"test:typescript": "tsc --project tsconfig.test.json",
"format": "biome format --write .",
"lint": "biome ci . && tsc --noEmit",
"test:ci": "npm run lint && npm run test && npm run test:typescript",
"pretest": "npm run format",
"test": "node --test --experimental-test-coverage --test-reporter=spec --test-reporter-destination=stdout --test-reporter=lcov --test-reporter-destination=coverage.lcov --test-coverage-lines=100 --test-coverage-functions=100 --test-coverage-branches=100 test/test-*.js",
"cloneOas": "rm -rf OpenAPI-Specification && git clone --branch 'main' --single-branch https://github.com/OAI/spec.openapis.org.git",
"checkOasVersions": "node test/check-versions.js",
"checkOasVersionsSnapshot": "node test/check-versions.js --updateSnapshot",
"preconvert3x": "npm run cloneOas",
"convert3x": "node test/convert-3.x.js ",
"postconvert3x": "npm run checkOasVersionsSnapshot",
"preversion": "npm test",
"postversion": "git push && git push --tags",
"realWorldTest": "node test/realworld/realworld.js",
"realWorldTestAll": "node test/realworld/realworld.js --all",
"realWorldTestFailed": "node test/realworld/realworld.js --failedOnly",
"realWorldTestCI": "node test/realworld/realworld.js --ci"
},
"author": "Hans Klunder",
"license": "MIT",
"devDependencies": {
"@biomejs/biome": "^2.4.12",
"@types/node": "^25.6.0",
"expect-type": "^1.3.0",
"typescript": "^6.0.2"
},
"directories": {
"test": "test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/seriousme/openapi-schema-validator.git"
},
"keywords": [
"openapi",
"json",
"schema",
"validation"
],
"bugs": {
"url": "https://github.com/seriousme/openapi-schema-validator/issues"
},
"homepage": "https://github.com/seriousme/openapi-schema-validator#readme"
}