@antv/algorithm

v0.1.0-beta.2
graph algorithm
graph algorithm antv G6

build

npm run clean && father build && npm run build:umd

build:umd

webpack --config webpack.config.js --mode production

dev:umd

webpack --config webpack.dev.config.js --mode development

ci

npm run build && npm run coverage

clean

rimraf es esm lib

coverage

jest --coverage

lint

eslint --ext .js,.jsx,.ts,.tsx --format=pretty "./"

lint:src

eslint --ext .ts --format=pretty "./src"

prettier

prettier -c --write "**/*"

test

npm run build:umd && jest

test-live

npm run build:umd && DEBUG_MODE=1 jest --watch ./tests/unit/louvain-spec.ts

test-live:async

npm run build:umd && DEBUG_MODE=1 jest --watch ./tests/unit/*-async-spec.ts

lint-staged:js

eslint --ext .js,.jsx,.ts,.tsx

cdn

antv-bin upload -n @antv/algorithm
npm i @antv/[email protected]

Metadata

  • MIT
  • Whatever
  • https://github.com/orgs/antvis/people
  • released 2/19/2021

Downloads