Skip to content

Commit

Permalink
Merge pull request #45 from iosis-tech/better_NPM
Browse files Browse the repository at this point in the history
wasm fixes
  • Loading branch information
Okm165 authored Sep 29, 2024
2 parents 3589066 + 1256f89 commit fa52f3d
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 60 deletions.
2 changes: 2 additions & 0 deletions wasm_bindings/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ build_wasm_packages() {

# Run wasm-pack build with the specified features and output directory
wasm-pack build --out-dir "$output_dir" --target web --features "$features" --no-default-features
rm "$output_dir/.gitignore";
rm "$output_dir/README.md";
done
done
done
Expand Down
8 changes: 4 additions & 4 deletions wasm_bindings/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
"name": "swiftness",
"type": "module",
"description": "Swiftness CairoVM Verifier",
"version": "0.1.2",
"version": "0.1.22",
"license": "SEE LICENSE IN LICENSE",
"repository": {
"type": "git",
"url": "https://github.com/iosis-tech/swiftness"
"url": "git+https://github.com/iosis-tech/swiftness.git"
},
"files": [
"dist/*",
"swiftness.ts"
"dist/pkg/**/*"
],
"main": "dist/swiftness.js",
"types": "dist/swiftness.d.ts",
Expand All @@ -24,4 +24,4 @@
"build": "tsc && cp -r src/pkg dist",
"prepublishOnly": "npm run build"
}
}
}
Loading

0 comments on commit fa52f3d

Please sign in to comment.