llamaindex

v0.1.17

dev

concurrently "pnpm run build:esm --watch" "pnpm run build:cjs --watch" "pnpm run build:type --watch"

lint

eslint .

build

rm -rf ./dist && pnpm run build:esm && pnpm run build:cjs && pnpm run build:type

build:cjs

swc src -d dist/cjs --strip-leading-paths --config-file .cjs.swcrc

build:esm

swc src -d dist --strip-leading-paths --config-file .swcrc

postbuild

node -e "require('fs').writeFileSync('./dist/cjs/package.json', JSON.stringify({ type: 'commonjs' }))"

build:type

pnpm run -w type-check

circular-check

madge -c ./src/index.ts

Metadata

  • MIT
  • >=18.0.0
  • Unknown
  • released 2/26/2024

Downloads