@triply/triplydb
v4.0.0dev
rm -rf ./lib && tsc -p tsconfig-build.json --watch --preserveWatchOutput
test
bash -c "source ./.envrc-private && mocha $(find ./lib -name '*-test.js' -exec echo -n {}' ' \;) --require source-map-support/register"
build
rm -rf ./lib && tsc -p tsconfig-build.json && chmod +x ./lib/bin/*
package
pkg ./lib/bin/triplydb.js
prepare
husky install ./bin/hooks
util:lint
ESLINT_STRICT=true ESLINT_EXPENSIVE=true eslint --ext .tsx --ext .ts ./src
preversion
isCleanBranch
build:watch
rm -rf ./lib && tsc -p tsconfig-build.json --watch --preserveWatchOutput
postversion
versionToBranch
util:prettify
prettier --parser typescript --write $(find ./src -regex '.*\.tsx?$')
prepublishOnly
if [ -z "${CI}" ]; then echo Publishing is not allowed. Only the CI may publish; exit 1; fi
util:validateTs
tsc -p ./tsconfig-validate.json --noEmit
util:validateFull
yarn run util:validateTs && yarn run util:lint && yarn run build && yarn run test
util:lint:precommit
ESLINT_STRICT=true eslint
util:validateTs:watch
tsc -p ./tsconfig-validate.json --noEmit --watch --preserveWatchOutput
util:validateTs:withLib
tsc -p ./tsconfig-validate.json --noEmit --skipLibCheck false
npm i @triply/[email protected]
Source Code
github.com/TriplyDB/TriplyDB...Metadata
- MIT
- Whatever
- Triply
- released 1/18/2022