presetter-relay-plugin-preset/templates/scripts.yaml

7 lines
364 B
YAML
Raw Permalink Normal View History

2023-07-07 04:28:07 +00:00
# replace the `prepare` template from presetter-preset
# so that the build procedure will not be triggered upon package installation
build: cross-env NODE_ENV=production run-s clean build:typescript:* build:esbuild
build:esbuild: node build.js
develop: cross-env NODE_ENV=development run-s "build:esbuild -- --watch {@}" --
clean:buildOutput: shx rm -rf {source}