Skip to content

Commit bcb0bb7

Browse files
committed
Fixes #17.
1 parent 0e3bb1e commit bcb0bb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

npm/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ java -jar node_modules/jsonix-schema-compiler/lib/jsonix-schema-compiler-full.ja
1616
Typical usage is as follows:
1717

1818
* Make your package depend on `jsonix-schema-compiler`.
19-
* Invoke the Jsonix Schema Compiler in the `scripts/postinstall`
19+
* Invoke the Jsonix Schema Compiler in `scripts/prepublish`.
2020

2121
## Example
2222

@@ -32,7 +32,7 @@ Typical usage is as follows:
3232
...
3333
"scripts": {
3434
...
35-
"postinstall" : "java -jar node_modules/jsonix-schema-compiler/lib/jsonix-schema-compiler-full.jar schema.xsd"
35+
"prepublish" : "java -jar node_modules/jsonix-schema-compiler/lib/jsonix-schema-compiler-full.jar schema.xsd"
3636
...
3737
}
3838
...

0 commit comments

Comments
 (0)