UNPKG

nihilqui

Version:

Typescript .d.ts generator from GIR for gjs and node-gtk

32 lines (31 loc) 1.11 kB
{ "name": "ts-for-gir-node-gtk-gtk-4-custom-widget-example", "version": "3.0.3", "description": "This example shows the usage of custom widgets and virtual functions in node-gtk", "main": "dist/index.js", "private": true, "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build:types": "yarn ts-for-gir generate Gtk-4.0 Gdk-4.0 Graphene-1.0 -e node", "build:app": "yarn node esbuild.js", "build": "yarn build:types && yarn build:app", "clear:types": "rm -rf ./@types", "clear:ts": "rm -rf ./dist", "clear": "yarn clear:ts && yarn clear:types", "start:app": "yarn node dist/index.js", "start": "yarn clear && yarn build && yarn start:app", "validate": "yarn validate:types && yarn validate:app", "validate:types": "tsc --project tsconfig.types.json", "validate:app": "tsc --noEmit" }, "author": "Pascal Garber <pascal@artandcode.studio>", "license": "MIT", "devDependencies": { "@ts-for-gir/cli": "workspace:^", "esbuild": "^0.17.19", "typescript": "^5.1.3" }, "dependencies": { "node-gtk": "^0.11.0" } }