Files
HugoBlox-kit/package.json
T
George Cushen 7b235ea453 feat: rewritten Figure shortcode supporting multi-resolutions
New shortcode supports
- enable re-usable *optimized* image assets from new primary media library location at `assets/images/`
- new behavior: load image from page dir falling back to media library at `assets/images/` and then to remote URI.
- multi-res support. leading to increased perf.
- custom ID for cross-refs
- efficient, vanilla (non-jQuery), MIT licensed image zooming
- FancyBox now only loaded for Gallery shortcode
- themeable SVG support
- native lazy loading

Experimental, may change.

BREAKING CHANGE:
Move any figure images (i.e. not the `sharing.*` image) from `static/media/` to `assets/images/`

See #2164
2021-02-14 22:59:12 +00:00

41 lines
1.2 KiB
JSON

{
"name": "wowchemy",
"version": "1.0.0",
"description": "The Page Builder for Hugo",
"author": "George Cushen",
"license": "MIT",
"bugs": {
"url": "https://github.com/wowchemy/wowchemy-hugo-modules/issues"
},
"homepage": "https://wowchemy.com",
"repository": {
"type": "git",
"url": "git+https://github.com/wowchemy/wowchemy-hugo-modules.git"
},
"main": "index.js",
"dependencies": {
"bootstrap": "^4.4.1",
"instant.page": "^5.1.0",
"medium-zoom": "^1.0.6"
},
"devDependencies": {
"eslint": "^7.17.0",
"eslint-config-prettier": "^7.1.0",
"prettier": "2.2.1",
"prettier-plugin-go-template": "0.0.11-beta.4",
"stylelint": "^13.8.0",
"stylelint-config-prettier": "^8.0.2",
"stylelint-config-standard": "^20.0.0",
"stylelint-scss": "^3.18.0"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "yarn run lint:js && yarn run lint:style",
"lint:js": "eslint '*/**/*.{js,ts,tsx}'",
"lint:js:fix": "eslint '*/**/*.{js,ts,tsx}' --fix",
"lint:style": "stylelint '*/**/*.{css,scss}'",
"format": "prettier --write \"*.{css,js,json,md,scss}\" \"./**/*.{css,js,json,md,scss}\"",
"stylelint-conflict-check": "stylelint-config-prettier-check"
}
}