tsParticles CLI
Installation
NPM
npm install -g @tsparticles/cli-build
Yarn
yarn global add @tsparticles/cli-build
PNPM
pnpm global add @tsparticles/cli-build
Usage
Help
npx @tsparticles/cli-build --help
or
tsparticles-build --help
Build
npx @tsparticles/cli-build
or
tsparticles-build
Build options
tsparticles-build
tsparticles-build --clean --lint --tsc
tsparticles-build --bundle-webpack
tsparticles-build --bundle-rollup
Verify in this workspace
From the cli root, these commands validate the Nx integration end-to-end:
pnpm nx show project @tsparticles/cli-command-build --json
pnpm nx run @tsparticles/cli-command-build:tsc
pnpm nx run @tsparticles/cli-command-build:test
pnpm run build
