presetter-preset-rollup/templates/scripts.yaml

8 lines
449 B
YAML
Raw Normal View History

# 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:rollup-config build:rollup
2023-06-30 07:22:13 +00:00
build:rollup-config: tsc -p tsconfig.config.json
build:rollup: rollup --config rollup.config.js
develop: cross-env NODE_ENV=development run-s "build:rollup -- --watch {@}" --
2023-06-30 08:14:34 +00:00
clean:buildOutput: shx rm -rf {source}