Skip to main content

Development Scripts

NPM Scripts

NameDescriptionExample Usage
startStart teraslice teraslice instance.yarn start -c ./teraslice-master.yaml
setupAdd any missing dependencies, link the packages together, and build any packages. This is useful to run after pulling down any changes.yarn setup
buildBuild and compile typescript packagesyarn build
build:watchBuild and watch for changes on typescript packages.yarn build:watch
build:docterThe all-in-one fix the build or tests helper scriptyarn build:docker
syncSync all library versions and handle minor formatting fixesyarn sync
docsSync up and add any missing docsyarn docs
bumpUpdate a package to specific version and its dependencies.yarn bump job-components --release major, run yarn bump --help for more info.
testTest all of the packagesyarn test or an individual suite yarn test --suite elasticsearch, run yarn test --help for more info.
lintRun linting on all of the packagesyarn lint
lint:fixFix correctable linting errors in the packages (this should be safe to do)yarn lint:fix