File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 23
23
},
24
24
"homepage" : " https://github.com/redhat-developer/app-services-api-guidelines#readme" ,
25
25
"bin" : {
26
- "spectral " : " node_modules/.bin/spectral"
26
+ "spectralx " : " node_modules/.bin/spectral"
27
27
}
28
28
}
Original file line number Diff line number Diff line change 5
5
"private" : false ,
6
6
"main" : " ruleset.yaml" ,
7
7
"scripts" : {
8
- "build" : " npm run clean && tsc && npm run copy-ruleset" ,
8
+ "build" : " npm run clean && tsc && npm run copy-ruleset && npm run copy-binary " ,
9
9
"clean" : " rm -rf dist" ,
10
10
"lint" : " eslint src/**/*.ts" ,
11
11
"copy-ruleset" : " cp ./ruleset.yaml ./dist/ruleset.yaml && cp ./package.json ./dist/package.json" ,
12
+ "copy-binary" : " cp ./node_modules/.bin/spectral ./dist" ,
12
13
"spectral-lint" : " spectral lint --ruleset ./examples/.spectral-local.yaml" ,
13
14
"cli-integration-tests" : " ./scripts/rules.sh" ,
14
15
"setupRelease" : " npm version" ,
52
53
"@stoplight/spectral-core" : " 1.12.4"
53
54
},
54
55
"bin" : {
55
- "spectral " : " node_modules/.bin/spectral"
56
+ "spectralx " : " node_modules/.bin/spectral"
56
57
},
57
58
"files" : [
58
59
" dist"
You can’t perform that action at this time.
0 commit comments