optically-size-images
Version:
Normalize the size of a group of images, optically, based on their aspect ratios
81 lines (80 loc) • 2.37 kB
JSON
{
"name": "optically-size-images",
"files": [
"dist"
],
"engines": {
"node": ">=16 <23",
"npm": ">=8 <11"
},
"version": "1.0.0",
"description": "Normalize the size of a group of images, optically, based on their aspect ratios",
"exports": {
".": {
"types": "./dist/types/lib/optically-size-images/index.d.ts",
"default": "./dist/lib/index.js"
},
"./react": {
"types": "./dist/types/react/index.d.ts",
"default": "./dist/react/index.js"
}
},
"main": "./dist/lib/index.js",
"types": "./dist/types/lib/optically-size-images/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/kni-labs/optically-size-images.git"
},
"keywords": [
"logos",
"sizing",
"aspect",
"ratio"
],
"author": "Daniel Box",
"license": "ISC",
"bugs": {
"url": "https://github.com/kni-labs/optically-size-images/issues"
},
"homepage": "https://github.com/kni-labs/optically-size-images#readme",
"devDependencies": {
"@types/node": "22.16.3",
"@types/react": "19.1.8",
"@types/react-dom": "19.1.6",
"@typescript-eslint/eslint-plugin": "5.57.1",
"@typescript-eslint/parser": "5.57.1",
"@typescript-eslint/typescript-estree": "5.57.1",
"@vitejs/plugin-react": "4.6.0",
"eslint": "8.37.0",
"eslint-config-prettier": "8.8.0",
"eslint-config-standard-with-typescript": "34.0.1",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-jsx-a11y": "6.10.2",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-react": "7.37.5",
"eslint-plugin-react-hooks": "5.2.0",
"glob": "10.4.5",
"husky": "9.1.7",
"prettier": "2.8.7",
"react": "19.1.0",
"react-dom": "19.1.0",
"typescript": "5.8.3",
"vite": "7.0.4"
},
"scripts": {
"build": "npm run clean && npm run compile",
"clean": "npm run test && npm run prettier",
"compile": "vite build",
"dev": "rm -rf node_modules/.vite && vite dev",
"prepublishOnly": "npm i && npm run build",
"prepare": "husky && git config core.hooksPath .husky/_",
"prettier": "npx prettier --write .",
"preview": "vite preview",
"test": "npx eslint \"./src/**/*.ts\" --max-warnings=0 --fix"
},
"peerDependencies": {
"react": ">=17.0.0 <20.0.0",
"react-dom": ">=17.0.0 <20.0.0"
}
}