-
Notifications
You must be signed in to change notification settings - Fork 45
/
package.json
89 lines (89 loc) · 2.85 KB
/
package.json
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"name": "@microsoft.azure/openapi-validator-rulesets",
"version": "2.1.0",
"description": "Azure OpenAPI Validator",
"main": "dist/index.js",
"scripts": {
"build": "tsc && npm run build-esm && npm run rollup-spectral",
"build-esm": "tsc -p ./tsconfig.spectral.esm.json",
"rollup-spectral": "rollup -c ./rollup.config.js",
"test": "npm run test-spectral && npm run test-native",
"test-native": "jest -u --max-old-space-size=10192 --ci --reporters=default --config ./jest.native.config.js",
"test-spectral": "jest -u --max-old-space-size=10192 --ci --reporters=default --config ./jest.config.js",
"lint:fix": "eslint ./src --fix --ext .ts",
"lint": "eslint ./src --ext .ts --max-warnings=0"
},
"engines": {
"node": ">=18"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Azure/azure-openapi-validator.git"
},
"keywords": [
"azure",
"openapi",
"swagger",
"validation",
"validator",
"linter"
],
"author": "Microsoft Corporation",
"license": "MIT",
"bugs": {
"url": "https://github.com/Azure/azure-openapi-validator/issues"
},
"homepage": "https://github.com/Azure/azure-openapi-validator/blob/main/README.md",
"dependencies": {
"@apidevtools/json-schema-ref-parser": "^9.0.9",
"@microsoft.azure/openapi-validator-core": "^1.0.0",
"@stoplight/json-ref-resolver": "^3.1.6",
"@stoplight/spectral-core": "^1.18.3",
"@stoplight/spectral-formats": "^1.6.0",
"@stoplight/spectral-functions": "^1.7.2",
"@stoplight/types": "^14.1.1",
"jsonpath-plus": "^8.1.0",
"string.prototype.matchall": "^4.0.11",
"lodash": "^4.17.21",
"tslib": "^2.3.1"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^21.0.2",
"@rollup/plugin-json": "^4.1.0",
"@types/lodash": "^4.17.0",
"@types/jest": "^27.0.6",
"@types/js-yaml": "^4.0.9",
"@types/node": "^18.11.9",
"@typescript-eslint/eslint-plugin": "^7.8.0",
"@typescript-eslint/parser": "^7.8.0",
"js-yaml": "^4.1.0",
"jest": "^27.0.6",
"eslint": "^8.57.0",
"eslint-plugin-jest": "^28.3.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-unicorn": "^52.0.0",
"eslint-plugin-import": "^2.29.1",
"nimma": "0.2.2",
"prettier": "^3.2.5",
"rollup": "^2.70.1",
"ts-jest": "^27.1.3",
"typescript": "~4.6.4"
},
"jest": {
"collectCoverage": true,
"collectCoverageFrom": [
"functions/*.js"
],
"coverageThreshold": {
"./functions/*.js": {
"statements": 80
}
},
"moduleNameMapper": {
"^nimma/legacy$": "<rootDir>/node_modules/nimma/dist/legacy/cjs/index.js",
"^nimma/(.*)": "<rootDir>/node_modules/nimma/dist/cjs/$1",
"^@stoplight/spectral-ruleset-bundler/(.*)$": "<rootDir>/node_modules/@stoplight/spectral-ruleset-bundler/dist/$1"
}
}
}