mirror of
https://github.com/allankoechke/slint.git
synced 2026-12-04 09:44:49 +00:00
Continue to run build-on-demand.mjs to permit a fallback to a from-source build for users who run `npm install slint-ui` on a platform where we don't provide binaries for (such as linux-armv7/64). However, this is only done when run from the installed package, not from git. From git, the prestart trick remains in use.
14 lines
283 B
JSON
14 lines
283 B
JSON
{
|
|
"name": "memory",
|
|
"version": "1.9.0",
|
|
"main": "main.js",
|
|
"type": "module",
|
|
"dependencies": {
|
|
"slint-ui": "workspace:*"
|
|
},
|
|
"scripts": {
|
|
"start": "node .",
|
|
"prestart": "cd ../../api/node/ && pnpm run build && pnpm compile"
|
|
}
|
|
}
|