-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
31 lines (31 loc) · 1.94 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
{
"dependencies": {
"compare_view": "^1.3.4"
},
"devDependencies": {
"ak-kaleidoscope": "^1.1.0",
"webxr-polyfill": "^2.0.3"
},
"overrides": {
"string-width": "^6.1.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",
"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"
}
}