nihilqui
Version:
Typescript .d.ts generator from GIR for gjs and node-gtk
43 lines (42 loc) • 1.31 kB
JSON
{
"name": "ts-for-gir-node-gtk-3-builder-example",
"version": "3.0.3",
"description": "",
"main": "main.ts",
"private": true,
"scripts": {
"build": "yarn build:types && yarn build:app",
"build:app": "yarn clear:ts && webpack --env production",
"build:types": "yarn ts-for-gir generate Gtk-3.0 -e node --noNamespace -t cjs",
"clear:types": "rm -rf ./@types",
"clear:ts": "rm -rf ./dist",
"clear": "yarn clear:ts && yarn clear:types",
"start": "yarn build && yarn start:app",
"start:app": "yarn node dist/main.js",
"watch": "yarn build:app --watch",
"validate": "yarn validate:types && yarn validate:app",
"validate:types": "tsc --project tsconfig.types.json",
"validate:app": "tsc --noEmit",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "Apache-2.0",
"engines": {
"node": ">=16"
},
"devDependencies": {
"@ts-for-gir/cli": "workspace:^",
"@types/node": "^18.16.16",
"fork-ts-checker-webpack-plugin": "^8.0.0",
"raw-loader": "^4.0.2",
"terser-webpack-plugin": "^5.3.9",
"ts-loader": "^9.4.3",
"typescript": "^5.1.3",
"webpack": "^5.85.0",
"webpack-cli": "^5.1.1",
"webpack-node-externals": "^3.0.0"
},
"dependencies": {
"node-gtk": "^0.11.0"
}
}