mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-16 23:08:05 +08:00
* Migrate webpack to parcel * Always colour shell output * Fix typos * Fix updateImage function having undefined editorInstance * Readd webpack for deployment builds (licence checker) * Only use webpack for license generation * Re add typscript support * Fix cloudlare deploy * Bump wasm-pack version * Update ci script * Print versions in ci script * Use optional-dependencies for wasm-pack * Execute wget after rust install * Finding wasm-opt version * Print wasm-opt version * Revert test? * Try to revert * Deploy cloudflare via github actions * Fix indentation in ci script * Change project to graphite-dev * Trigger ci * Parcel ci (#1152) * CI Test * Add write permissions for pr * Manually add cloudflare ci comment to prs * Unskip cargo about * Make compile on new versions of npm * Add deployment script to rebuild editor.graphite.rs on tag creation * Remove deploy script * Comment out unused Svelte props causing warnings * Many small fixes, including fixing @ imports --------- Co-authored-by: hypercube <0hypercube@gmail.com> Co-authored-by: Keavon Chambers <keavon@keavon.com>
53 lines
1.4 KiB
TOML
53 lines
1.4 KiB
TOML
[package]
|
|
name = "graphite-wasm"
|
|
publish = false
|
|
version = "0.0.0"
|
|
rust-version = "1.66.0"
|
|
authors = ["Graphite Authors <contact@graphite.rs>"]
|
|
edition = "2021"
|
|
readme = "../../README.md"
|
|
homepage = "https://graphite.rs"
|
|
repository = "https://github.com/GraphiteEditor/Graphite"
|
|
license = "Apache-2.0"
|
|
|
|
[features]
|
|
tauri = ["ron"]
|
|
gpu = ["editor/gpu"]
|
|
default = []
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[dependencies]
|
|
editor = { path = "../../editor", package = "graphite-editor" }
|
|
document-legacy = { path = "../../document-legacy", package = "graphite-document-legacy" }
|
|
graph-craft = { path = "../../node-graph/graph-craft" }
|
|
log = "0.4"
|
|
graphene-core = { path = "../../node-graph/gcore", features = ["async", "std", "alloc"] }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
wasm-bindgen = { version = "0.2.84" }
|
|
serde-wasm-bindgen = "0.4.1"
|
|
js-sys = "0.3.55"
|
|
wasm-bindgen-futures = "0.4.33"
|
|
ron = {version = "0.8", optional = true}
|
|
bezier-rs = { path = "../../libraries/bezier-rs" }
|
|
|
|
[dev-dependencies]
|
|
wasm-bindgen-test = "0.3.22"
|
|
|
|
[package.metadata.wasm-pack.profile.dev]
|
|
wasm-opt = false
|
|
|
|
[package.metadata.wasm-pack.profile.dev.wasm-bindgen]
|
|
debug-js-glue = true
|
|
demangle-name-section = true
|
|
dwarf-debug-info = true
|
|
|
|
[package.metadata.wasm-pack.profile.release]
|
|
wasm-opt = ["-Os"]
|
|
|
|
[package.metadata.wasm-pack.profile.release.wasm-bindgen]
|
|
debug-js-glue = false
|
|
demangle-name-section = false
|
|
dwarf-debug-info = false
|