@datastax/astra-db-ts

v0.1.0
Astra DB TS Client
cassandra dse document model schema database data datastore query and 5 more...

lint

eslint .

test

env TEST_DOC_DB=jsonapi ts-mocha --paths -p tsconfig.json tests/**/*.test.ts

build

npm run update-version-file && tsc --project tsconfig.build.json && tscpaths -p tsconfig.build.json -s ./src -o ./dist

build:docs

jsdoc2md -t APIReference.hbs --files src/**/*.ts --configure ./jsdoc2md.json > APIReference.md

preinstall

npm run update-version-file

test-astra

env TEST_DOC_DB=astra nyc ts-mocha --paths -p tsconfig.json tests/**/*.test.ts

test-jsonapi

env TEST_DOC_DB=jsonapi nyc ts-mocha --paths -p tsconfig.json tests/**/*.test.ts

update-version-file

node -p "'export const LIB_NAME = ' + JSON.stringify(require('./package.json').name) + ';'" > src/version.ts && node -p "'export const LIB_VERSION = ' + JSON.stringify(require('./package.json').version) + ';'" >> src/version.ts
npm i @datastax/[email protected]

Metadata

Downloads