Skip to content

Latest commit

 

History

History
47 lines (25 loc) · 934 Bytes

npm-scripts-intro.md

File metadata and controls

47 lines (25 loc) · 934 Bytes

npm-scripts-intro

Demonstrate the execution of several commands in the project

dev mode

rollup build lib( watch mode )

prod mode

build mode

rollup build lib (minify)

prod mode

conventional commits

angular conventional commits (interactive) ![cz commit](demo/images/cz-commit -progress.gif)

unit tests

use vitest

watch mode

Run all test suites but watch for changes and rerun tests when they change.

test watch

product mode (once)

Perform a single run without watch mode.

 test prod

npm publish tarball (local view)

npm publish --dry-run (view tarball)

 npm publish

release-it

release-it is interactive and allows you to confirm each task before execution: release-it-iterative