dv-scripts
v1.6.1
Published
Scripts for Node/TypeScript development.
Downloads
2,755
Readme
dv-scripts
Scripts for Node/TypeScript development.
build
- Build using Rollup.
test
- Test using Jest.
lint
- Sort
package.json
files withsort-package-json
. - Format files with prettier.
- Lint using ESLint.
- Sort
start
- Compile individual files in watch mode using Babel.
- We do this so that when developing in a monorepo you get proper hot module reloading.
release
- Release a production release if we are on the
main
branch. - Release a canary release if we aren't on the
main
branch. - When in a normal repo we use semantic-release.
- When in a repo using Yarn workspaces we use multi-semantic-release.
- Release a production release if we are on the
ci
- Single command for running common CI commands.
build
lint
test
release
- Instead of setting up a complex YAML file and locking yourself into a CI provider you can use
dv-scripts ci
.
- Single command for running common CI commands.