@civic/storage

v0.1.16
The storage adapter system allows different pieces of functionality to be composable together to make storing complex data easier.

lint

eslint -c .eslintrc.js '{src,test}/**/*.ts'

test

yarn test:mocha

build

tsc -b tsconfig.build.json && tsc -b tsconfig.umd.json

lint:fix

eslint -c .eslintrc.js --fix '{src,test}/**/*.ts'

test:mocha

STAGE=${STAGE:-local} FORCE_COLOR=1 LOG_LEVEL=error LOCAL=true nyc --reporter=text --reporter=html ts-mocha -p tsconfig.mocha.json --timeout 20000 --paths 'test/mocha/**/*.ts'

test:watch

ts-mocha -p tsconfig.mocha.json --paths 'test/**/*.ts' -w --watch-files '**/**/*.ts'

test:integration

STAGE=${STAGE:-local} FORCE_COLOR=1 LOG_LEVEL=error LOCAL=true nyc --check-coverage=false --reporter=text --reporter=html ts-mocha -p tsconfig.mocha.json --timeout 20000 --paths 'test/integration/**/*.ts'
npm i @civic/storage

Metadata

  • Unknown
  • >=14.15.0
  • Unknown
  • released 1/24/2023

Downloads