We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae4a7f1 commit 182b60dCopy full SHA for 182b60d
spectral/package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@rhoas/spectral-ruleset",
3
- "version": "0.2.0-dev",
+ "version": "0.2.1-dev",
4
"description": "Spectral ruleset",
5
"private": false,
6
"main": "ruleset.yaml",
@@ -11,7 +11,8 @@
11
"copy-ruleset": "cp ./ruleset.yaml ./dist/ruleset.yaml && cp ./package.json ./dist/package.json",
12
"spectral-lint": "spectral lint --ruleset ./examples/.spectral-local.yaml",
13
"cli-integration-tests": "./scripts/rules.sh",
14
- "setupRelease": "npm version"
+ "setupRelease": "npm version",
15
+ "postinstall": "echo 'extends: node_modules/@rhoas/spectral-ruleset/dist/ruleset.yaml' > .spectral.yaml"
16
},
17
"dependencies": {
18
"@stoplight/spectral-cli": "6.4.2",
@@ -56,4 +57,4 @@
56
57
"files": [
58
"dist"
59
]
-}
60
+}
0 commit comments