File tree Expand file tree Collapse file tree 3 files changed +26
-10
lines changed Expand file tree Collapse file tree 3 files changed +26
-10
lines changed Original file line number Diff line number Diff line change @@ -25,9 +25,11 @@ Labels are assigned based on [Sensible Github Labels](https://github.com/Releque
2525## Authoring and Building
2626
2727### Specification
28- To build the spec files to HTML from the Markdown sources, run ` npm run build ` .
29- You can also build each individually with ` npm run build-core ` and `npm run
30- build-validation`.
28+ To build the spec files to HTML from the Markdown sources, run `npm run
29+ build-all`.
30+ You can also build each individually with ` npm run build -- filename.md `
31+ (Example: ` npm run build -- jsonschema-core.md ` ). You can also use wildcards to
32+ build multiple specs at the same time: ` npm run build -- jsonschema-*.md ` .
3133
3234The spec is built using [ Remark] ( https://remark.js.org/ ) , a markdown engine with
3335good support for plugins and lots of existing plugins we can use.
Original file line number Diff line number Diff line change 66 "main" : " index.js" ,
77 "scripts" : {
88 "lint" : " eslint build/" ,
9- "build" : " npm run build-core && npm run build-validation && npm run build-propertyDependencies" ,
10- "build-core" : " node build/build.js < jsonschema-core.md > jsonschema-core.html" ,
11- "build-validation" : " node build/build.js < jsonschema-validation.md > jsonschema-validation.html" ,
12- "build-propertyDependencies" : " node build/build.js < proposals/propertyDependencies.md > proposals/propertyDependencies.html"
9+ "build-all" : " node build/build.js jsonschema-*.md proposals/*.md" ,
10+ "build" : " node build/build.js"
1311 },
1412 "license" : " MIT" ,
1513 "dependencies" : {
You can’t perform that action at this time.
0 commit comments