mirror of
https://github.com/allankoechke/slint.git
synced 2026-12-04 17:22:36 +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.
70 lines
2.0 KiB
JSON
70 lines
2.0 KiB
JSON
{
|
|
"name": "slint-ui",
|
|
"version": "1.9.0",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"homepage": "https://github.com/slint-ui/slint",
|
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/slint-ui/slint"
|
|
},
|
|
"keywords": [
|
|
"GUI",
|
|
"UI",
|
|
"native",
|
|
"node",
|
|
"Slint",
|
|
"desktop",
|
|
"embedded"
|
|
],
|
|
"description": "Slint is a declarative GUI toolkit to build native user interfaces for desktop and embedded applications.",
|
|
"devDependencies": {
|
|
"@ava/typescript": "4.1.0",
|
|
"@biomejs/biome": "1.9.3",
|
|
"@types/capture-console": "1.0.5",
|
|
"@types/node": "20.16.10",
|
|
"ava": "5.3.0",
|
|
"capture-console": "1.0.2",
|
|
"jimp": "0.22.8",
|
|
"ts-node": "10.9.2",
|
|
"typedoc": "0.25.13",
|
|
"typescript": "5.2.2"
|
|
},
|
|
"engines": {
|
|
"node": ">= 10"
|
|
},
|
|
"scripts": {
|
|
"artifacts": "napi artifacts",
|
|
"compile": "tsc --build",
|
|
"build": "napi build --platform --release --js rust-module.cjs --dts rust-module.d.ts -c binaries.json",
|
|
"build:debug": "napi build --platform --js rust-module.cjs --dts rust-module.d.ts -c binaries.json && pnpm compile",
|
|
"build:testing": "napi build --platform --js rust-module.cjs --dts rust-module.d.ts -c binaries.json --features testing && pnpm compile",
|
|
"install": "node build-on-demand.mjs",
|
|
"docs": "pnpm build && typedoc --hideGenerator --treatWarningsAsErrors --readme cover.md typescript/index.ts",
|
|
"check": "biome check",
|
|
"format": "biome format",
|
|
"format:fix": "biome format --write",
|
|
"lint": "biome lint",
|
|
"lint:fix": "biome lint --fix",
|
|
"test": "ava",
|
|
"type-check": "tsc --noEmit"
|
|
},
|
|
"ava": {
|
|
"extensions": {
|
|
"mts": "module"
|
|
},
|
|
"nodeArguments": [
|
|
"--loader=ts-node/esm"
|
|
],
|
|
"timeout": "2m",
|
|
"environmentVariables": {
|
|
"TS_NODE_PROJECT": "./__test__/tsconfig.json"
|
|
},
|
|
"workerThreads": false
|
|
},
|
|
"dependencies": {
|
|
"@napi-rs/cli": "2.16.5"
|
|
}
|
|
}
|