-
Notifications
You must be signed in to change notification settings - Fork 51
Expand file tree
/
Copy pathpackage.json
More file actions
94 lines (94 loc) · 2.93 KB
/
package.json
File metadata and controls
94 lines (94 loc) · 2.93 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
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
90
91
92
93
94
{
"name": "@microsoft.azure/openapi-validator-rulesets",
"version": "2.2.2",
"description": "Azure OpenAPI Validator",
"main": "dist/index.js",
"files": [
"dist/**",
"!dist/**/tests/**",
"!dist/**/test/**"
],
"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": "^10.3.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"
}
}
}