presetter-preset-rollup/templates/scripts.yaml

7 lines
390 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: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 {@}" --