Last active
January 10, 2019 16:48
-
-
Save FrankHassanabad/112a30f2077a9fa2abef0b4a1131077a to your computer and use it in GitHub Desktop.
Helpful aliases I use for kibana
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export PLUGIN_NAME=secops | |
# Start kibana | |
alias start-kibana='cd $HOME/projects/kibana && yarn start --no-base-path' | |
# Start bootstrap | |
alias start-bootstrap='cd $HOME/projects/kibana && yarn kbn bootstrap' | |
# Start typecheck | |
alias start-type-check='cd $HOME/projects/kibana && node scripts/type_check.js' | |
# Start tslint | |
alias start-tslint='cd $HOME/projects/kibana && node scripts/tslint.js' | |
# Start unit tests | |
alias start-jest='cd $HOME/projects/kibana/x-pack && node scripts/jest.js $PLUGIN_NAME' | |
# Start unit tests watch | |
alias start-jest-watch='cd $HOME/projects/kibana/x-pack && node scripts/jest.js $PLUGIN_NAME --watch' | |
# Start generation | |
alias start-bean-gen='cd $HOME/projects/kibana/x-pack/plugins/$PLUGIN_NAME && node scripts/generate_types_from_graphql.js' | |
# Start api integration tests | |
alias start-integration='cd $HOME/projects/kibana && node scripts/functional_tests --config x-pack/test/api_integration/config.js' | |
# Test all | |
alias start-test-all='start-bean-gen && start-type-check && start-tslint && start-jest && start-integration' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment