Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
76 lines (76 loc) · 1.96 KB
/
Copy pathpackage.json
File metadata and controls
76 lines (76 loc) · 1.96 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
{
"name": "publiccode-schema",
"version": "0.2.0",
"description": "JSON Schema, validator and tools for publiccode.yml files, with the same rules as publiccode-parser-go",
"license": "AGPL-3.0-or-later",
"type": "module",
"keywords": [
"publiccode",
"publiccode.yml",
"json-schema",
"ajv",
"validator",
"open-source",
"public-sector",
"developers-italia"
],
"repository": {
"type": "git",
"url": "git+https://github.com/teamdigitale/publiccode-json-schema.git"
},
"homepage": "https://github.com/teamdigitale/publiccode-json-schema#readme",
"bugs": {
"url": "https://github.com/teamdigitale/publiccode-json-schema/issues"
},
"engines": {
"node": ">=18"
},
"sideEffects": false,
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/types/src/index.d.ts",
"exports": {
".": {
"types": "./dist/types/src/index.d.ts",
"import": "./dist/index.js"
},
"./validator": {
"types": "./dist/types/src/validator/index.d.ts",
"import": "./dist/validator/index.js"
},
"./data/*": "./data/*",
"./package.json": "./package.json"
},
"files": [
"dist",
"data/publiccode-schema",
"data/form-schema",
"data/countries",
"data/vocab",
"docs"
],
"scripts": {
"validate": "bun run ./scripts/validate-file.ts",
"gen": "bun run ./scripts/generateSchemaFiles.ts",
"vocab": "cd scripts/vocab && go run . ../../data/vocab",
"test": "bun test",
"typecheck": "tsc --noEmit -p .",
"build": "bun run ./scripts/build.ts",
"pack:check": "npm pack --dry-run",
"prepublishOnly": "bun run typecheck && bun test && bun run build"
},
"dependencies": {
"ajv": "^8.17.1",
"ajv-formats": "^3.0.1"
},
"devDependencies": {
"@types/bun": "latest",
"fluent-json-schema": "^6.0.0",
"typescript": "^5.9.3",
"yaml": "^2.8.0"
},
"publishConfig": {
"access": "public",
"provenance": true
}
}