@triply/triplydb

v8.2.3

build

rm -rf ./lib && tsc -p tsconfig.json && chmod +x ./lib/bin/*

build:watch

rm -rf ./lib && tsc -p tsconfig.json --watch --preserveWatchOutput

dev

rm -rf ./lib && tsc -p tsconfig.json --watch --preserveWatchOutput

test

bash -c "mocha $(find ./lib -name '*-test.js' | xargs) --timeout 120000 --require source-map-support/register"

package

rollup -c && pkg ./lib/triplydb.cjs -t "node18-linux-x64,node18-macos-x64,node18-win-x64"

preversion

isCleanBranch

postversion

versionToBranch

prepublishOnly

if [ -z "${CI}" ]; then echo Publishing is not allowed. Only the CI may publish; exit 1; fi

util:lint

ESLINT_STRICT=true ESLINT_EXPENSIVE=true eslint --ext .tsx --ext .ts ./src

util:lint:precommit

ESLINT_STRICT=true eslint

util:prettify

prettier --parser typescript --write $(find ./src -regex '.*\.tsx?$')

util:validateTs

tsc -p ./tsconfig-validate.json --noEmit

util:validateTs:withLib

tsc -p ./tsconfig-validate.json --noEmit --skipLibCheck false

util:validateTs:watch

tsc -p ./tsconfig-validate.json --noEmit --watch --preserveWatchOutput

util:validateFull

yarn run util:validateTs && yarn run util:lint && yarn run build && yarn run test

_postinstall

husky install ./bin/hooks

prepack

pinst --disable

postpack

pinst --enable
npm i @triply/triplydb

Metadata

  • MIT
  • Whatever
  • Unknown
  • released 10/1/2024

Downloads