@clickhouse/client
v0.0.8 clickhouse sql client
lint
eslint . --ext .ts
test
jest --reporters jest-silent-reporter --testPathPattern=__tests__ --globalSetup='<rootDir>/__tests__/setup.integration.ts'
build
rm -rf dist; tsc
prepare
husky install
lint:fix
eslint --fix . --ext .ts
test:tls
jest --testMatch='**/__tests__/tls/*.test.ts'
build:all
rm -rf dist; tsc --project tsconfig.dev.json
test:unit
jest --reporters jest-silent-reporter --testMatch='**/__tests__/{unit,utils}/*.test.ts'
typecheck
tsc --project tsconfig.dev.json --noEmit
test:integration
jest --reporters jest-silent-reporter --runInBand --testPathPattern=__tests__/integration --globalSetup='<rootDir>/__tests__/setup.integration.ts'
test:integration:cloud
CLICKHOUSE_TEST_ENVIRONMENT=cloud jest --reporters jest-silent-reporter --runInBand --testPathPattern=__tests__/integration --globalSetup='<rootDir>/__tests__/setup.integration.ts'
test:integration:local_cluster
CLICKHOUSE_TEST_ENVIRONMENT=local_cluster jest --reporters jest-silent-reporter --runInBand --testPathPattern=__tests__/integration --globalSetup='<rootDir>/__tests__/setup.integration.ts'