dv-scripts
v1.6.1
Published
Scripts for Node/TypeScript development.
Readme
dv-scripts
Scripts for Node/TypeScript development.
build- Build using Rollup.
test- Test using Jest.
lint- Sort
package.jsonfiles 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
mainbranch. - Release a canary release if we aren't on the
mainbranch. - 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.
buildlinttestrelease
- 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.
