-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
123 lines (123 loc) · 5.05 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
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
{
"name": "opf-carrus",
"version": "1.1.0-15",
"buildDate": 1636361104251,
"license": "MIT",
"homepage": "https://www.electron.build/configuration/configuration#Metadata-homepage",
"author": {
"name": "Open Preservation Foundation",
"email": "[email protected]"
},
"engines": {
"node": ">=12"
},
"build": {
"productName": "OPF Carrus",
"appId": "opf-carrus",
"copyright": "Copyright © 2020 https://github.com/openpreserve/",
"target": "NSIS",
"win": {
"icon": "assets/icon.png",
"publisherName": "https://github.com/openpreserve/"
},
"directories": {
"buildResources": "src/components/assets"
},
"linux": {
"target": [
"deb",
"snap"
],
"icon": "assets/icon.png",
"category": "Utility"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true
},
"mac": {
"category": "public.app-category.utilities",
"icon": "assets/icon.png",
"target": "dmg"
},
"extraResources": [
"PAR",
"libs",
"config",
"translations",
"./node_modules/fido"
]
},
"scripts": {
"update-version": "npm --allow-same-version --no-git-tag-version version 1.1.0",
"update-version-prerelease": "npm --no-git-tag-version version prerelease",
"update-date": "node -e \"const dateTime = require('moment')().format('x'); require('child_process').execSync(`json -I -f package.json -e \"this.buildDate=${dateTime}\";`)",
"update-package": "yarn update-version-prerelease && yarn update-date",
"dev": "yarn update-package && electron-webpack dev",
"compile": "electron-webpack",
"dist": "yarn compile && electron-builder",
"dist:dir": "yarn dist --dir -c.compression=store -c.mac.identity=null",
"dist:linux": "yarn dist --linux",
"dist:mac": "yarn dist --mac",
"fido": "yarn clone && yarn fido-setup",
"fido:mac": "yarn clone && yarn fido-setup:mac",
"clone": "git clone https://github.com/openpreserve/fido.git ./libs/fido && cd ./libs/fido && rm -rf .git",
"fido-setup": "cd ./libs/fido && (python setup.py install || (cd ../.. && rmdir \"./libs/fido\" /s /q && exit 1))",
"fido-setup:mac": "cd ./libs/fido && (python3 setup.py install || (cd ../.. && rm -rf \"./libs/fido\" && exit 1))",
"jhove": "cd ./libs && java -DINSTALL_PATH=%cd%/libs/jhove -jar jhove-latest.jar -options-system && del jhove-latest.jar",
"jhove:linux": "cd ./libs && java -DINSTALL_PATH=$(pwd)/jhove -jar jhove-latest.jar -options-system && rm jhove-latest.jar",
"jhove:mac": "cd ./libs && java -DINSTALL_PATH=$(pwd)/jhove -jar jhove-latest.jar -options-system && rm jhove-latest.jar",
"jhove-download": "cd ./libs && wget http://software.openpreservation.org/rel/jhove-latest.jar",
"veraPDF-download": "cd ./libs && wget https://software.verapdf.org/rel/verapdf-installer.zip",
"veraPDF-unzip": "cd ./libs && powershell Expand-Archive -Path verapdf-installer.zip -DestinationPath %cd%/libs/veraPDF && del verapdf-installer.zip",
"veraPDF-unzip:linux": "cd ./libs && unzip verapdf-installer.zip && rm -rf verapdf-installer.zip",
"veraPDF-unzip:mac": "cd ./libs && unzip verapdf-installer.zip",
"veraPDF": "cd ./libs/veraPDF && java -DINSTALL_PATH=%cd%/libs/veraPDF -jar verapdf-greenfield-1.18.6/verapdf-izpack-installer-1.18.6.jar -options-system && rd /s /q verapdf-greenfield-1.18.6",
"veraPDF:linux": "cd ./libs && java -DINSTALL_PATH=$(pwd)/veraPDF -jar verapdf-greenfield-1.16.1/verapdf-izpack-installer-1.16.1.jar -options-system && rm -rf verapdf-greenfield-1.16.1",
"veraPDF:mac": "cd ./libs && java -DINSTALL_PATH=$(pwd)/veraPDF -jar verapdf-greenfield-1.16.1/verapdf-izpack-installer-1.16.1.jar -options-system && rm -rf verapdf-greenfield-1.16.1",
"jpylyzer": "git clone https://github.com/openpreserve/jpylyzer.git ./libs/jpylyzer && cd ./libs/jpylyzer && rm -rf .git"
},
"dependencies": {
"@material-ui/core": "^4.11.0",
"@material-ui/icons": "^4.9.1",
"@types/valid-url": "^1.0.3",
"bootstrap": "^4.5.3",
"clipboard-polyfill": "^3.0.1",
"file-type": "^16.3.0",
"i18next": "^19.8.3",
"jquery": "^3.5.1",
"json": "^11.0.0",
"mime-types": "^2.1.28",
"moment": "^2.29.1",
"node-fetch": "^2.6.1",
"os-locale": "^5.0.0",
"python-shell": "^2.0.3",
"react": "17.0.1",
"react-dom": "17.0.1",
"react-dropzone": "^11.2.4",
"react-i18next": "^11.7.3",
"react-redux": "^7.2.2",
"react-router-dom": "^5.2.0",
"reactstrap": "^8.7.1",
"redux": "^4.0.5",
"request": "^2.88.2",
"source-map-support": "0.5.9",
"valid-url": "^1.0.9",
"validator": "^13.5.2"
},
"resolutions": {
"upath": "1.0.5"
},
"devDependencies": {
"@babel/preset-react": "7.0.0",
"babel-eslint": "^10.1.0",
"electron": "2.0.9",
"electron-builder": "20.28.1",
"electron-webpack": "2.1.2",
"electron-webpack-eslint": "3.0.0",
"eslint-config-airbnb": "18.2.0",
"eslint-config-airbnb-bundle": "3.0.0",
"eslint-plugin-react": "7.21.5",
"webpack": "4.16.5"
}
}