@visactor/vchart

v1.12.0
charts lib based @visactor/VGrammar
charts visualization VChart animation storytelling VisActor graphics interaction

ci

ts-node --transpileOnly --skipProject ./scripts/trigger-test.ts

dev

cross-env DEBUG='Bundler*' bundle --clean -f es -w

size

size-limit

test

jest

build

cross-env DEBUG='Bundler*' bundle --clean && npm run build:schema && npm run build:types && npm run build:es5

clear

rimraf build && rimraf esm && rimraf cjs

start

ts-node __tests__/runtime/browser/scripts/initVite.ts && vite serve __tests__/runtime/browser

eslint

eslint --debug --fix src/

analyze

npm run analyze-full && npm run analyze-line && npm run analyze-simple

compile

tsc --noEmit

build:ci

cross-env DEBUG='Bundler*' bundle --clean -f umd --ignorePostTasks --ignoreUmdEntries

build:es

cross-env DEBUG='Bundler*' bundle --clean -f es --ignorePostTasks

prettier

prettier --write --ignore-unknown .

test-cov

jest -w 16 --coverage

build:cjs

cross-env DEBUG='Bundler*' bundle --clean -f cjs --ignorePostTasks --ignoreUmdEntries

build:es5

rimraf lib && rollup -c --bundleConfigAsCjs

build:umd

cross-env DEBUG='Bundler*' bundle -f umd

test-live

npm run test-watch __tests__/unit

eslint:err

eslint . --quiet

test-watch

cross-env DEBUG_MODE=1 jest --watch

analyze-pie

cross-env BUNDLE_ANALYZE='pie' DEBUG='Bundler*' bundle -f umd

build:types

tsc --declaration --emitDeclarationOnly --outDir ../vchart-types/types

analyze-full

cross-env BUNDLE_ANALYZE='full' DEBUG='Bundler*' bundle -f umd

build:schema

schema src/typings/spec/chart.ts ISpec --useTypeOfKeyword --ignoreErrors --required > ../vchart-schema/vchart.json

eslint:check

eslint .

analyze-empty

cross-env BUNDLE_ANALYZE='empty' DEBUG='Bundler*' bundle -f umd

analyze-simple

cross-env BUNDLE_ANALYZE='simple' DEBUG='Bundler*' bundle -f umd

prettier:check

prettier --check .
npm i @visactor/[email protected]

Metadata

  • MIT
  • Whatever
  • VisActor
  • released 8/16/2024

Downloads