UNPKG

@wasm-tool/rollup-plugin-rust

Version:

Rollup plugin for bundling and importing Rust crates.

53 lines (52 loc) 1.48 kB
{ "name": "@wasm-tool/rollup-plugin-rust", "author": "Pauan <pauanyu+github@pm.me>", "description": "Rollup plugin for bundling and importing Rust crates.", "version": "3.0.4", "license": "MIT", "repository": "github:wasm-tool/rollup-plugin-rust", "homepage": "https://github.com/wasm-tool/rollup-plugin-rust#readme", "bugs": "https://github.com/wasm-tool/rollup-plugin-rust/issues", "type": "module", "main": "src/index.js", "scripts": { "test:foo": "cd tests/src/foo && yarn install", "test": "yarn test:foo && cd tests && rimraf dist/js && rollup --config", "test:watch": "yarn test:foo && cd tests && rimraf dist/js && rollup --config --watch", "test:serve": "live-server tests/dist" }, "directories": { "example": "example" }, "keywords": [ "rollup-plugin", "vite-plugin", "rust-wasm", "wasm", "rust", "rollup", "plugin", "webassembly", "wasm-bindgen", "wasm-pack" ], "dependencies": { "@iarna/toml": "^2.2.5", "@rollup/pluginutils": "^5.1.4", "chalk": "^5.4.1", "glob": "^11.0.1", "node-fetch": "^3.3.2", "rimraf": "^6.0.1", "tar": "^7.4.3" }, "devDependencies": { "@rollup/plugin-commonjs": "^28.0.2", "@rollup/plugin-node-resolve": "^16.0.0", "binaryen": "^121.0.0", "live-server": "^1.2.2", "rollup": "^4.30.1" }, "peerDependencies": { "binaryen": "^121.0.0" } }