UNPKG

gsots3d

Version:

Getting S**t On The Screen in 3D. A library for doing 3D graphics in the browser.

70 lines (69 loc) 2.11 kB
{ "name": "gsots3d", "version": "0.0.6-alpha.1", "description": "Getting S**t On The Screen in 3D. A library for doing 3D graphics in the browser.", "author": "Ben Coleman", "license": "MIT", "homepage": "https://code.benco.io/gsots3d/docs", "type": "module", "publishConfig": { "@benc-uk:registry": "https://npm.pkg.github.com" }, "repository": { "type": "git", "url": "https://github.com/benc-uk/gsots3d.git" }, "exports": { ".": "./dist/index.js", "./parsers": "./dist/parsers/index.js" }, "browser": { ".": "./dist-single/gsots3d.js" }, "files": [ "dist/", "readme.md" ], "keywords": [ "webgl", "graphics", "3d", "twgl", "typescript" ], "scripts": { "lint": "eslint src/ && prettier --check src/ && prettier --check shaders", "lint-fix": "eslint src/ --fix && prettier --write src/ && prettier --write shaders", "check": "tsc", "build": "tsc && tsup", "build:all": "npm run build && npm run build-single && npm run docs", "watch": "tsc && npm run build && run-when-changed --watch 'src/**' --watch 'shaders/**' --exec 'npm run build'", "build-single": "tsc && tsup --config tsup.config-single.js", "watch-single": "tsc && npm run build-single && run-when-changed --watch 'src/**' --watch 'shaders/**' --exec 'npm run build-single'", "clean": "rm -rf dist docs dist-single", "docs": "typedoc --out docs --gitRevision main ./src/", "examples": "vite --port 3000 --host 0.0.0.0 ./examples/", "prepare": "npm run build" }, "devDependencies": { "@eslint/eslintrc": "^3.2.0", "@eslint/js": "^9.16.0", "esbuild-plugin-glsl": "^1.2.2", "eslint": "^9.16.0", "globals": "^15.13.0", "prettier": "^3.4.2", "prettier-plugin-glsl": "^0.2.0", "run-when-changed": "^2.1.0", "tsup": "^8.3.5", "typedoc": "^0.27.3", "typescript": "^5.7.2", "typescript-eslint": "^8.17.0", "vite": "^6.0.3" }, "dependencies": { "cannon-es": "^0.20.0", "gl-matrix": "^3.4.3", "loglevel": "^1.9.2", "twgl.js": "^5.5.4" } }