Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
155 lines (155 loc) · 5.85 KB
/
Copy pathpackage.json
File metadata and controls
155 lines (155 loc) · 5.85 KB
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
{
"name": "@learn6502/app-gnome",
"version": "0.8.0",
"description": "Learn 6502 assembly by developing games on a virtual console",
"main": "dist/main.js",
"type": "module",
"private": true,
"gjsify": {
"app": "gjs",
"shebang": "${env:GJS_CONSOLE:-/usr/bin/env -S gjs} -m",
"bundler": {
"input": "src/main.ts",
"output": {
"minify": false
},
"plugins": [
{
"name": "@gjsify/vite-plugin-blueprint",
"options": {
"minify": true
}
},
{
"name": "@gjsify/vite-plugin-gettext",
"export": "msgfmtPlugin",
"options": {
"poDirectory": "../translations",
"outputDirectory": "./data/metainfo",
"domain": "eu.jumplink.Learn6502",
"format": "xml",
"filename": "eu.jumplink.Learn6502.metainfo.xml",
"templateFile": "./data/metainfo/eu.jumplink.Learn6502.metainfo.xml.in",
"useLocaleStructure": false,
"removeComments": true
}
}
]
},
"loaders": {
".ui": "text",
".asm": "text",
".lang": "text",
".xml": "text"
},
"defineFromPackageJson": {
"__PACKAGE_VERSION__": {
"field": "version"
}
},
"defineFromEnv": {
"__APPLICATION_ID__": {
"env": "APPLICATION_ID",
"default": "eu.jumplink.Learn6502"
},
"__RESOURCES_PATH__": {
"env": "RESOURCES_PATH",
"default": "/eu/jumplink/Learn6502"
},
"__PREFIX__": {
"env": "PREFIX",
"default": "."
},
"__LIBDIR__": {
"env": "LIBDIR",
"default": "./lib"
},
"__DATADIR__": {
"env": "DATADIR",
"default": "./data"
},
"__BINDIR__": {
"env": "BINDIR",
"default": "."
},
"__GJS_CONSOLE__": {
"env": "GJS_CONSOLE",
"default": "/usr/bin/env -S gjs"
},
"__PKGDATADIR__": {
"env": "PKGDATADIR",
"default": "./data"
}
},
"storybook": {
"applicationId": "eu.jumplink.Learn6502.Storybook",
"title": "Learn6502 Storybook",
"globals": "auto,dom"
}
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"clear": "gjsify run clear:dist && gjsify run clear:resources && gjsify run clear:settings && gjsify run clear:settings:flatpak && gjsify run clear:locales",
"clear:dist": "rm -f eu.jumplink.Learn6502",
"clear:resources": "rm -rf data/eu.jumplink.Learn6502.data.gresource",
"clear:settings": "GSETTINGS_SCHEMA_DIR=$PWD/data/schemas gsettings reset-recursively eu.jumplink.Learn6502",
"clear:settings:flatpak": "flatpak run --command=gsettings eu.jumplink.Learn6502 reset-recursively eu.jumplink.Learn6502",
"clear:locales": "rm -rf data/locale",
"build:gjs": "gjsify build src/main.ts --channel \"${GJSIFY_CHANNEL:-web}\" --outfile \"${OUTDIR:-.}/${APPLICATION_ID:-eu.jumplink.Learn6502}\"",
"build:resources": "gjsify gresource data/eu.jumplink.Learn6502.data.gresource.xml --sourcedir data",
"build:schema": "gjsify gsettings data --targetdir data/schemas --strict",
"build:locale": "[ \"${BUILD_MODE:-}\" = \"flatpak\" ] || (rm -rf ${DATADIR:-./data}/locale && cp -r ../translations/dist/locale ${DATADIR:-./data}/locale) 2>/dev/null || true",
"build:with-deps": "gjsify workspace @learn6502/app-gnome build --with-dependencies",
"build:ship:gjs": "gjsify build src/main.ts --channel \"${GJSIFY_CHANNEL:-web}\" --app gjs --outfile dist/gjs/${APPLICATION_ID:-eu.jumplink.Learn6502}",
"build:ship:node": "gjsify build src/main.ts --channel \"${GJSIFY_CHANNEL:-web}\" --app node --outfile dist/node/${APPLICATION_ID:-eu.jumplink.Learn6502}.mjs",
"build:ship": "gjsify run build:resources && gjsify run build:schema && gjsify run build:ship:gjs && gjsify run build:ship:node",
"build": "gjsify run build:gjs && gjsify run build:resources && gjsify run build:schema && gjsify run build:locale",
"check": "gjsify run check:typescript && gjsify run check:metainfo",
"check:typescript": "gjsify tsc",
"start:app": "GSETTINGS_SCHEMA_DIR=$PWD/data/schemas gjsify run eu.jumplink.Learn6502",
"debug:app": "GTK_DEBUG=interactive GSETTINGS_SCHEMA_DIR=$PWD/data/schemas gjsify run eu.jumplink.Learn6502",
"start": "gjsify run start:app",
"check:metainfo": "flatpak run --command=flatpak-builder-lint org.flatpak.Builder appstream data/metainfo/eu.jumplink.Learn6502.metainfo.xml",
"storybook": "gjsify storybook"
},
"author": "Pascal Garber <pascal@jumplink.eu>",
"license": "GPL-3.0",
"optionalDependencies": {
"@gjsify/gtk-host": "^0.63.0",
"@gjsify/gtk-runtime-darwin-arm64": "^0.63.0",
"@gjsify/gtk-runtime-darwin-x64": "^0.63.0",
"@gjsify/gtk-runtime-win32-x64": "^0.63.0",
"@gjsify/node-runtime-darwin-arm64": "^0.63.0",
"@gjsify/node-runtime-darwin-x64": "^0.63.0",
"@gjsify/node-runtime-win32-x64": "^0.63.0"
},
"devDependencies": {
"@gjsify/cli": "0.63.1-next.237",
"@gjsify/lightningcss-native": "^0.63.0",
"@gjsify/node-gi": "^0.63.0",
"@gjsify/rolldown-native": "^0.63.0",
"@gjsify/vite-plugin-blueprint": "^0.63.0",
"@gjsify/vite-plugin-gettext": "^0.63.0",
"typescript": "^6.0.3"
},
"dependencies": {
"@girs/adw-1": "5.4.0",
"@girs/gdk-4.0": "5.4.0",
"@girs/gdkpixbuf-2.0": "5.4.0",
"@girs/gio-2.0": "5.4.0",
"@girs/gjs": "5.4.0",
"@girs/glib-2.0": "5.4.0",
"@girs/gobject-2.0": "5.4.0",
"@girs/gtk-4.0": "5.4.0",
"@girs/gtksource-5": "5.4.0",
"@girs/javascriptcore-6.0": "5.4.0",
"@girs/pango-1.0": "5.4.0",
"@girs/webkit-6.0": "5.4.0",
"@gjsify/storybook": "^0.63.0",
"@learn6502/core": "^0.8.0",
"@learn6502/common-ui": "^0.8.0",
"@learn6502/learn": "^0.8.0",
"@learn6502/translations": "^0.8.0",
"@learn6502/ui": "^0.8.0"
}
}