-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathpackage.json
94 lines (94 loc) · 4.91 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"name": "ts-for-gir",
"version": "4.0.0-beta.19",
"description": "Typescript .d.ts generator from GIR for gjs",
"type": "module",
"private": true,
"engines": {
"node": ">=18"
},
"scripts": {
"start": "yarn ts-for-gir",
"start:dev": "yarn workspace @ts-for-gir/cli run start:dev",
"lint": "yarn workspaces foreach -v --all --include '@ts-for-gir/*' run lint",
"update:submodules": "git submodule foreach git pull",
"update:packages": "yarn upgrade-interactive",
"update": "yarn update:submodules && yarn update:packages",
"publish:app:next": "yarn workspaces foreach -v --all --parallel --no-private --include '@ts-for-gir/*' --include '@gi.ts/*' npm publish --tolerate-republish --tag next --access public",
"publish:app:latest": "yarn workspaces foreach -v --all --parallel --no-private --include '@ts-for-gir/*' --include '@gi.ts/*' npm publish --tolerate-republish --tag latest --access public",
"publish:types:next": "yarn workspaces foreach -v --all --parallel --no-private --include '@girs/*' npm publish --tolerate-republish --tag next --access public",
"publish:types:latest": "yarn workspaces foreach -v --all --parallel --no-private --include '@girs/*' npm publish --tolerate-republish --tag latest --access public",
"test": "yarn build && yarn test:girs:packages && yarn test:examples && yarn test:tests",
"test:girs:packages": "yarn build:types:packages && yarn validate:types:packages",
"test:girs:packages:gtk4": "yarn build:types:packages:gtk4 && yarn validate:types:packages",
"test:examples": "yarn build:examples && yarn validate:examples && yarn test:examples:cli-apps",
"test:examples:cli-apps": "yarn workspace @ts-for-gir-example/glib-2-spawn-command-example run start && yarn workspace @ts-for-gir-example/gio-2-cat-example run start",
"test:tests": "yarn workspaces foreach -v --all --parallel --include '@ts-for-gir-test/*' run test",
"build": "yarn workspaces foreach --recursive --topological-dev --parallel --verbose --from @ts-for-gir/cli run build",
"build:examples": "yarn workspaces foreach -v --all --include '@ts-for-gir-example/*' --parallel run build",
"build:all": "yarn build && yarn build:examples",
"build:types:packages:no-install": "yarn ts-for-gir generate --configName='.ts-for-gir.packages-all.rc.js'",
"build:types:packages": "yarn build:types:packages:no-install && yarn install",
"build:types:packages:gtk4:no-install": "yarn ts-for-gir generate --configName='.ts-for-gir.packages-gtk4.rc.js'",
"build:types:packages:gtk4": "yarn build:types:packages:gtk4:no-install && yarn install",
"copy:girs": "yarn start copy --configName='.ts-for-gir.copy-all.rc.js' --verbose",
"validate": "yarn workspaces foreach -v --all --parallel run validate && yarn validate:types:packages",
"validate:types": "yarn workspaces foreach -v --all --parallel run validate:types",
"validate:examples": "yarn workspaces foreach -v --all --include '@ts-for-gir-example/*' --parallel run validate",
"validate:types:packages": "yarn workspaces foreach -v --all --parallel --include '@girs/*' run test",
"clear": "yarn clear:build && yarn clear:types:packages",
"clear:build": "yarn workspaces foreach -v --all --include '@ts-for-gir/*' run clear:build",
"clear:types:packages": "rimraf ./types/*",
"clear:examples": "yarn workspaces foreach -v --all --include '@ts-for-gir-example/*' --include '*-example' --parallel run clear",
"clear:all": "yarn clear && yarn clear:examples",
"watch": "concurrently 'yarn:watch:*'",
"watch:cli": "yarn workspace @ts-for-gir/cli run watch",
"watch:lib": "yarn workspace @ts-for-gir/lib run watch",
"watch:generator-base": "yarn workspace @ts-for-gir/generator-base run watch",
"watch:generator-typescript": "yarn workspace @ts-for-gir/generator-typescript run watch",
"watch:generator-html-doc": "yarn workspace @ts-for-gir/generator-html-doc run watch"
},
"repository": {
"type": "git",
"url": "git+https://github.com/gjsify/ts-for-gir.git"
},
"author": "Pascal Garber <pascal@artandcode.studio>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/gjsify/ts-for-gir/issues"
},
"homepage": "https://github.com/gjsify/ts-for-gir#readme",
"keywords": [
"gjs",
"typescript",
"generate",
"gir",
"gobject-introspection",
"gnome",
"gtk",
"glib",
"gobject",
"dts",
"type definitions"
],
"devDependencies": {
"@eslint/js": "^9.17.0",
"@ts-for-gir/cli": "workspace:^",
"@typescript-eslint/eslint-plugin": "^8.19.0",
"@typescript-eslint/parser": "^8.19.0",
"concurrently": "^9.1.2",
"eslint": "^9.17.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"prettier": "^3.4.2",
"rimraf": "^6.0.1",
"typescript": "^5.6.3"
},
"workspaces": [
"examples/*",
"tests/*",
"packages/*",
"types/*"
],
"packageManager": "yarn@4.6.0"
}