mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-16 23:08:05 +08:00
Desktop: Remove editor from wasm wrapper (#3023)
* Add a few useful npm scripts for native * Allow compiler to prune editor from wasm wrapper in native builds * Fix warnings * Review cleanup * Fix npm desktop build script names
This commit is contained in:
@@ -4,13 +4,15 @@
|
||||
"scripts": {
|
||||
"---------- DEV SERVER ----------": "",
|
||||
"start": "cd frontend && npm start",
|
||||
"start-desktop": "cd frontend && npm run build-native && cargo run -p graphite-desktop",
|
||||
"start-desktop": "cd frontend && npm run build-native-dev && cargo run -p graphite-desktop",
|
||||
"profiling": "cd frontend && npm run profiling",
|
||||
"production": "cd frontend && npm run production",
|
||||
"---------- BUILDS ----------": "",
|
||||
"build-dev": "cd frontend && npm run build-dev",
|
||||
"build-profiling": "cd frontend && npm run build-profiling",
|
||||
"build": "cd frontend && npm run build",
|
||||
"build-desktop": "cd frontend && npm run build-native && cargo build -r -p graphite-desktop",
|
||||
"build-desktop-dev": "cd frontend && npm run build-native-dev && cargo build -p graphite-desktop",
|
||||
"---------- UTILITIES ----------": "",
|
||||
"lint": "cd frontend && npm run lint",
|
||||
"lint-fix": "cd frontend && npm run lint-fix"
|
||||
|
||||
Reference in New Issue
Block a user