{"_id":"@babyuewjs/core","_rev":"1-f074e0060eab4a25b3e2f7d0e4f4e731","name":"@babyuewjs/core","dist-tags":{"latest":"1.0.0-alpha.1"},"versions":{"1.0.0-alpha.0":{"name":"@babyuewjs/core","private":false,"version":"1.0.0-alpha.0","description":"Vue3 componets for create 3D Scenes using Babylon.js","author":{"name":"drumath2237"},"bugs":{"url":"https://github.com/drumath2237/BabyuewJS/issues"},"repository":{"type":"git","url":"git+https://github.com/drumath2237/BabyuewJS.git"},"type":"module","main":"./dist/index.umd.cjs","module":"./dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.umd.cjs"}},"types":"./dist/index.d.ts","scripts":{"dev":"vite","compile":"vue-tsc","build":"pnpm compile && vite build","preview":"vite preview","lint":"eslint --fix src/*.{ts,vue} && eslint --fix src/**/*.{ts,vue}","format":"prettier -w src/*.{ts,vue} && prettier -w src/**/*.{ts,vue}","fix":"pnpm format && pnpm lint"},"dependencies":{"@babylonjs/core":"^6.25.0","vue":"^3.3.6"},"devDependencies":{"@types/node":"^20.8.8","@typescript-eslint/eslint-plugin":"^6.9.0","@typescript-eslint/parser":"^6.9.0","@vitejs/plugin-vue":"^4.4.0","@vue/eslint-config-prettier":"^8.0.0","eslint":"^8.52.0","eslint-plugin-vue":"^9.18.0","prettier":"^3.0.3","sass":"^1.69.4","typescript":"^5.2.2","vite":"^4.5.0","vite-plugin-dts":"^3.6.1","vue-tsc":"^1.8.20"},"gitHead":"b2f17ad9097b9fe717885277fee2701b3420bf1c","homepage":"https://github.com/drumath2237/BabyuewJS#readme","_id":"@babyuewjs/core@1.0.0-alpha.0","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-+AhHJHUDuEOvOy+7uxe27Uzs6nPO0I9pdgCG9tdb5hi9ATYrfrGZ6XvyctCrqDqmv7SogGPXwesECjrNIrZu3A==","shasum":"858778d680f86c283160bfe36f022bc80c50c8c8","tarball":"https://registry.npmjs.org/@babyuewjs/core/-/core-1.0.0-alpha.0.tgz","fileCount":51,"unpackedSize":49704,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDyteX9ak1uZ3Tla4Tks1MKzpFEFeuGd1olTlw/gU14dAIhAJM1UYqlpOFvroSl1KYHmShFPlL6BJH4bqhZ8RsaMSKK"}]},"_npmUser":{"name":"drumath","email":"2237k.drumath@gmail.com"},"directories":{},"maintainers":[{"name":"drumath","email":"2237k.drumath@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core_1.0.0-alpha.0_1698257770431_0.5736918228479095"},"_hasShrinkwrap":false},"1.0.0-alpha.1":{"name":"@babyuewjs/core","private":false,"version":"1.0.0-alpha.1","description":"Vue3 componets for create 3D Scenes using Babylon.js","author":{"name":"drumath2237"},"license":"Apache-2.0","keywords":["babylonjs","vue","vue3","webgl","typescript"],"bugs":{"url":"https://github.com/drumath2237/BabyuewJS/issues"},"repository":{"type":"git","url":"git+https://github.com/drumath2237/BabyuewJS.git"},"type":"module","main":"./dist/index.umd.cjs","module":"./dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.umd.cjs"}},"types":"./dist/index.d.ts","scripts":{"dev":"vite","compile":"vue-tsc","build":"pnpm compile && vite build","preview":"vite preview","lint":"eslint --fix src/*.{ts,vue} && eslint --fix src/**/*.{ts,vue}","format":"prettier -w src/*.{ts,vue} && prettier -w src/**/*.{ts,vue}","fix":"pnpm format && pnpm lint"},"dependencies":{"@babylonjs/core":"^6.25.0","vue":"^3.3.6"},"devDependencies":{"@types/node":"^20.8.8","@typescript-eslint/eslint-plugin":"^6.9.0","@typescript-eslint/parser":"^6.9.0","@vitejs/plugin-vue":"^4.4.0","@vue/eslint-config-prettier":"^8.0.0","eslint":"^8.52.0","eslint-plugin-vue":"^9.18.0","prettier":"^3.0.3","sass":"^1.69.4","typescript":"^5.2.2","vite":"^4.5.0","vite-plugin-dts":"^3.6.1","vue-tsc":"^1.8.20"},"gitHead":"c514667506582238c3f7d8445ca71ff122828bce","homepage":"https://github.com/drumath2237/BabyuewJS#readme","_id":"@babyuewjs/core@1.0.0-alpha.1","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-+rGGQmmOA2GoXVmK3wHahgbSYNENh+raNOqilkmvMHkbzG4CPnB8QAG+dY9czJ5R6woCmQYEwlZW87W2dzKuQA==","shasum":"b3c58f9ceecdffcbfcd9c6c1748ec8bbb78a2420","tarball":"https://registry.npmjs.org/@babyuewjs/core/-/core-1.0.0-alpha.1.tgz","fileCount":52,"unpackedSize":53070,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA8318C2DYKBJhHWvFtUxaMtHrTeOjix9RhyVeNrLBXHAiBVtMJEv+LueSpUHWL+dJGJhdP3GyRzJtqVphCt+KZUTQ=="}]},"_npmUser":{"name":"drumath","email":"2237k.drumath@gmail.com"},"directories":{},"maintainers":[{"name":"drumath","email":"2237k.drumath@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core_1.0.0-alpha.1_1698343033112_0.8213322577556095"},"_hasShrinkwrap":false}},"time":{"created":"2023-10-25T18:16:10.317Z","1.0.0-alpha.0":"2023-10-25T18:16:10.852Z","modified":"2023-10-26T17:57:13.505Z","1.0.0-alpha.1":"2023-10-26T17:57:13.308Z"},"maintainers":[{"name":"drumath","email":"2237k.drumath@gmail.com"}],"description":"Vue3 componets for create 3D Scenes using Babylon.js","homepage":"https://github.com/drumath2237/BabyuewJS#readme","repository":{"type":"git","url":"git+https://github.com/drumath2237/BabyuewJS.git"},"author":{"name":"drumath2237"},"bugs":{"url":"https://github.com/drumath2237/BabyuewJS/issues"},"readme":"# BabyuewJS\r\n\r\n[English](./README.md) | 日本語\r\n\r\n![npm](https://img.shields.io/npm/v/%40babyuewjs%2Fcore) ![NPM](https://img.shields.io/npm/l/%40babyuewjs%2Fcore)\r\n\r\n## About\r\n\r\nBabyuewJSはBabylon.jsとVue3を使ってWeb 3Dアプリケーションを開発するためのライブラリです。\r\nBabylon.jsが備える3Dシーン構築・レンダリングのための機能と、Vue3が備えるSFCやリアクティビティといった強力な機能とをかけ合わせることで、より良い開発体験を提供します。\r\n\r\n## Enviroment\r\n\r\n- Babylon.js 6.x\r\n- Vue3\r\n- TypeScript\r\n- Vite 4.x\r\n\r\n## Install\r\n\r\n```bash\r\n# npm\r\nnpm install -D @babyuewjs/core\r\n\r\n# yarn\r\nyarn add -D @babyuewjs/core\r\n\r\n# pnpm\r\npnpm add -D @babyuewjs/core\r\n```\r\n\r\n## Usage\r\n\r\n既存のVue3を使用したプロジェクトにおいて、`BabyuewScene`コンポーネントを配置することでBabylon.jsのシーンをレンダリングするためのcanvasが配置され、\r\nその`slots`にBabylon.jsのオブジェクト用コンポーネントを配置していきます。\r\n\r\n```html\r\n<script setup lang=\"ts\">\r\n  import {\r\n    BabyuewScene,\r\n    ArcRotateCamera,\r\n    DirectionalLight,\r\n    Box,\r\n  } from \"@babyuewjs/core\";\r\n</script>\r\n\r\n<template>\r\n  <BabyuewScene antialias>\r\n    <ArcRotateCamera\r\n      name=\"camera\"\r\n      :alpha=\"Math.PI / 3\"\r\n      :beta=\"Math.PI / 3\"\r\n      :radius=\"0.5\"\r\n      :target=\"[0, 0.05, 0]\"\r\n    >\r\n    </ArcRotateCamera>\r\n\r\n    <DirectionalLight\r\n      name=\"light\"\r\n      :direction=\"[0.25, -1, -0.6]\"\r\n      :intensity=\"1\"\r\n    ></DirectionalLight>\r\n\r\n    <Box name=\"my-box\" :position=\"[0, 0.05, 0]\" :size=\"0.1\"> </Box>\r\n  </BabyuewScene>\r\n</template>\r\n```\r\n\r\n## Author\r\n\r\n[@drumath2237](https://github.com/drumath2237)\r\n","readmeFilename":"README.ja.md","keywords":["babylonjs","vue","vue3","webgl","typescript"],"license":"Apache-2.0"}