UNPKG

ammojs-typed

Version:
31 lines (30 loc) 1.04 kB
{ "name": "ammojs-typed", "version": "1.0.6", "description": "Ammo.js with type definitions", "main": "ammo/ammo.js", "types": "ammo/ammo.d.ts", "scripts": { "download:idl": "curl -L https://raw.githubusercontent.com/kripken/ammo.js/master/ammo.idl -o ./ammo/ammo.idl", "download:js": "curl -L https://github.com/kripken/ammo.js/raw/master/builds/ammo.js -o ./ammo/ammo.js", "download": "npm run download:idl && npm run download:js", "generate": "yarn generate:module && yarn generate:ambient", "generate:module": "webidl2ts -i ./ammo/ammo.idl -o ./ammo/ammo.d.ts -ed -n Ammo", "generate:ambient": "webidl2ts -i ./ammo/ammo.idl -o ./ammo/ambient/ammo.d.ts -e -n Ammo" }, "repository": { "type": "git", "url": "https://github.com/giniedp/ammojs-typed.git" }, "homepage": "https://github.com/giniedp/ammojs-typed", "author": "Alexander Gräfenstein", "files": [ "ammo", "Readme.md", "package.json" ], "license": "MIT", "devDependencies": { "webidl2ts": "^1.0.1" } }