responsive-loader
Version:
A webpack loader for responsive images
87 lines (86 loc) • 2.24 kB
JSON
{
"name": "responsive-loader",
"version": "3.1.2",
"description": "A webpack loader for responsive images",
"main": "lib/cjs.js",
"engines": {
"node": ">= 12.22.1"
},
"scripts": {
"build": "tsc",
"lint": "eslint",
"test:clean": "find test/**/build/ -name '*.jpg' -o -name '*.png' -o -name '*.avif' -o -name '*.webp' -o -name '*.jpeg' -o -name '*.js' | xargs rm -f",
"test": "npm run build && npm run test:clean && webpack --config=./test/jimp/webpack.config.js && webpack --config=./test/sharp/webpack.config.js && jest"
},
"np": {
"yarn": false,
"contents": "lib"
},
"files": [
"lib",
"jimp.js",
"sharp.js"
],
"repository": {
"type": "git",
"url": "git+https://github.com/dazuaz/responsive-loader.git"
},
"keywords": [
"webpack",
"responsive",
"loader",
"srcset"
],
"author": "Jeremy Stucki <jeremy@interactivethings.com>",
"contributors": [
"Daniel Zuloaga <daniel@staticprops.com> (https://staticprops.com/)"
],
"license": "BSD-3-Clause",
"bugs": {
"url": "https://github.com/dazuaz/responsive-loader/issues"
},
"homepage": "https://github.com/dazuaz/responsive-loader",
"peerDependencies": {
"webpack": "^5.73.0"
},
"peerDependenciesMeta": {
"jimp": {
"optional": true
},
"sharp": {
"optional": true
}
},
"dependencies": {
"@types/node": "^18.11.9",
"find-cache-dir": "^3.3.2",
"json5": "^2.2.1",
"loader-utils": "^3.2.1",
"make-dir": "^3.1.0",
"schema-utils": "^4.0.0"
},
"devDependencies": {
"@babel/core": "^7.20.2",
"@babel/preset-env": "^7.20.2",
"@types/find-cache-dir": "^3.2.1",
"@types/jest": "^29.2.3",
"@types/json-schema": "^7.0.11",
"@types/sharp": "^0.31.0",
"@types/webpack": "^5.28.0",
"@typescript-eslint/eslint-plugin": "^5.43.0",
"@typescript-eslint/parser": "^5.43.0",
"babel-jest": "^29.3.1",
"eslint": "^8.27.0",
"jest": "^29.3.1",
"jimp": "^0.16.2",
"prettier": "^2.7.1",
"prettier-eslint": "^15.0.1",
"sharp": "^0.31.2",
"typescript": "^4.9.3",
"webpack": "^5.75.0",
"webpack-cli": "^5.0.0"
},
"jest": {
"testEnvironment": "node"
}
}