-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
115 lines (115 loc) · 5.48 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
{
"dependencies": {
"aframe": "^1.6.0",
"aframe-orbit-controls": "^1.3.2",
"bootstrap": "^5.2.2",
"detect-browser": "5.3.0",
"hdr-canvas": "^0.0.13",
"highlight.js": "^11.10.0",
"howler": "^2.2.3",
"jquery": "^3.6.0",
"jquery-ui": "^1.13.2",
"js-cookie": "^3.0.5",
"manifesto.js": "^4.2.18",
"mirador": "ProjectMirador/mirador#5cb692ed31480c1e130f4a8715726688cb35796d",
"normalize.css": "^8.0.1",
"ol": "^10.0.0",
"ol-mapbox-style": "^12.0.0",
"pdfjs-dist": "^4.0.189",
"pdfobject": "2.3.0",
"stickybits": "^3.7.11",
"yargs": "^17.6.0",
"aos": "^2.3.4",
"elevator.js": "^1.0.1",
"enter-view": "^2.0.1",
"lg-fullscreen": "^1.2.1",
"lightgallery": "^2.8.2",
"photoswipe": "^5.4.4",
"wordcloud": "^1.2.3",
"img-comparison-slider": "^8.0.6",
"chroma-js": "^3.1.2",
"openseadragon": "^5.0.1",
"@annotorious/openseadragon": "^3.0.20"
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@fullhuman/postcss-purgecss": "^7.0.2",
"@gltf-transform/cli": "^4.0.0",
"@gltf-transform/core": "^4.0.0",
"@gltf-transform/extensions": "^4.0.0",
"@gltf-transform/functions": "^4.0.0",
"cors": "^2.8.5",
"doiuse": "^6.0.1",
"eslint": "~8.57.0",
"eslint-config-prettier": "~9.1.0",
"eslint-plugin-compat": "~6.0.0",
"eslint-plugin-json-es": "^1.5.7",
"eslint-plugin-prettier": "~5.2.1",
"eslint-plugin-toml": "^0.12.0",
"express": "^4.18.2",
"gltf-pipeline": "^4.1.0",
"gulp-cli": "^3.0.0",
"markdownlint-cli": "~0.43.0",
"mktemp": "~1.0.1",
"obj2gltf": "^3.1.6",
"patch-package": "^8.0.0",
"postcss": "^8.4.20",
"postcss-cli": "^11.0.0",
"postcss-discard-duplicates": "^7.0.0",
"postcss-import": "^16.0.0",
"postcss-inline-svg": "^6.0.0",
"postcss-utilities": "^0.8.4",
"prettier": "^3.0.0",
"puppeteer": "^23.1.0",
"purgecss": "^7.0.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"stylelint": "^16.3.0",
"stylelint-config-prettier": "^9.0.5",
"stylelint-config-sass-guidelines": "^12.0.0",
"stylelint-config-standard": "^36.0.0",
"stylelint-config-standard-scss": "^14.0.0",
"stylelint-no-unsupported-browser-features": "^8.0.1",
"stylelint-prettier": "^5.0.0",
"stylelint-scss": "^6.8.1",
"svgo": "^3.3.2",
"three": "^0.171.0",
"toml": "^3.0.0",
"xslt3": "^2.6.0",
"replace-in-file": "8.3.0"
},
"scripts": {
"check-generated-css": "stylelint --config ./themes/projektemacher-base/.stylelintrc-postbuild.yaml 'docs/css/*.css'",
"lint-scss": "stylelint 'assets/scss/*'",
"lint-js": "eslint 'assets/js/*'",
"lint-toml": "eslint --ext .toml i18n",
"lint": "yarn run lint-scss && yarn run lint-js && yarn run lint-toml",
"postbuild-lint": "yarn run check-generated-css",
"prepatch": "cp -rf $INIT_CWD/themes/projektemacher-base/patches $INIT_CWD",
"patch": "yarn run patch-package",
"postinstall": "yarn run prepatch && yarn run patch && yarn run postinstall-mirador && ls -al node_modules/mirador/dist",
"postinstall-mirador": "cd node_modules/mirador && yarn add -D @babel/plugin-proposal-private-property-in-object && yarn install && yarn run build",
"validate-iiif-gnu": "find docs -name manifest.json -print0 | xargs -r -0 -n1 yarn run eslint -c themes/projektemacher-base/.eslintrc.yml",
"validate-gjson-gnu": "find docs -name '*.gjson' -o -name '*.geojson' -print0 | xargs -r -0 -n1 yarn run eslint -c themes/projektemacher-base/.eslintrc.yml",
"validate-iiif-bsd": "find docs -name manifest.json -print0 | xargs -0 -n1 yarn run eslint -c themes/projektemacher-base/.eslintrc.yml",
"validate-gjson-bsd": "find docs -name '*.gjson' -o -name '*.geojson' -print0 | xargs -0 -n1 yarn run eslint -c themes/projektemacher-base/.eslintrc.yml",
"validate-iiif": "case $OSTYPE in darwin*) yarn run validate-iiif-bsd ;; linux*) yarn run validate-iiif-gnu ;; bsd*) yarn run validate-iiif-bsd ;; *) exit 100 ;; esac",
"validate-gjson": "case $OSTYPE in darwin*) yarn run validate-gjson-bsd ;; linux*) yarn run validate-gjson-gnu ;; bsd*) yarn run validate-gjson-bsd ;; *) exit 100 ;; esac",
"validate": "yarn run validate-iiif && yarn run validate-gjson",
"logo-projektemacher": "svgo --config Source\\ Files/svgo.config.js -i themes/projektemacher-base/Source\\ Files/Images/Laborant.svg -o static/images/laborant.svg",
"logo-monogram": "svgo -i themes/projektemacher-base/static/images/cm.svg -o static/images/cm.svg && cp static/images/cm.svg static/images/cm-black.svg",
"logo-monogram-black": "yarn run logo-monogram && replace-in-file 'fill-opacity:.5' 'fill-opacity:1.0' static/images/cm-black.svg && replace-in-file 'fill:#d40000' 'fill:#000000' static/images/cm-black.svg",
"logos": "yarn run logo-projektemacher && yarn run logo-monogram-black",
"background": "svgo --config Source\\ Files/svgo.config.js -i Source\\ Files/Background/Background.svg -o static/images/bg.svg",
"icons": "yarn run no-emoji && yarn run tagcloud",
"no-emoji": "svgo --config Source\\ Files/svgo.config.js -i Source\\ Files/Icons/No\\ Emoji.svg -o static/images/no-emoji.svg",
"tagcloud": "svgo --config Source\\ Files/svgo.config.js -i Source\\ Files/Icons/Tagcloud.svg -o static/images/tagcloud.svg",
"svgo": "yarn run background && yarn run icons && yarn run logos"
},
"overrides": {
"canvas": "npm:dry-uninstall"
},
"resolutions": {
"canvas": "npm:empty-npm-package"
}
}