UNPKG

@c-frame/aframe-physics-system

Version:

Physics system for A-Frame VR, built on Cannon.js & Ammo.js

91 lines (90 loc) 3.12 kB
{ "name": "@c-frame/aframe-physics-system", "version": "4.2.3", "description": "Physics system for A-Frame VR, built on Cannon.js & Ammo.js", "main": "index.js", "scripts": { "dev": "budo index.js:dist/aframe-physics-system.js -d examples --port 8000 -- -g browserify-shim -p esmify", "dist": "browserify -g browserify-shim index.js -o dist/aframe-physics-system.js -p esmify && uglifyjs -c -o dist/aframe-physics-system.min.js -- dist/aframe-physics-system.js", "test": "karma start ./tests/karma.conf.js", "test:once": "karma start ./tests/karma.conf.js --single-run", "test:firefox": "karma start ./tests/karma.conf.js --browsers Firefox", "test:chrome": "karma start ./tests/karma.conf.js --browsers Chrome", "test:ci": "TEST_ENV=ci karma start ./tests/karma.conf.js --single-run --browsers Firefox", "preversion": "npm run test:once", "preversion:readme": "replace 'aframe-physics-system@v\\d+\\.\\d+\\.\\d+' \"aframe-physics-system@v$npm_package_version\" ./README.md", "version": "npm run preversion:readme && npm run dist && git add -A dist README.md", "postversion": "git push && git push --tags && npm publish", "postinstall": "patch-package" }, "browserify-shim": { "three": "global:THREE" }, "repository": { "type": "git", "url": "git+https://github.com/c-frame/aframe-physics-system.git" }, "keywords": [ "aframe", "aframevr", "vr", "three", "physics", "cannon", "webgl", "webvr" ], "author": "Don McCurdy <dm@donmccurdy.com> (https://www.donmccurdy.com), n5ro, diarmid mackenzie, c-frame maintainers", "license": "MIT", "bugs": { "url": "https://github.com/c-frame/aframe-physics-system/issues" }, "homepage": "https://c-frame.github.io/aframe-physics-system/", "dependencies": { "aframe-stats-panel": "^0.2.3", "ammo-debug-drawer": "^0.1.0", "cannon-es": "^0.9.1", "patch-package": "^6.5.0", "three-to-ammo": "npm:@c-frame/three-to-ammo@^1.0.3", "three-to-cannon": "^4.0.0", "webworkify": "^1.4.0" }, "peerDependencies": { "aframe": ">=0.5.0" }, "devDependencies": { "aframe": "~1.1.0", "browserify": "^16.5.1", "browserify-css": "^0.15.0", "browserify-shim": "^3.8.14", "budo": "^11.6.3", "chai": "^3.5.0", "chai-shallow-deep-equal": "^1.4.6", "envify": "^4.1.0", "esmify": "^2.1.1", "karma": "^4.4.1", "karma-browserify": "^6.1.0", "karma-chai-shallow-deep-equal": "0.0.4", "karma-chrome-launcher": "^2.2.0", "karma-env-preprocessor": "^0.1.1", "karma-firefox-launcher": "^1.3.0", "karma-mocha": "^1.3.0", "karma-mocha-reporter": "^2.2.5", "karma-sinon-chai": "^1.3.4", "mocha": "^6.2.3", "replace": "^1.2.0", "sinon": "^2.4.1", "sinon-chai": "^2.14.0", "three": ">=0.125.0", "uglify-es": "^3.3.9" }, "directories": { "doc": "docs", "example": "examples", "lib": "lib", "test": "tests" }, "engines": { "npm": ">=7" } }