WebGL 2 rendering library targeting modern browsers.
This repository employs a monorepo setup which hosts a number of associated packages under the packages
directory. They can be used in any combination and define minimum dependencies between each other.
A convenience package is provided to make core packages available to your development tools with minimal configuration. An LTS release is also available.
Package | Version | Description |
---|---|---|
renderlayer |
bundle |
Action | Command | Description |
---|---|---|
build | npm run build |
Build all modules |
meta | npm run meta |
Create esbuild meta for analysis |
check | npm run check |
Check for circular dependencies |
lint | npm run lint |
Run static code analysis |
test | npm run test |
Run unit tests and exit |
test-watch | npm run test-watch |
Watch for changes and re-run tests |
test-coverage | npm run test-coverage |
Generate a test coverage report |
format | npm run format |
Check source file formatting |
format-fix | npm run format-fix |
Format source files |
Tool | Reference |
---|---|
Node.js | https://nodejs.org |
Vite | https://vitejs.dev |
Vitest | https://vitest.dev |
rollup.js | https://rollupjs.org |
ESLint | https://eslint.org |
Prettier | https://prettier.io |
EditorConfig | https://editorconfig.org |
esbuild | https://esbuild.github.io |
mswjs | https://mswjs.io |
Website | Reference |
---|---|
WebGL2 | https://www.khronos.org/webgl/ |
glTF | https://www.khronos.org/gltf/ |
analyze | https://esbuild.github.io/analyze/ |
This project is released under the MIT License.