Skip to content

Commit

Permalink
feat: init samples and packages (Orillusion#85)
Browse files Browse the repository at this point in the history
basic sample index, load all demos in /samples
packages:
- internal extenstions: stats, physics, media, post
- external libs: ammo, draco
  • Loading branch information
lslzl3000 authored May 2, 2023
1 parent 2a169f7 commit a510a56
Showing 44 changed files with 15,477 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ yarn.lock
package-lock.json

# production
/dist
dist
/docs

# misc
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -72,7 +72,7 @@
</head>

<body>
<script type="module" src="/sample/index.ts"></script>
<script type="module" src="/samples/index.ts"></script>
</body>

</html>
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@orillusion/core",
"version": "0.5.0",
"version": "0.6.0",
"author": "Orillusion",
"description": "Orillusion WebGPU Engine",
"main": "./dist/orillusion.umd.js",
@@ -25,12 +25,12 @@
"test": "electron test/ci/main.js",
"test:ci": "xvfb-maybe -- electron test/ci/main.js",
"test:install": "pnpm i electron@npm:electron-nightly@latest xvfb-maybe -O",
"docs": "npm run docs:core && npm run docs:physics && npm run docs:media",
"docs": "npm run docs:core && npm run docs:physics && npm run docs:media && npm run docs:stats",
"docs:typedoc": "npx typedoc --plugin typedoc-plugin-markdown --plugin ./script/typedoc-plugin-not-exported.js --tsconfig tsconfig.build.json --gitRevision main --hideBreadcrumbs true --allReflectionsHaveOwnDocument true --readme none --excludeInternal --excludePrivate --excludeProtected --sort source-order --out",
"docs:core": "npm run docs:typedoc docs/api src/index.ts",
"docs:physics": "npm run docs:typedoc docs/physics src/libs/physics/index.ts",
"docs:media": "npm run docs:typedoc docs/media-extention src/libs/media-extention/index.ts",
"docs:stats": "npm run docs:typedoc docs/stats src/libs/stats/index.ts"
"docs:physics": "cd packages/physics && npm run docs",
"docs:media": "cd packages/media-extention && npm run docs",
"docs:stats": "cd packages/stats && npm run docs"
},
"devDependencies": {
"@webgpu/types": "^0.1.30",
Loading

0 comments on commit a510a56

Please sign in to comment.