-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
46 lines (46 loc) · 1.39 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
{
"name": "bettercloud-openapi-rules",
"version": "1.0.0",
"description": "Enforcement of API specs",
"main": "index.js",
"scripts": {
"document-ruleset": "node utils/documentRuleset.js ./spectral/ruleset.yml",
"test": "set NODE_ENV=test&& jest ./test --runInBand --detectOpenHandles --forceExit",
"validate": "spectral lint petstore.yaml --ruleset=.spectral.yml",
"prettier": "prettier --write --ignore-unknown ./**/*",
"sort-rules": "yaml-sort --input ./spectral/ruleset.yml"
},
"keywords": [
"spectral",
"openapi"
],
"author": "[email protected]",
"license": "ISC",
"dependencies": {
"@stoplight/spectral-cli": "^6.4.0",
"js-yaml": "^4.1.0",
"prettier": "^2.6.2",
"yaml-sort": "^1.2.1"
},
"devDependencies": {
"@stoplight/spectral-owasp-ruleset": "^1.2.1",
"@stoplight/spectral-parsers": "^1.0.1",
"@stoplight/spectral-ruleset-bundler": "^1.5.0",
"@stoplight/spectral-runtime": "^1.1.2",
"jest": "^28.1.2",
"pre-commit": "^1.2.2"
},
"pre-commit": [
"prettier",
"sort-rules",
"document-ruleset"
],
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/brock_reiman/bettercloud-openapi-rules.git"
},
"bugs": {
"url": "https://bitbucket.org/brock_reiman/bettercloud-openapi-rules/issues"
},
"homepage": "https://bitbucket.org/brock_reiman/bettercloud-openapi-rules#readme"
}