generated from tropy/tropy-plugin-example
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
88 lines (88 loc) · 2.52 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
{
"name": "tropiiify",
"productName": "tropiiify",
"version": "0.3.3",
"description": "A Tropy plugin for exporting IIIF collections",
"icon": "icon.svg",
"main": "index.js",
"type": "commonjs",
"scripts": {
"test": "electron-mocha --renderer test",
"lint": "eslint --color src test",
"build": "rollup -c rollup.config.js",
"watch": "rollup -c -w rollup.config.mjs"
},
"repository": {
"type": "git",
"url": "git+https://github.com/martimpassos/tropiiify.git"
},
"keywords": [
"tropy",
"plugin"
],
"license": "AGPL-3.0",
"bugs": {
"url": "https://github.com/martimpassos/tropiiify/issues"
},
"homepage": "https://github.com/martimpassos/tropiiify#readme",
"hooks": {
"export": true,
"import": false
},
"options": [
{
"field": "collectionName",
"label": "Collection Name",
"default": "My IIIF Collection",
"placeholder": "My IIIF Collection",
"hint": "The exported collection's label",
"required": true
},
{
"field": "baseId",
"label": "IIIF base id",
"default": "http://localhost:8887/",
"placeholder": "http://localhost:8887/",
"hint": "The URL prefix to use in the exported manifests and collections. This should be a publicly accessible web location"
},
{
"field": "homepageLabel",
"label": "Homepage Label",
"default": "Object homepage",
"hint": "The label to use for the manifests Homepage section"
},
{
"field": "requiredStatementLabel",
"label": "Required Statement Label",
"default": "Attribution",
"hint": "The label to use for the manifests Required Statement section"
},
{
"field": "requiredStatementText",
"label": "Required Statement Text",
"default": "Provided by",
"placeholder": "Provided by",
"hint": "Text to prepend to the 'source' property value"
},
{
"field": "itemTemplate",
"label": "Item template",
"placeholder": "Select Template",
"type": "template",
"hint": "The template determines how to export the IIIF manifest"
}
],
"devDependencies": {
"@rollup/plugin-commonjs": "^22.0.2",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^13.3.0",
"electron": "^18.2.2",
"electron-mocha": "^11.0.2",
"eslint": "^8.14.0",
"rollup": "^2.72.1",
"rollup-plugin-license": "^2.7.0"
},
"dependencies": {
"iiif-builder": "https://pkg.csb.dev/IIIF-Commons/iiif-builder/commit/d9a1e3fe/iiif-builder"
}
}