@girs/json-1.0 1.7.1-3.0.0-beta.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/json-1.0.js ADDED
@@ -0,0 +1,8 @@
1
+
2
+
3
+ // @ts-expect-error
4
+ import Json from 'gi://Json?version=1.0';
5
+ export { Json };
6
+ export default Json;
7
+
8
+
package/package.json ADDED
@@ -0,0 +1,54 @@
1
+ {
2
+ "name": "@girs/json-1.0",
3
+ "version": "1.7.1-3.0.0-beta.12",
4
+ "description": "GJS TypeScript type definitions for Json-1.0, generated from library version 1.7.1",
5
+ "type": "module",
6
+ "module": "json-1.0.js",
7
+ "main": "json-1.0.js",
8
+ "typedoc": {
9
+ "entryPoint": "./json-1.0.d.ts",
10
+ "readmeFile": "./README.md",
11
+ "displayName": "Json-1.0",
12
+ "tsconfig": "./tsconfig.doc.json"
13
+ },
14
+ "exports": {
15
+ ".": {
16
+ "import": {
17
+ "types": "./json-1.0.d.ts",
18
+ "default": "./json-1.0.js"
19
+ },
20
+ "require": {
21
+ "types": "./json-1.0.d.cts",
22
+ "default": "./json-1.0.cjs"
23
+ }
24
+ }
25
+ },
26
+ "scripts": {
27
+ "test": "yarn test:esm && yarn test:cjs",
28
+ "test:esm": "tsc --noEmit json-1.0.d.ts",
29
+ "test:cjs": "tsc --noEmit json-1.0.d.cts"
30
+ },
31
+ "dependencies": {
32
+ "@girs/gio-2.0": "^2.75.1-3.0.0-beta.12",
33
+ "@girs/glib-2.0": "^2.75.1-3.0.0-beta.12",
34
+ "@girs/gobject-2.0": "^2.75.1-3.0.0-beta.12"
35
+ },
36
+ "devDependencies": {
37
+ "typescript": "^*"
38
+ },
39
+ "keywords": [
40
+ "Gir",
41
+ "TypeScript",
42
+ "Json-1.0"
43
+ ],
44
+ "author": "ts-for-gir",
45
+ "license": "Apache-2.0",
46
+ "repository": {
47
+ "type": "git",
48
+ "url": "git+https://github.com/gjsify/ts-for-gir.git"
49
+ },
50
+ "bugs": {
51
+ "url": "https://github.com/gjsify/ts-for-gir/issues"
52
+ },
53
+ "homepage": "https://github.com/gjsify/ts-for-gir#readme"
54
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "compilerOptions": {
3
+ // General settings for code interpretation
4
+ "target": "ESNext",
5
+ "module": "ESNext",
6
+ "experimentalDecorators": true,
7
+ "moduleResolution": "node",
8
+ "noEmit": true,
9
+ "noEmitOnError": false,
10
+ "baseUrl": "./",
11
+ "rootDir": ".",
12
+ // General settings for code generation
13
+ "removeComments": false,
14
+ "inlineSourceMap": false,
15
+ "inlineSources": false,
16
+ "newLine": "LF"
17
+ },
18
+ "include": ["./json-1.0.d.ts"]
19
+ }