npm.io
4.3.1 • Published yesterday

@tsparticles/cli-command-build

Licence
MIT
Version
4.3.1
Deps
32
Size
95 kB
Vulns
0
Weekly
0
Stars
8.9K

banner

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