Closed black-desk closed 6 months ago
prepare
scripts allow other to use this package like this:
"dependencies": {
"@djot/djot": "git+https://github.com/jgm/djot.js",
}
which means that we can now use the unreleased version of djot.js in other node pacakge.
For use @djot/djot.js through git, we need a "prepare" scripts to run tsc and webpack.
https://docs.npmjs.com/cli/v9/using-npm/scripts#life-cycle-scripts
Signed-off-by: black-desk me@black-desk.cn