5b3f96c48e
* [ci] release * Update changelogs (#5955) * [ci] release * Wrap astro 2.0 beta logs in `<details>` * Add link to docs upgrade guide * First pass cleaning up 2.0 release notes * mdx changes from Sarah * combine 5584 and 5842 in deno, image, netlify * markdown/remark incl (5684 & 5769) to match mdx * Tweak markdown/remark formatting * Format astro-prism * Format astro-rss * Format create-astro * Format cloudflare * Format lit * Format partytown * Format node * Format preact * Format react * Format solid * Format svelte * Format tailwind * Format vercel * Format vue * Format telemetry * Format webapi * Format scripts * Reinstate h3s for headings Co-authored-by: Ben Holmes <hey@bholmes.dev> * Reformat mdx * astro & markdown/remark: Combine #5679 & #5684 changelogs Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> Co-authored-by: Ben Holmes <hey@bholmes.dev> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Matthew Phillips <matthew@skypack.dev> Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> Co-authored-by: Ben Holmes <hey@bholmes.dev>
75 lines
2 KiB
JSON
75 lines
2 KiB
JSON
{
|
|
"name": "@astrojs/image",
|
|
"description": "Load and transform images in your Astro site.",
|
|
"version": "0.13.0",
|
|
"type": "module",
|
|
"types": "./dist/index.d.ts",
|
|
"author": "withastro",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/withastro/astro.git",
|
|
"directory": "packages/integrations/image"
|
|
},
|
|
"keywords": [
|
|
"astro-integration",
|
|
"astro-component",
|
|
"withastro",
|
|
"image"
|
|
],
|
|
"bugs": "https://github.com/withastro/astro/issues",
|
|
"homepage": "https://docs.astro.build/en/guides/integrations-guide/image/",
|
|
"exports": {
|
|
".": "./dist/index.js",
|
|
"./endpoint": "./dist/endpoint.js",
|
|
"./sharp": "./dist/loaders/sharp.js",
|
|
"./squoosh": "./dist/loaders/squoosh.js",
|
|
"./components": "./components/index.js",
|
|
"./package.json": "./package.json",
|
|
"./client": "./client.d.ts",
|
|
"./dist/*": "./dist/*"
|
|
},
|
|
"files": [
|
|
"components",
|
|
"dist",
|
|
"client.d.ts"
|
|
],
|
|
"scripts": {
|
|
"build": "astro-scripts build \"src/**/*.ts\" && tsc && pnpm run postbuild",
|
|
"build:ci": "astro-scripts build \"src/**/*.ts\" && pnpm run postbuild",
|
|
"postbuild": "astro-scripts copy \"src/**/*.wasm\"",
|
|
"dev": "astro-scripts dev \"src/**/*.ts\"",
|
|
"test": "mocha --exit --timeout 20000 test"
|
|
},
|
|
"dependencies": {
|
|
"@altano/tiny-async-pool": "^1.0.2",
|
|
"http-cache-semantics": "^4.1.0",
|
|
"image-size": "^1.0.2",
|
|
"kleur": "^4.1.5",
|
|
"magic-string": "^0.27.0",
|
|
"mime": "^3.0.0",
|
|
"slash": "^4.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/http-cache-semantics": "^4.0.1",
|
|
"@types/mime": "^2.0.3",
|
|
"@types/sharp": "^0.30.5",
|
|
"astro": "workspace:*",
|
|
"astro-scripts": "workspace:*",
|
|
"chai": "^4.3.6",
|
|
"cheerio": "^1.0.0-rc.11",
|
|
"mocha": "^9.2.2",
|
|
"rollup-plugin-copy": "^3.4.0",
|
|
"sharp": "^0.31.0",
|
|
"vite": "^4.0.3"
|
|
},
|
|
"peerDependencies": {
|
|
"astro": "workspace:^2.0.0",
|
|
"sharp": ">=0.31.0"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"sharp": {
|
|
"optional": true
|
|
}
|
|
}
|
|
}
|