File tree 3 files changed +26
-10
lines changed
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
25
25
## Authoring and Building
26
26
27
27
### 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 ` .
31
33
32
34
The spec is built using [ Remark] ( https://remark.js.org/ ) , a markdown engine with
33
35
good support for plugins and lots of existing plugins we can use.
Original file line number Diff line number Diff line change 6
6
"main" : " index.js" ,
7
7
"scripts" : {
8
8
"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"
13
11
},
14
12
"license" : " MIT" ,
15
13
"dependencies" : {
You can’t perform that action at this time.
0 commit comments