slint/api/node/package.json
2024-02-01 09:12:42 +00:00

60 lines
1.6 KiB
JSON

{
"name": "slint-ui",
"version": "1.4.1",
"main": "index.js",
"types": "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",
"@types/node": "^20.8.6",
"@types/node-fetch": "^2.6.7",
"ava": "^5.3.0",
"jimp": "^0.22.8",
"ts-node": "^10.9.1",
"typedoc": "^0.25.2",
"typescript": "^5.2.2"
},
"engines": {
"node": ">= 10"
},
"scripts": {
"artifacts": "napi artifacts",
"compile": "tsc",
"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 && npm run compile",
"install": "node build-on-demand.mjs",
"docs": "npm run build && typedoc --hideGenerator --treatWarningsAsErrors --readme cover.md index.ts",
"test": "ava"
},
"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"
}
}