mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-12-23 10:11:54 +00:00
* 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
20 lines
930 B
JSON
20 lines
930 B
JSON
{
|
|
"description": "A convenience package for calling the real package.json in ./frontend",
|
|
"private": true,
|
|
"scripts": {
|
|
"---------- DEV SERVER ----------": "",
|
|
"start": "cd frontend && npm start",
|
|
"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"
|
|
}
|
|
}
|