UNPKG

litecanvas

Version:

Lightweight HTML5 canvas 2D game engine suitable for small projects and creative coding. Inspired by PICO-8 and P5/Processing.

85 lines (84 loc) 2.38 kB
{ "name": "litecanvas", "version": "0.93.0", "description": "Lightweight HTML5 canvas 2D game engine suitable for small projects and creative coding. Inspired by PICO-8 and P5/Processing.", "license": "MIT", "author": "Luiz Bills <luizbills@pm.me>", "contributors": [], "homepage": "https://litecanvas.github.io/about.html", "repository": { "type": "git", "url": "git+https://github.com/litecanvas/game-engine.git" }, "bugs": { "url": "https://github.com/litecanvas/game-engine/issues" }, "type": "module", "main": "./src/index.js", "module": "./src/index.js", "types": "./types/index.d.ts", "unpkg": "./dist/dist.dev.js", "keywords": [ "tiny", "micro", "javascript", "html5", "canvas", "2d", "game", "gamedev", "js13k", "creative coding" ], "devDependencies": { "@litecanvas/jsdom-extras": "^2.0.1", "@size-limit/preset-small-lib": "^11.2.0", "@swc/core": "^1.13.0", "@types/jsdom": "^21.1.7", "ava": "^6.4.1", "esbuild": "^0.25.6", "genversion": "^3.2.0", "gzip-size": "^7.0.0", "jsdom": "^26.1.0", "prettier": "^3.6.2", "sinon": "^21.0.0", "size-limit": "^11.2.0", "tap-min": "^3.0.0" }, "trustedDependencies": [ "@swc/core" ], "scripts": { "prepare": "npm run build", "prepublishOnly": "npm test", "test": "ava --timeout=1s --fast-fail --tap | tap-min", "test:watch": "ava --watch", "dev": "esbuild src/web.js --bundle --watch --outfile=samples/dist.js --servedir=samples", "build": "npm run genversion && node script/build.js && size-limit", "format": "prettier -w src/* samples/* types/* script/* types/*", "check-types": "npx ts types/*", "genversion": "genversion --es6 src/version.js" }, "files": [ "dist", "src", "types" ], "ava": { "files": [ "tests/**/*.js" ] }, "size-limit": [ { "path": "dist/dist.min.js", "limit": "4kb", "gzip": true }, { "path": "dist/dist.min.js", "limit": "4kb", "gzip": false } ] }