Skip to content

Commit

Permalink
get setViewport working
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman committed Jan 11, 2024
1 parent 3963b2b commit 8c22343
Show file tree
Hide file tree
Showing 7 changed files with 421 additions and 48 deletions.
16 changes: 16 additions & 0 deletions build/tools/serve.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import {spawn} from 'child_process';

spawn('npm', [
'run',
'watch',
], {
shell: true,
stdio: 'inherit',
});

spawn('./node_modules/.bin/servez', [
], {
shell: true,
stdio: 'inherit',
});

229 changes: 226 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"lint": "eslint \"src/**/*.{js,ts,tsx}\"",
"pre-push": "npm run lint && npm run build && npm run test",
"watch": "rollup -c -w",
"start": "rollup -c rollup.config.js -w",
"start": "node build/tools/serve.js",
"test": "node test/puppeteer.js"
},
"repository": {
Expand Down Expand Up @@ -56,9 +56,13 @@
"mocha": "^10.2.0",
"puppeteer": "^21.0.1",
"rollup": "^3.27.1",
"servez": "^2.1.2",
"tslib": "^2.6.1",
"typedoc": "^0.24.8",
"typescript": "^5.1.6",
"wgsl_reflect": "github:brendan-duncan/wgsl_reflect#713ad94"
},
"dependencies": {
"webgpu-utils": "^1.3.0"
}
}
Loading

0 comments on commit 8c22343

Please sign in to comment.