Files
slint/api/node/package.json
Nigel Breslaw a218c945ad Use Biome across monorepo and for Slintpad (#6080)
Puts a shared biome.json in the root.
Deletes the prettier config files.
Deletes the unused pre-commit hooks.
Applies biome linting and formatting to the slintpad project.
2024-09-11 13:07:55 +02:00

68 lines
1.9 KiB
JSON

{
"name": "slint-ui",
"version": "1.8.0",
"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": {
"@biomejs/biome": "1.8.3",
"@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",
"build:testing": "napi build --platform --js rust-module.cjs --dts rust-module.d.ts -c binaries.json --features testing && npm run compile",
"install": "node build-on-demand.mjs",
"docs": "npm run build && typedoc --hideGenerator --treatWarningsAsErrors --readme cover.md index.ts",
"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.16.5"
}
}