pixi.js

v8.4.1
PixiJS — The HTML5 Creation Engine =============

dist

run-s build docs && copyfiles -u 1 "dist/**/*" .s3_uploads/

docs

mkdirp out && npm run docs:webdoc

lint

eslint --ext .js --ext .ts ./ --cache --max-warnings 0

test

run-s test:unit test:scene

build

run-s build:index build:pkg build:rollup build:tsc build:dts build:dts-bundle

clean

run-s clean:*

prune

knip --exclude enumMembers --no-gitignore

start

run-s watch

watch

nodemon --watch "./src/*" --exec "npm run watch:build" -e ts,js,vert,frag,wgsl,d.ts --ignore "index.ts"

ci:lint

run-s lint test:types prune

prepare

husky install

release

ts-node ./scripts/release.ts

lint:fix

npm run lint -- --fix

prebuild

npm run clean

preprune

run-s build:index

prewatch

npm run build

build:dts

ts-node --transpile-only ./scripts/types/fixTypes.ts && copyfiles -u 1 "src/**/*.d.ts" lib/

build:pkg

ts-node ./scripts/utils/exports.ts

build:tsc

tsc -p tsconfig.types.json

postbuild

rimraf "src/*/**/index.ts" --glob

test:unit

npx jest --silent --testPathIgnorePatterns=tests/visual

watch:lib

cross-env LIB_ONLY=1 nodemon --watch "./src/*" --exec "npm run watch:build" -e ts,js,vert,frag,wgsl,d.ts --ignore "index.ts"

docs:watch

nodemon --watch "./src/*" --exec "npm run docs" -e ts

prerelease

run-s clean:build test dist

publish-ci

npm publish

test:debug

cross-env DEBUG_MODE=1 npx jest --testPathIgnorePatterns=tests/visual

test:scene

npx jest --silent --testPathPattern=tests/visual

test:types

tsc --noEmit

build:index

ts-node --transpile-only ./scripts/index/index.ts

clean:build

rimraf "{lib,dist,out}" --glob

clean:index

rimraf "src/*/**/index.ts" --glob

docs:webdoc

webdoc -R README.md

test:server

npx http-server -p 8080 -c-1

watch:build

run-s build:index build:rollup build:tsc build:dts postbuild

build:rollup

npx rollup -c --failAfterWarnings

clean:uploads

rimraf .pr_uploads .s3_uploads --glob

codesandbox-ci

run-s build

build:dts-bundle

dts-bundle-generator --config dts.config.js

test:scene:debug

cross-env DEBUG_MODE=1 npx jest --testPathPattern=tests/visual

Metadata

  • MIT
  • Whatever
  • PixiJS Team
  • released 9/19/2024

Downloads