Skip to content

Commit

Permalink
fix: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ponderingdemocritus committed Aug 16, 2024
1 parent af61abf commit 24af632
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 15 deletions.
1 change: 1 addition & 0 deletions packages/torii-wasm/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
dist
pkg
**/*/target
23 changes: 8 additions & 15 deletions packages/torii-wasm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,22 @@
"description": "Torii wasm bindings for Dojo onchain game engine",
"author": "",
"license": "MIT",
"main": "./pkg/node/dojo_c.js",
"browser": "./pkg/web/dojo_c.js",
"main": "pkg/node/dojo_c.js",
"browser": "pkg/web/dojo_c.js",
"type": "module",
"scripts": {
"build-wasm": "sh ./build.sh",
"build": "npm run build-wasm && tsc"
},
"files": [
"./pkg/web/dojo_c_bg.wasm",
"./pkg/web/dojo_c.js",
"./pkg/web/dojo_c_bg.js",
"./pkg/web/dojo_c.d.ts",
"./pkg/node/dojo_c_bg.wasm",
"./pkg/node/dojo_c.js",
"./pkg/node/dojo_c_bg.js",
"./pkg/node/dojo_c.d.ts"
"pkg/**/*"
],
"module": "./pkg/web/dojo_c.js",
"types": "./pkg/web/dojo_c.d.ts",
"module": "pkg/web/dojo_c.js",
"types": "pkg/web/dojo_c.d.ts",
"sideEffects": [
"./pkg/web/dojo_c.js",
"./pkg/node/dojo_c.js",
"./pkg/snippets/*"
"pkg/web/dojo_c.js",
"pkg/node/dojo_c.js",
"pkg/snippets/*"
],
"devDependencies": {
"tsup": "^8.1.0",
Expand Down

0 comments on commit 24af632

Please sign in to comment.