UNPKG

spatial-controls

Version:

Configurable 3D movement controls.

101 lines (100 loc) 2.39 kB
{ "name": "spatial-controls", "version": "6.1.2", "description": "Configurable 3D movement controls.", "homepage": "https://github.com/vanruesc/spatial-controls", "license": "Zlib", "type": "module", "sideEffects": false, "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/types/index.d.ts", "exports": { ".": { "types": "./dist/types/index.d.ts", "default": "./dist/index.js" } }, "keywords": [ "movement", "translation", "rotation", "object", "camera", "orbit", "controls", "keybindings", "3d" ], "author": { "name": "Raoul van Rüschen", "email": "vanruesc@outlook.de" }, "repository": { "url": "git+https://github.com/vanruesc/spatial-controls.git" }, "bugs": { "url": "https://github.com/vanruesc/spatial-controls/issues" }, "files": [ "dist" ], "engines": { "node": ">= 0.22.0" }, "scripts": { "ava": "ava", "build": "run-p build:js:min build:dts", "build:js": "node esbuild", "build:js:min": "node esbuild -m", "build:dts": "tsc -p tsconfig.d.json", "postbuild": "cpy \"demo/static/**/*\" public/demo", "clean": "del-cli dist public", "doc": "typedoc --plugin typedoc-plugin-mdn-links", "lint": "run-p lint:*", "lint:js": "eslint --ext .ts --fix src demo/src", "lint:tsc": "tsc --noemit", "prepublishOnly": "run-s test doc", "start": "serve public", "test": "run-s lint clean build ava", "prewatch": "run-s clean build:js build:dts postbuild", "watch": "run-p watch:* start", "watch:tsc": "tsc --noemit --watch --preserveWatchOutput", "watch:eslint": "esw -w --ext .ts --color src demo/src", "watch:js": "node esbuild -w" }, "ava": { "failFast": true, "files": [ "test/**/*.js" ] }, "eslintConfig": { "extends": "aether/typescript" }, "peerDependencies": { "three": "0.x.x" }, "devDependencies": { "@tweakpane/core": "2.x.x", "@types/node": "20.x.x", "@types/three": "0.x.x", "@typescript-eslint/eslint-plugin": "7.x.x", "@typescript-eslint/parser": "7.x.x", "ava": "6.x.x", "cpy-cli": "5.x.x", "del-cli": "5.x.x", "esbuild": "0.x.x", "eslint": "8.x.x", "eslint-config-aether": "1.x.x", "eslint-watch": "8.x.x", "npm-run-all": "4.x.x", "serve": "14.x.x", "three": "0.x.x", "tslib": "2.x.x", "tweakpane": "4.x.x", "typedoc": "0.x.x", "typedoc-plugin-mdn-links": "3.x.x", "typescript": "5.x.x" } }