UNPKG

2d-physics-engine

Version:

A lightweight, flexible 2D physics engine with ECS architecture, built with TypeScript

66 lines (65 loc) 1.82 kB
{ "name": "2d-physics-engine", "version": "1.1.0", "description": "A lightweight, flexible 2D physics engine with ECS architecture, built with TypeScript", "type": "module", "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "default": "./dist/index.js" } }, "files": [ "dist", "README.md", "LICENSE" ], "scripts": { "dev": "vite --open", "build": "tsc -p tsconfig.build.json", "build:lib": "npm run build", "build:demo": "vite build", "preview": "vite preview", "prepublishOnly": "npm run build && npm test", "format": "prettier . --write", "format-check": "prettier . --check", "test": "jest" }, "keywords": [ "physics", "2d", "physics-engine", "game-engine", "ecs", "entity-component-system", "collision-detection", "rigidbody", "typescript", "canvas" ], "author": "", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/danyalready/2d-physics-engine.git" }, "bugs": { "url": "https://github.com/danyalready/2d-physics-engine/issues" }, "homepage": "https://github.com/danyalready/2d-physics-engine#readme", "devDependencies": { "@babel/preset-env": "^7.23.5", "@types/jest": "^29.5.10", "babel-jest": "^29.7.0", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "prettier": "^3.1.1", "ts-jest": "^29.1.1", "typescript": "^5.2.2", "vite": "^5.0.0" } }