slint/api/node/package.json
Simon Hausmann 51282976db Remove type-check from api/node
tsc is already invoked during the CI compile step, where it checks type.

For the tsc invocation to work, we need to build the Rust module first, which slows down the fmt_lint_typecheck CI job.
2024-12-19 13:00:10 +01:00

68 lines
2 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": "5.0.0",
"@biomejs/biome": "1.9.4",
"@types/capture-console": "1.0.5",
"@types/node": "20.16.10",
"ava": "6.2.0",
"capture-console": "1.0.2",
"jimp": "1.6.0",
"ts-node": "10.9.2",
"typedoc": "0.27",
"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 --readme cover.md typescript/index.ts && cargo about generate thirdparty.hbs -o docs/thirdparty.html",
"check": "biome check",
"format": "biome format",
"format:fix": "biome format --write",
"lint": "biome lint",
"lint:fix": "biome lint --fix",
"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.18.4"
}
}