UNPKG

@wonderlandengine/api

Version:

Wonderland Engine's JavaScript API.

59 lines (58 loc) 1.92 kB
{ "name": "@wonderlandengine/api", "version": "1.4.5", "description": "Wonderland Engine's JavaScript API.", "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "type": "module", "exports": { ".": "./dist/index.js", "./version.js": "./dist/index.js", "./decorators.js": "./dist/index.js", "./utils/*": "./dist/index.js" }, "repository": { "type": "git", "url": "git+https://github.com/WonderlandEngine/api.git" }, "keywords": [ "webxr", "wonderland", "components" ], "author": "Wonderland GmbH", "license": "MIT", "bugs": { "url": "https://github.com/WonderlandEngine/api/issues" }, "homepage": "https://github.com/WonderlandEngine/api#readme", "scripts": { "build": "tsc --emitDeclarationOnly && npm run build:bundle", "build:bundle": "esbuild src/index.ts --minify-whitespace --minify-syntax --bundle --format=esm --tsconfig=\"tsconfig.json\" --outfile=\"dist/index.js\" --sourcemap=linked", "build:watch": "tsc --watch", "prebuild": "node ./scripts/pre-build.mjs", "test": "npm run test:typecheck && node ./test/run.mjs", "test:typecheck": "tsc --project ./test/tsconfig.json --noEmit", "pretest": "npm run build", "pretty": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", "pretty:check": "prettier --check \"src/**/*.ts\" \"test/**/*.ts\"", "prepare": "npm run build", "doc": "typedoc --entryPoints ./src/index.ts --tsconfig tsconfig.json --json ./doc.json --treatWarningsAsErrors --exclude ./src/decorators.ts" }, "files": [ "dist/**/*.d.ts", "dist/**/*.js", "dist/**/*.js.map" ], "dependencies": { "@types/webxr": "^0.5.0" }, "devDependencies": { "@wonderlandengine/chai-almost": "file:../chai-almost", "esbuild": "0.21.5", "typedoc": "0.23.28", "typescript": "4.9.5", "wasm-feature-detect": "1.6.2" } }